1 #ifndef __DW_FLTKPLATFORM_HH__
2 #define __DW_FLTKPLATFORM_HH__
4 #ifndef __INCLUDED_FROM_DW_FLTK_CORE_HH__
5 # error Do not include this file directly, use "fltkcore.hh" instead.
20 FontFamily (Fl_Font fontNormal, Fl_Font fontBold,
21 Fl_Font fontItalic, Fl_Font fontBoldItalic);
22 void set (Fl_Font,
int attrs);
23 Fl_Font
get (
int attrs);
43 static Fl_Font
get (
const char *
name,
int attrs);
114 const char *placeholder);
117 const char *placeholder);
122 *groupedWith,
bool activated);
159 int nextGlyph (
const char *text,
int idx);
160 int prevGlyph (
const char *text,
int idx);
188 #endif // __DW_FLTKPLATFORM_HH__
virtual bool usesFltkWidgets()=0
const char * name
Definition: style.hh:683
Fl_Font font
Definition: fltkplatform.hh:39
virtual void addFltkWidget(Fl_Widget *widget, core::Allocation *allocation)
Definition: fltkplatform.cc:364
A factory for the common resource.
Definition: ui.hh:580
Typed version of container::untyped::HashTable.
Definition: container.hh:514
Definition: fltkplatform.hh:47
dw::core::Shape implemtation for simple rectangles.
Definition: types.hh:69
SelectionMode
Definition: ui.hh:481
The central class for managing and drawing a widget tree.
Definition: layout.hh:16
This is the base class for many other classes, which defines very common virtual methods.
Definition: object.hh:24
static lout::container::typed::HashTable< lout::object::ConstString, FontFamily > * systemFonts
Definition: fltkplatform.hh:29
static FltkColor * create(int color)
Definition: fltkplatform.cc:242
Type
Definition: imgbuf.hh:164
~FltkColor()
Definition: fltkplatform.cc:237
int colors[SHADING_NUM]
Definition: fltkplatform.hh:56
Represents the allocation, i.e. actual position and size of a dw::core::Widget.
Definition: types.hh:163
Definition: fltkplatform.hh:15
Fl_Font font[4]
Definition: fltkplatform.hh:18
static void initSystemFonts()
Definition: fltkplatform.cc:140
FontFamily(Fl_Font fontNormal, Fl_Font fontBold, Fl_Font fontItalic, Fl_Font fontBoldItalic)
Definition: fltkplatform.cc:63
int color
Definition: style.hh:733
This interface adds some more methods for all flkt-based views.
Definition: fltkplatform.hh:78
virtual void removeFltkWidget(Fl_Widget *widget)
Definition: fltkplatform.cc:369
static FltkFont * create(core::style::FontAttrs *attrs)
Definition: fltkplatform.cc:205
FltkFont(core::style::FontAttrs *attrs)
Definition: fltkplatform.cc:97
Definition: fltkplatform.hh:17
virtual void drawFltkWidget(Fl_Widget *widget, core::Rectangle *area)
Definition: fltkplatform.cc:378
~FltkFont()
Definition: fltkplatform.cc:128
void set(Fl_Font, int attrs)
Definition: fltkplatform.cc:72
The platform independent interface for image buffers.
Definition: imgbuf.hh:161
An object::Object wrapper for constant strings (char*).
Definition: object.hh:162
static FontFamily standardFontFamily
Definition: fltkplatform.hh:26
Dw is in this namespace, or sub namespaces of this one.
Definition: alignedtablecell.cc:28
An interface to encapsulate platform dependent drawing.
Definition: view.hh:16
virtual void allocateFltkWidget(Fl_Widget *widget, core::Allocation *allocation)
Definition: fltkplatform.cc:373
static lout::container::typed::HashTable< dw::core::style::FontAttrs, FltkFont > * fontsTable
Definition: fltkplatform.hh:31
static lout::container::typed::HashTable< dw::core::style::ColorAttrs, FltkColor > * colorsTable
Definition: fltkplatform.hh:50
Typed version of container::untyped::List.
Definition: container.hh:463
static bool fontExists(const char *name)
Definition: fltkplatform.cc:177
FltkColor(int color)
Definition: fltkplatform.cc:223
Definition: fltkui.hh:187