Dillo v3.1.1-111-gd4f56d0d
|
The core of Dw is defined in this namespace. More...
Namespaces | |
namespace | style |
Anything related to Dillo Widget styles is defined here. | |
namespace | ui |
Anything related to embedded UI widgets is defined here. | |
Classes | |
struct | Allocation |
Represents the allocation, i.e. More... | |
class | CharIterator |
class | Circle |
dw::core::Shape implemtation for simple circles. More... | |
struct | Content |
class | DeepIterator |
A stack of iterators, to iterate recursively through a widget tree. More... | |
class | DrawingContext |
Set at the top when drawing. More... | |
class | EmptyIterator |
This implementation of dw::core::Iterator can be used by widgets with no contents. More... | |
class | Event |
Base class for all events. More... | |
class | EventButton |
Represents a button press or release event. More... | |
class | EventCrossing |
Represents a enter or leave notify event. More... | |
class | EventMotion |
Represents a mouse motion event. More... | |
struct | Extremes |
class | FindtextState |
class | GettingWidgetAtPointContext |
Set at the top when getting the widget at the point. More... | |
class | Imgbuf |
The platform independent interface for image buffers. More... | |
class | ImgRenderer |
... More... | |
class | ImgRendererDist |
Implementation of ImgRenderer, which distributes all calls to a set of other implementations of ImgRenderer. More... | |
class | Iterator |
Iterators are used to iterate through the contents of a widget. More... | |
class | Layout |
The central class for managing and drawing a widget tree. More... | |
class | MouseEvent |
Base class for all mouse events. More... | |
class | MousePositionEvent |
Base class for all mouse events related to a specific position. More... | |
class | Platform |
An interface to encapsulate some platform dependencies. More... | |
struct | Point |
class | Polygon |
dw::core::Shape implemtation for polygons. More... | |
class | Rectangle |
dw::core::Shape implemtation for simple rectangles. More... | |
class | Region |
Implementation for a point set. More... | |
struct | Requisition |
class | SelectionState |
This class handles selections, as well as activation of links, which is closely related. More... | |
class | Shape |
Abstract interface for different shapes. More... | |
class | SizeParams |
Hold arguments passed to dw::core::Widget::sizeRequest and dw::core::Widget::getExtremes, as described in Size requisitions depending on positions. More... | |
class | StackingContextMgr |
See Handling stacking contexts. More... | |
class | StackingProcessingContext |
Base class for dw::core::DrawingContext and dw::core::GettingWidgetAtPointContext. More... | |
class | TextIterator |
This implementation of dw::core::Iterator can be used by widgets having one text word as contents. More... | |
class | View |
An interface to encapsulate platform dependent drawing. More... | |
class | Widget |
The base class of all dillo widgets. More... | |
class | WidgetReference |
Typedefs | |
typedef unsigned char | byte |
Enumerations | |
enum | ButtonState { SHIFT_MASK = 1 << 0 , CONTROL_MASK = 1 << 1 , META_MASK = 1 << 2 , BUTTON1_MASK = 1 << 3 , BUTTON2_MASK = 1 << 4 , BUTTON3_MASK = 1 << 5 } |
Platform independent representation. More... | |
enum | HPosition { HPOS_LEFT , HPOS_CENTER , HPOS_RIGHT , HPOS_INTO_VIEW , HPOS_NO_CHANGE } |
enum | VPosition { VPOS_TOP , VPOS_CENTER , VPOS_BOTTOM , VPOS_INTO_VIEW , VPOS_NO_CHANGE } |
enum | ScrollCommand { SCREEN_UP_CMD , SCREEN_DOWN_CMD , SCREEN_LEFT_CMD , SCREEN_RIGHT_CMD , LINE_UP_CMD , LINE_DOWN_CMD , LEFT_CMD , RIGHT_CMD , TOP_CMD , BOTTOM_CMD , NONE_CMD } |
enum | HighlightLayer { HIGHLIGHT_SELECTION , HIGHLIGHT_FINDTEXT , HIGHLIGHT_NUM_LAYERS } |
enum | { PASS_INCREASE = 0 , PASS_DECREASE = 1 , PASS_KEEP = 2 } |
Functions | |
void | freeall () |
void | splitHeightPreserveAscent (int height, int *ascent, int *descent) |
void | splitHeightPreserveDescent (int height, int *ascent, int *descent) |
The core of Dw is defined in this namespace.
typedef unsigned char dw::core::byte |
anonymous enum |
enum dw::core::HPosition |
enum dw::core::VPosition |
void dw::core::splitHeightPreserveAscent | ( | int | height, |
int * | ascent, | ||
int * | descent | ||
) |
Definition at line 2244 of file widget.cc.
References DBG_OBJ_ENTER_S, and DBG_OBJ_LEAVE_VAL_S.
Referenced by dw::oof::OOFPosAbsLikeMgr::calcVPosAndSizeChildOfChild(), dw::Textblock::sizeRequestImpl(), dw::SimpleContainer::sizeRequestSimpl(), and dw::core::ui::Embed::sizeRequestSimpl().
void dw::core::splitHeightPreserveDescent | ( | int | height, |
int * | ascent, | ||
int * | descent | ||
) |
Definition at line 2258 of file widget.cc.
References DBG_OBJ_ENTER_S, and DBG_OBJ_LEAVE_VAL_S.
Referenced by dw::Table::actuallyCalcCellSizes(), dw::Image::sizeRequestSimpl(), and dw::Table::sizeRequestSimpl().