]> git.saurik.com Git - wxWidgets.git/blob - utils/HelpGen/src/markup.cpp
wxWindowMSW now eats EVT_CHAR if the key was handled in EVT_KEY_DOWN
[wxWidgets.git] / utils / HelpGen / src / markup.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: No names yet.
3 // Purpose: Contrib. demo
4 // Author: Aleksandras Gluchovas
5 // Modified by:
6 // Created: 22/09/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Aleskandars Gluchovas
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // For compilers that support precompilation, includes "wx/wx.h".
13 #include "wx/wxprec.h"
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #ifndef WX_PRECOMP
20 #include "wx/wx.h"
21 #endif
22
23 #include "markup.h"
24
25 static TagStructT htmlTags[] =
26 {
27 { "<b>","</b>" }, // 0
28 { "<i>","</i>" }, // 1
29 { "<pre>","</pre>" }, // 2
30 { "<font color=\"#000000\">","</font>" }, // 3
31 { "<font color=\"#8F0000\">","</font>" }, // 4
32 { "<font color=\"#008F00\">","</font>" }, // 5
33 { "<font color=\"#0000CF\">","</font>" }, // 6
34 { "<p>","</p>" }, // 7
35 { "<br>","" }, // 8
36 { "<h1>","</h1>" }, // 9
37 { "<h2>","</h2>" }, // 10
38 { "<h3>","</h3>" }, // 11
39 { "<ul>","</ul>" }, // 12
40 { "<li>","</li>" }, // 13
41 };
42
43 MarkupTagsT get_HTML_markup_tags()
44 {
45 return htmlTags;
46 }