]> git.saurik.com Git - wxWidgets.git/blob - interface/wx/html/htmldefs.h
put both versions of wxGetMousePosition in one place so they can use one implementation
[wxWidgets.git] / interface / wx / html / htmldefs.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: html/htmldefs.h
3 // Purpose: constants for wxhtml library
4 // Author: wxWidgets team
5 // RCS-ID: $Id$
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9
10 //--------------------------------------------------------------------------------
11 // ALIGNMENTS
12 // Describes alignment of text etc. in containers
13 //--------------------------------------------------------------------------------
14
15 #define wxHTML_ALIGN_LEFT 0x0000
16 #define wxHTML_ALIGN_RIGHT 0x0002
17 #define wxHTML_ALIGN_JUSTIFY 0x0010
18
19 #define wxHTML_ALIGN_TOP 0x0004
20 #define wxHTML_ALIGN_BOTTOM 0x0008
21
22 #define wxHTML_ALIGN_CENTER 0x0001
23
24
25
26 //--------------------------------------------------------------------------------
27 // COLOR MODES
28 // Used by wxHtmlColourCell to determine clr of what is changing
29 //--------------------------------------------------------------------------------
30
31 #define wxHTML_CLR_FOREGROUND 0x0001
32 #define wxHTML_CLR_BACKGROUND 0x0002
33 #define wxHTML_CLR_TRANSPARENT_BACKGROUND 0x0004
34
35
36
37 //--------------------------------------------------------------------------------
38 // UNITS
39 // Used to specify units
40 //--------------------------------------------------------------------------------
41
42 #define wxHTML_UNITS_PIXELS 0x0001
43 #define wxHTML_UNITS_PERCENT 0x0002
44
45
46
47 //--------------------------------------------------------------------------------
48 // INDENTS
49 // Used to specify indetation relatives
50 //--------------------------------------------------------------------------------
51
52 #define wxHTML_INDENT_LEFT 0x0010
53 #define wxHTML_INDENT_RIGHT 0x0020
54 #define wxHTML_INDENT_TOP 0x0040
55 #define wxHTML_INDENT_BOTTOM 0x0080
56
57 #define wxHTML_INDENT_HORIZONTAL (wxHTML_INDENT_LEFT | wxHTML_INDENT_RIGHT)
58 #define wxHTML_INDENT_VERTICAL (wxHTML_INDENT_TOP | wxHTML_INDENT_BOTTOM)
59 #define wxHTML_INDENT_ALL (wxHTML_INDENT_VERTICAL | wxHTML_INDENT_HORIZONTAL)
60
61
62
63
64 //--------------------------------------------------------------------------------
65 // FIND CONDITIONS
66 // Identifiers of wxHtmlCell's Find() conditions
67 //--------------------------------------------------------------------------------
68
69 #define wxHTML_COND_ISANCHOR 1
70 // Finds the anchor of 'param' name (pointer to wxString).
71
72 #define wxHTML_COND_ISIMAGEMAP 2
73 // Finds imagemap of 'param' name (pointer to wxString).
74 // (used exclusively by m_image.cpp)
75
76 #define wxHTML_COND_USER 10000
77 // User-defined conditions should start from this number
78
79