Dillo v3.1.1-14-g8f67d6e0
Loading...
Searching...
No Matches
dw::core Namespace Reference

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
}
 
enum  HighlightLayer { HIGHLIGHT_SELECTION , HIGHLIGHT_FINDTEXT , HIGHLIGHT_NUM_LAYERS }
 

Functions

void freeall ()
 
void splitHeightPreserveAscent (int height, int *ascent, int *descent)
 
void splitHeightPreserveDescent (int height, int *ascent, int *descent)
 

Detailed Description

The core of Dw is defined in this namespace.

See also
Dillo Widget Overview

Typedef Documentation

◆ byte

typedef unsigned char dw::core::byte

Definition at line 25 of file core.hh.

Enumeration Type Documentation

◆ ButtonState

Platform independent representation.

Enumerator
SHIFT_MASK 
CONTROL_MASK 
META_MASK 
BUTTON1_MASK 
BUTTON2_MASK 
BUTTON3_MASK 

Definition at line 14 of file events.hh.

◆ HighlightLayer

Enumerator
HIGHLIGHT_SELECTION 
HIGHLIGHT_FINDTEXT 
HIGHLIGHT_NUM_LAYERS 

Definition at line 42 of file types.hh.

◆ HPosition

Enumerator
HPOS_LEFT 
HPOS_CENTER 
HPOS_RIGHT 
HPOS_INTO_VIEW 
HPOS_NO_CHANGE 

Definition at line 15 of file types.hh.

◆ ScrollCommand

Enumerator
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 

Definition at line 35 of file types.hh.

◆ VPosition

Enumerator
VPOS_TOP 
VPOS_CENTER 
VPOS_BOTTOM 
VPOS_INTO_VIEW 
VPOS_NO_CHANGE 

Definition at line 25 of file types.hh.

Function Documentation

◆ freeall()

void dw::core::freeall ( )
inline

Definition at line 34 of file core.hh.

Referenced by main().

◆ splitHeightPreserveAscent()

void dw::core::splitHeightPreserveAscent ( int  height,
int *  ascent,
int *  descent 
)

◆ splitHeightPreserveDescent()

void dw::core::splitHeightPreserveDescent ( int  height,
int *  ascent,
int *  descent 
)