annotate dw/fltkplatform.hh @ 2048:5060d415a85a

clickable menu items (even those introducing submenus) MUST have callbacks I clicked on the "Panel size" item itself instead of any of the options in its submenu, and: Segfault!
author corvid <corvid@lavabit.com>
date Thu, 26 May 2011 02:51:18 +0000
parents d80adb974879
children 5660c1916c58
rev   line source
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
1 #ifndef __DW_FLTKPLATFORM_HH__
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
2 #define __DW_FLTKPLATFORM_HH__
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
3
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
4 #ifndef __INCLUDED_FROM_DW_FLTK_CORE_HH__
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
5 # error Do not include this file directly, use "fltkcore.hh" instead.
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
6 #endif
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
7
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
8 namespace dw {
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
9
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
10 /**
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
11 * \brief This namespace contains FLTK implementations of Dw interfaces.
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
12 */
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
13 namespace fltk {
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
14
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
15 class FltkFont: public core::style::Font
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
16 {
1883
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
17 class FontFamily: public lout::object::Object {
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
18 Fl_Font font[4];
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
19 public:
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
20 FontFamily ();
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
21 void set (Fl_Font, int attrs);
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
22 Fl_Font get (int attrs);
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
23 };
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
24
1884
3ce2150fae16 implement FltkPlatform::fontExists() + other font handling improvements
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1883
diff changeset
25 static FontFamily standardFontFamily;
3ce2150fae16 implement FltkPlatform::fontExists() + other font handling improvements
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1883
diff changeset
26
1878
d9895c8b8247 some font handling
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1830
diff changeset
27 static lout::container::typed::HashTable <lout::object::ConstString,
1883
7869218e7309 more font selection stuff
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1878
diff changeset
28 FontFamily> *systemFonts;
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
29 static lout::container::typed::HashTable <dw::core::style::FontAttrs,
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
30 FltkFont> *fontsTable;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
31
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
32 FltkFont (core::style::FontAttrs *attrs);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
33 ~FltkFont ();
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
34
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
35 public:
1830
b2ae84e167d1 commenting-out in fltkplatform
corvid <corvid@lavabit.com>
parents: 1805
diff changeset
36 Fl_Font font;
930
b277eed3119c whitespace cleanup: 's/ +$//g'
Jorge Arellano Cid <jcid@dillo.org>
parents: 903
diff changeset
37
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
38 static FltkFont *create (core::style::FontAttrs *attrs);
1884
3ce2150fae16 implement FltkPlatform::fontExists() + other font handling improvements
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1883
diff changeset
39 static bool fontExists (const char *name);
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
40 };
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
41
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
42
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
43 class FltkColor: public core::style::Color
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
44 {
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
45 static lout::container::typed::HashTable <dw::core::style::ColorAttrs,
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
46 FltkColor> *colorsTable;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
47
677
b6ef23efdac7 always use shaded colors
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 572
diff changeset
48 FltkColor (int color);
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
49 ~FltkColor ();
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
50
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
51 public:
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
52 int colors[SHADING_NUM];
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
53
677
b6ef23efdac7 always use shaded colors
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 572
diff changeset
54 static FltkColor *create(int color);
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
55 };
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
56
1340
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
57 class FltkTooltip: public core::style::Tooltip
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
58 {
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
59 private:
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
60 FltkTooltip (const char *text);
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
61 ~FltkTooltip ();
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
62 public:
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
63 static FltkTooltip *create(const char *text);
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
64 void onEnter();
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
65 void onLeave();
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
66 void onMotion();
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
67 };
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
68
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
69
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
70 /**
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
71 * \brief This interface adds some more methods for all flkt-based views.
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
72 */
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
73 class FltkView: public core::View
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
74 {
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
75 public:
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
76 virtual bool usesFltkWidgets () = 0;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
77
1805
808f25a92644 some fltkplatform
corvid <corvid@lavabit.com>
parents: 1658
diff changeset
78 virtual void addFltkWidget (Fl_Widget *widget,
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
79 core::Allocation *allocation);
1805
808f25a92644 some fltkplatform
corvid <corvid@lavabit.com>
parents: 1658
diff changeset
80 virtual void removeFltkWidget (Fl_Widget *widget);
808f25a92644 some fltkplatform
corvid <corvid@lavabit.com>
parents: 1658
diff changeset
81 virtual void allocateFltkWidget (Fl_Widget *widget,
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
82 core::Allocation *allocation);
1805
808f25a92644 some fltkplatform
corvid <corvid@lavabit.com>
parents: 1658
diff changeset
83 virtual void drawFltkWidget (Fl_Widget *widget, core::Rectangle *area);
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
84 };
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
85
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
86
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
87 class FltkPlatform: public core::Platform
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
88 {
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
89 private:
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
90 class FltkResourceFactory: public core::ui::ResourceFactory
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
91 {
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
92 private:
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
93 FltkPlatform *platform;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
94
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
95 public:
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
96 inline void setPlatform (FltkPlatform *platform) {
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
97 this->platform = platform; }
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
98
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
99 core::ui::LabelButtonResource *createLabelButtonResource (const char
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
100 *label);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
101 core::ui::ComplexButtonResource *
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
102 createComplexButtonResource (core::Widget *widget, bool relief);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
103 core::ui::ListResource *
903
4d76ce512830 Implemented size for SELECT lists
corvid <corvid@lavabit.com>
parents: 749
diff changeset
104 createListResource (core::ui::ListResource::SelectionMode selectionMode,
4d76ce512830 Implemented size for SELECT lists
corvid <corvid@lavabit.com>
parents: 749
diff changeset
105 int rows);
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
106 core::ui::OptionMenuResource *createOptionMenuResource ();
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
107 core::ui::EntryResource *createEntryResource (int maxLength,
484
cdfdb006f193 Added a right-click menu to the form submit button (allows to show hiddens)
Jorge Arellano Cid <jcid@dillo.org>
parents: 347
diff changeset
108 bool password,
cdfdb006f193 Added a right-click menu to the form submit button (allows to show hiddens)
Jorge Arellano Cid <jcid@dillo.org>
parents: 347
diff changeset
109 const char *label);
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
110 core::ui::MultiLineTextResource *createMultiLineTextResource (int cols,
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
111 int rows);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
112 core::ui::CheckButtonResource *createCheckButtonResource (bool
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
113 activated);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
114 core::ui::RadioButtonResource *
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
115 createRadioButtonResource (core::ui::RadioButtonResource
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
116 *groupedWith, bool activated);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
117 };
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
118
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
119 FltkResourceFactory resourceFactory;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
120
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
121 class IdleFunc: public lout::object::Object
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
122 {
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
123 public:
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
124 int id;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
125 void (core::Layout::*func) ();
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
126 };
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
127
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
128 core::Layout *layout;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
129
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
130 lout::container::typed::List <IdleFunc> *idleQueue;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
131 bool idleFuncRunning;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
132 int idleFuncId;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
133
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
134 static void generalStaticIdle(void *data);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
135 void generalIdle();
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
136
1348
35218da92a18 remove multiple views capability from dw
corvid <corvid@lavabit.com>
parents: 1346
diff changeset
137 FltkView *view;
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
138 lout::container::typed::List <ui::FltkResource> *resources;
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
139
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
140 public:
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
141 FltkPlatform ();
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
142 ~FltkPlatform ();
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
143
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
144 void setLayout (core::Layout *layout);
930
b277eed3119c whitespace cleanup: 's/ +$//g'
Jorge Arellano Cid <jcid@dillo.org>
parents: 903
diff changeset
145
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
146 void attachView (core::View *view);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
147
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
148 void detachView (core::View *view);
930
b277eed3119c whitespace cleanup: 's/ +$//g'
Jorge Arellano Cid <jcid@dillo.org>
parents: 903
diff changeset
149
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
150 int textWidth (core::style::Font *font, const char *text, int len);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
151 int nextGlyph (const char *text, int idx);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
152 int prevGlyph (const char *text, int idx);
572
2a712706829a add dpiX () / dpiY () methods to Platform and Layout
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 347
diff changeset
153 float dpiX ();
2a712706829a add dpiX () / dpiY () methods to Platform and Layout
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 347
diff changeset
154 float dpiY ();
930
b277eed3119c whitespace cleanup: 's/ +$//g'
Jorge Arellano Cid <jcid@dillo.org>
parents: 903
diff changeset
155
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
156 int addIdle (void (core::Layout::*func) ());
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
157 void removeIdle (int idleId);
930
b277eed3119c whitespace cleanup: 's/ +$//g'
Jorge Arellano Cid <jcid@dillo.org>
parents: 903
diff changeset
158
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
159 core::style::Font *createFont (core::style::FontAttrs *attrs,
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
160 bool tryEverything);
1436
d5536dc7114a properly handle comma separated lists of font names in CSS
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1348
diff changeset
161 bool fontExists (const char *name);
677
b6ef23efdac7 always use shaded colors
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 572
diff changeset
162 core::style::Color *createColor (int color);
1340
37f26396a31b some tooltips
corvid <corvid@lavabit.com>
parents: 930
diff changeset
163 core::style::Tooltip *createTooltip (const char *text);
930
b277eed3119c whitespace cleanup: 's/ +$//g'
Jorge Arellano Cid <jcid@dillo.org>
parents: 903
diff changeset
164
347
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
165 core::Imgbuf *createImgbuf (core::Imgbuf::Type type, int width, int height);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
166
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
167 void copySelection(const char *text);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
168
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
169 core::ui::ResourceFactory *getResourceFactory ();
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
170
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
171 void attachResource (ui::FltkResource *resource);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
172 void detachResource (ui::FltkResource *resource);
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
173 };
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
174
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
175 } // namespace fltk
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
176 } // namespace dw
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
177
e5955ab8dafb - Moved the dw2 tree into dillo2's tree.
jcid
parents:
diff changeset
178 #endif // __DW_FLTKPLATFORM_HH__