21#ifndef __DW_FLTKPLATFORM_HH__
22#define __DW_FLTKPLATFORM_HH__
24#ifndef __INCLUDED_FROM_DW_FLTK_CORE_HH__
25# error Do not include this file directly, use "fltkcore.hh" instead.
40 FontFamily (Fl_Font fontNormal, Fl_Font fontBold,
41 Fl_Font fontItalic, Fl_Font fontBoldItalic);
42 void set (Fl_Font,
int attrs);
43 Fl_Font
get (
int attrs);
63 static Fl_Font
get (
const char *
name,
int attrs);
134 const char *placeholder);
137 const char *placeholder);
142 *groupedWith,
bool activated);
164 lout::container::typed::List <ui::FltkResource> *
resources;
179 int nextGlyph (
const char *text,
int idx);
180 int prevGlyph (
const char *text,
int idx);
The platform independent interface for image buffers.
The central class for managing and drawing a widget tree.
dw::core::Shape implementation for simple rectangles.
An interface to encapsulate platform dependent drawing.
A factory for the common resource.
static FltkColor * create(int color)
static lout::container::typed::HashTable< dw::core::style::ColorAttrs, FltkColor > * colorsTable
void set(Fl_Font, int attrs)
static FontFamily standardFontFamily
static bool fontExists(const char *name)
static FltkFont * create(core::style::FontAttrs *attrs)
static lout::container::typed::HashTable< lout::object::ConstString, FontFamily > * systemFonts
static Fl_Font get(const char *name, int attrs)
static void initSystemFonts()
static lout::container::typed::HashTable< dw::core::style::FontAttrs, FltkFont > * fontsTable
This interface adds some more methods for all flkt-based views.
virtual void drawFltkWidget(Fl_Widget *widget, core::Rectangle *area)
virtual void removeFltkWidget(Fl_Widget *widget)
virtual void addFltkWidget(Fl_Widget *widget, core::Allocation *allocation)
virtual void allocateFltkWidget(Fl_Widget *widget, core::Allocation *allocation)
virtual bool usesFltkWidgets()=0
Typed version of container::untyped::HashTable.
An object::Object wrapper for constant strings (char*).
This is the base class for many other classes, which defines very common virtual methods.
Dw is in this namespace, or sub namespaces of this one.
Represents the allocation, i.e.