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);
144 lout::container::typed::List <ui::FltkResource> *
resources;
159 int nextGlyph (
const char *text,
int idx);
160 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 implemtation 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.