dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

dw::core::Layout Class Reference

The central class for managing and drawing a widget tree. More...

#include <layout.hh>

Inheritance diagram for dw::core::Layout:
[legend]
Collaboration diagram for dw::core::Layout:
[legend]

Classes

class  Anchor
 
class  Emitter
 
class  LayoutImgRenderer
 
class  LinkEmitter
 
class  LinkReceiver
 
class  Receiver
 Receiver interface different signals. More...
 

Public Member Functions

 Layout (Platform *platform)
 
 ~Layout ()
 
void connectLink (LinkReceiver *receiver)
 
bool emitLinkEnter (Widget *w, int link, int img, int x, int y)
 
bool emitLinkPress (Widget *w, int link, int img, int x, int y, EventButton *event)
 
bool emitLinkRelease (Widget *w, int link, int img, int x, int y, EventButton *event)
 
bool emitLinkClick (Widget *w, int link, int img, int x, int y, EventButton *event)
 
void addWidget (Widget *widget)
 
void setWidget (Widget *widget)
 
void attachView (View *view)
 Attach a view to the layout. More...
 
void detachView (View *view)
 
bool getUsesViewport ()
 
int getWidthViewport ()
 
int getHeightViewport ()
 
int getScrollPosX ()
 
int getScrollPosY ()
 
void scrollTo (HPosition hpos, VPosition vpos, int x, int y, int width, int height)
 Scrolls all viewports, so that the region [x, y, width, height] is seen, according to hpos and vpos. More...
 
void scroll (ScrollCommand)
 
void setAnchor (const char *anchor)
 
void expose (View *view, Rectangle *area)
 
bool buttonPress (View *view, int numPressed, int x, int y, ButtonState state, int button)
 This function is called by a view, to delegate a button press event. More...
 
bool buttonRelease (View *view, int numPressed, int x, int y, ButtonState state, int button)
 This function is called by a view, to delegate a button press event. More...
 
bool motionNotify (View *view, int x, int y, ButtonState state)
 This function is called by a view, to delegate a motion notify event. More...
 
void enterNotify (View *view, int x, int y, ButtonState state)
 This function is called by a view, to delegate a enter notify event. More...
 
void leaveNotify (View *view, ButtonState state)
 This function is called by a view, to delegate a leave notify event. More...
 
void scrollPosChanged (View *view, int x, int y)
 
void viewportSizeChanged (View *view, int width, int height)
 
PlatformgetPlatform ()
 
int textWidth (style::Font *font, const char *text, int len)
 
char * textToUpper (const char *text, int len)
 
char * textToLower (const char *text, int len)
 
int nextGlyph (const char *text, int idx)
 
int prevGlyph (const char *text, int idx)
 
float dpiX ()
 
float dpiY ()
 
style::FontcreateFont (style::FontAttrs *attrs, bool tryEverything)
 
bool fontExists (const char *name)
 
style::ColorcreateColor (int color)
 
style::TooltipcreateTooltip (const char *text)
 
void cancelTooltip ()
 
ImgbufcreateImgbuf (Imgbuf::Type type, int width, int height, double gamma)
 
void copySelection (const char *text)
 
ui::ResourceFactorygetResourceFactory ()
 
void connect (Receiver *receiver)
 
FindtextState::Result search (const char *str, bool caseSens, int backwards)
 See dw::core::FindtextState::search. More...
 
void resetSearch ()
 See dw::core::FindtextState::resetSearch. More...
 
void setBgColor (style::Color *color)
 
void setBgImage (style::StyleImage *bgImage, style::BackgroundRepeat bgRepeat, style::BackgroundAttachment bgAttachment, style::Length bgPositionX, style::Length bgPositionY)
 
style::ColorgetBgColor ()
 
style::StyleImagegetBgImage ()
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More...
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
virtual int hashValue ()
 Return a hash value for the object. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Public Attributes

LinkEmitter linkEmitter
 
lout::misc::ZoneAllocatortextZone
 

Private Types

enum  ButtonEventType { BUTTON_PRESS, BUTTON_RELEASE, MOTION_NOTIFY }
 

Private Member Functions

WidgetgetWidgetAtPoint (int x, int y)
 
void moveToWidget (Widget *newWidgetAtPoint, ButtonState state)
 
void moveToWidgetAtPoint (int x, int y, ButtonState state)
 Emit the necessary crossing events, when the mouse pointer has moved to position (x, );. More...
 
void moveOutOfView (ButtonState state)
 Emit the necessary crossing events, when the mouse pointer has moved out of the view. More...
 
bool processMouseEvent (MousePositionEvent *event, ButtonEventType type)
 Common processing of press, release and motion events. More...
 
bool buttonEvent (ButtonEventType type, View *view, int numPressed, int x, int y, ButtonState state, int button)
 
void resizeIdle ()
 
void setSizeHints ()
 
void draw (View *view, Rectangle *area)
 
void scrollTo0 (HPosition hpos, VPosition vpos, int x, int y, int width, int height, bool scrollingInterrupted)
 
void scrollIdle ()
 
void adjustScrollPos ()
 
int currHScrollbarThickness ()
 
int currVScrollbarThickness ()
 
void updateAnchor ()
 
char * addAnchor (Widget *widget, const char *name)
 
char * addAnchor (Widget *widget, const char *name, int y)
 
void changeAnchor (Widget *widget, char *name, int y)
 
void removeAnchor (Widget *widget, char *name)
 
void setCursor (style::Cursor cursor)
 
void updateCursor ()
 
void queueDraw (int x, int y, int width, int height)
 
void queueDrawExcept (int x, int y, int width, int height, int ex, int ey, int ewidth, int eheight)
 
void queueResize ()
 
void removeWidget ()
 

Static Private Member Functions

static bool calcScrollInto (int targetValue, int requestedSize, int *value, int viewportSize)
 

Private Attributes

LayoutImgRendererlayoutImgRenderer
 
Emitter emitter
 
Platformplatform
 
Viewview
 
WidgettopLevel
 
WidgetwidgetAtPoint
 
style::ColorbgColor
 
style::StyleImagebgImage
 
style::BackgroundRepeat bgRepeat
 
style::BackgroundAttachment bgAttachment
 
style::Length bgPositionX
 
style::Length bgPositionY
 
style::Cursor cursor
 
int canvasWidth
 
int canvasAscent
 
int canvasDescent
 
bool usesViewport
 
bool drawAfterScrollReq
 
int scrollX
 
int scrollY
 
int viewportWidth
 
int viewportHeight
 
bool canvasHeightGreater
 
int hScrollbarThickness
 
int vScrollbarThickness
 
HPosition scrollTargetHpos
 
VPosition scrollTargetVpos
 
int scrollTargetX
 
int scrollTargetY
 
int scrollTargetWidth
 
int scrollTargetHeight
 
char * requestedAnchor
 
int scrollIdleId
 
int resizeIdleId
 
bool scrollIdleNotInterrupted
 
lout::container::typed::HashTable< lout::object::String, Anchor > * anchorsTable
 
SelectionState selectionState
 
FindtextState findtextState
 

Friends

class Widget
 

Detailed Description

The central class for managing and drawing a widget tree.

See also
Dillo Widget Overview, Layout and Widgets, Layout and Views

Definition at line 16 of file layout.hh.

Member Enumeration Documentation

◆ ButtonEventType

Enumerator
BUTTON_PRESS 
BUTTON_RELEASE 
MOTION_NOTIFY 

Definition at line 187 of file layout.hh.

Constructor & Destructor Documentation

◆ Layout()

dw::core::Layout::Layout ( Platform platform)

◆ ~Layout()

dw::core::Layout::~Layout ( )

Definition at line 283 of file layout.cc.

References DBG_OBJ_DELETE.

Member Function Documentation

◆ addAnchor() [1/2]

char * dw::core::Layout::addAnchor ( Widget widget,
const char *  name 
)
private

Used, when the widget is not allocated yet.

Definition at line 658 of file layout.cc.

Referenced by dw::core::Widget::addAnchor().

◆ addAnchor() [2/2]

char * dw::core::Layout::addAnchor ( Widget widget,
const char *  name,
int  y 
)
private

◆ addWidget()

void dw::core::Layout::addWidget ( Widget widget)

Definition at line 314 of file layout.cc.

References dw::core::Widget::layout, MSG_WARN, and setWidget().

◆ adjustScrollPos()

void dw::core::Layout::adjustScrollPos ( )
private

Definition at line 545 of file layout.cc.

References _MSG, lout::misc::max(), and lout::misc::min().

◆ attachView()

◆ buttonEvent()

bool dw::core::Layout::buttonEvent ( ButtonEventType  type,
View view,
int  numPressed,
int  x,
int  y,
ButtonState  state,
int  button 
)
private

Definition at line 892 of file layout.cc.

Referenced by buttonPress(), and buttonRelease().

◆ buttonPress()

bool dw::core::Layout::buttonPress ( View view,
int  numPressed,
int  x,
int  y,
ButtonState  state,
int  button 
)
inline

This function is called by a view, to delegate a button press event.

numPressed is 1 for simple presses, 2 for double presses etc. (more that 2 is never needed), x and y the world coordinates, and button the number of the button pressed.

Definition at line 294 of file layout.hh.

References BUTTON_PRESS, buttonEvent(), and view.

Referenced by dw::fltk::FltkViewBase::handle().

◆ buttonRelease()

bool dw::core::Layout::buttonRelease ( View view,
int  numPressed,
int  x,
int  y,
ButtonState  state,
int  button 
)
inline

This function is called by a view, to delegate a button press event.

Arguments are similar to dw::core::Layout::buttonPress.

Definition at line 306 of file layout.hh.

References BUTTON_RELEASE, buttonEvent(), and view.

Referenced by dw::fltk::FltkViewBase::handle().

◆ calcScrollInto()

bool dw::core::Layout::calcScrollInto ( int  targetValue,
int  requestedSize,
int *  value,
int  viewportSize 
)
staticprivate

Definition at line 558 of file layout.cc.

◆ cancelTooltip()

void dw::core::Layout::cancelTooltip ( )
inline

Definition at line 382 of file layout.hh.

References dw::core::Platform::cancelTooltip(), and platform.

Referenced by dw::fltk::FltkViewBase::handle().

◆ changeAnchor()

void dw::core::Layout::changeAnchor ( Widget widget,
char *  name,
int  y 
)
private

◆ connect()

void dw::core::Layout::connect ( Receiver receiver)
inline

Definition at line 403 of file layout.hh.

References dw::core::Layout::Emitter::connectLayout(), and emitter.

◆ connectLink()

void dw::core::Layout::connectLink ( LinkReceiver receiver)
inline

Definition at line 243 of file layout.hh.

References dw::core::Layout::LinkEmitter::connectLink(), and linkEmitter.

Referenced by DilloPlain::DilloPlain().

◆ copySelection()

void dw::core::Layout::copySelection ( const char *  text)
inline

Definition at line 393 of file layout.hh.

References dw::core::Platform::copySelection(), and platform.

Referenced by a_UIcmd_copy_urlstr().

◆ createColor()

style::Color* dw::core::Layout::createColor ( int  color)
inline

Definition at line 372 of file layout.hh.

References dw::core::Platform::createColor(), and platform.

Referenced by dw::core::style::Color::create().

◆ createFont()

style::Font* dw::core::Layout::createFont ( style::FontAttrs attrs,
bool  tryEverything 
)
inline

Definition at line 362 of file layout.hh.

References dw::core::Platform::createFont(), and platform.

Referenced by dw::core::style::Font::create0().

◆ createImgbuf()

Imgbuf* dw::core::Layout::createImgbuf ( Imgbuf::Type  type,
int  width,
int  height,
double  gamma 
)
inline

Definition at line 387 of file layout.hh.

References dw::core::Platform::createImgbuf(), and platform.

◆ createTooltip()

style::Tooltip* dw::core::Layout::createTooltip ( const char *  text)
inline

Definition at line 377 of file layout.hh.

References dw::core::Platform::createTooltip(), and platform.

Referenced by dw::core::style::Tooltip::create().

◆ currHScrollbarThickness()

int dw::core::Layout::currHScrollbarThickness ( )
private

Definition at line 631 of file layout.cc.

◆ currVScrollbarThickness()

int dw::core::Layout::currVScrollbarThickness ( )
private

Definition at line 636 of file layout.cc.

◆ detachView()

void dw::core::Layout::detachView ( View view)
Todo:
Actually, viewportMarkerWidthDiff and viewportMarkerHeightDiff have to be recalculated here, since the effective (i.e. maximal) values may change, after the view has been detached. Same applies to the usage of viewports.

Definition at line 426 of file layout.cc.

References MSG_ERR, and dw::core::View::setLayout().

◆ dpiX()

float dw::core::Layout::dpiX ( )
inline

Definition at line 352 of file layout.hh.

References dw::core::Platform::dpiX(), and platform.

◆ dpiY()

float dw::core::Layout::dpiY ( )
inline

Definition at line 357 of file layout.hh.

References dw::core::Platform::dpiY(), and platform.

◆ draw()

◆ emitLinkClick()

bool dw::core::Layout::emitLinkClick ( Widget w,
int  link,
int  img,
int  x,
int  y,
EventButton event 
)
inline

Definition at line 257 of file layout.hh.

References dw::core::Layout::LinkEmitter::emitClick(), and linkEmitter.

◆ emitLinkEnter()

bool dw::core::Layout::emitLinkEnter ( Widget w,
int  link,
int  img,
int  x,
int  y 
)
inline

Definition at line 246 of file layout.hh.

References dw::core::Layout::LinkEmitter::emitEnter(), and linkEmitter.

◆ emitLinkPress()

bool dw::core::Layout::emitLinkPress ( Widget w,
int  link,
int  img,
int  x,
int  y,
EventButton event 
)
inline

Definition at line 249 of file layout.hh.

References dw::core::Layout::LinkEmitter::emitPress(), and linkEmitter.

◆ emitLinkRelease()

bool dw::core::Layout::emitLinkRelease ( Widget w,
int  link,
int  img,
int  x,
int  y,
EventButton event 
)
inline

Definition at line 253 of file layout.hh.

References dw::core::Layout::LinkEmitter::emitRelease(), and linkEmitter.

◆ enterNotify()

void dw::core::Layout::enterNotify ( View view,
int  x,
int  y,
ButtonState  state 
)

This function is called by a view, to delegate a enter notify event.

Arguments are similar to dw::core::Layout::buttonPress.

Definition at line 933 of file layout.cc.

References dw::core::Widget::enterNotify().

Referenced by dw::fltk::FltkViewBase::handle().

◆ expose()

void dw::core::Layout::expose ( View view,
Rectangle area 
)
inline

Definition at line 284 of file layout.hh.

References draw(), and view.

Referenced by dw::fltk::FltkViewBase::draw().

◆ fontExists()

bool dw::core::Layout::fontExists ( const char *  name)
inline

Definition at line 367 of file layout.hh.

References dw::core::Platform::fontExists(), and platform.

Referenced by dw::core::style::Font::exists().

◆ getBgColor()

style::Color* dw::core::Layout::getBgColor ( )
inline

Definition at line 420 of file layout.hh.

References bgColor.

Referenced by dw::core::style::drawBackground().

◆ getBgImage()

style::StyleImage* dw::core::Layout::getBgImage ( )
inline

Definition at line 421 of file layout.hh.

References bgImage.

Referenced by dw::core::style::drawBackground().

◆ getHeightViewport()

int dw::core::Layout::getHeightViewport ( )
inline

Definition at line 271 of file layout.hh.

References viewportHeight.

Referenced by dw::core::Iterator::scrollTo().

◆ getPlatform()

Platform* dw::core::Layout::getPlatform ( )
inline

Definition at line 320 of file layout.hh.

References platform.

◆ getResourceFactory()

ui::ResourceFactory* dw::core::Layout::getResourceFactory ( )
inline

Definition at line 398 of file layout.hh.

References dw::core::Platform::getResourceFactory(), and platform.

◆ getScrollPosX()

int dw::core::Layout::getScrollPosX ( )
inline

Definition at line 272 of file layout.hh.

References scrollX.

Referenced by a_UIcmd_get_scroll_xy().

◆ getScrollPosY()

int dw::core::Layout::getScrollPosY ( )
inline

Definition at line 273 of file layout.hh.

References scrollY.

Referenced by a_UIcmd_get_scroll_xy().

◆ getUsesViewport()

bool dw::core::Layout::getUsesViewport ( )
inline

Definition at line 269 of file layout.hh.

References usesViewport.

Referenced by dw::core::Iterator::scrollTo().

◆ getWidgetAtPoint()

Widget * dw::core::Layout::getWidgetAtPoint ( int  x,
int  y 
)
private

Definition at line 977 of file layout.cc.

References _MSG.

Referenced by moveToWidgetAtPoint().

◆ getWidthViewport()

int dw::core::Layout::getWidthViewport ( )
inline

Definition at line 270 of file layout.hh.

References viewportWidth.

Referenced by dw::core::Iterator::scrollTo().

◆ leaveNotify()

void dw::core::Layout::leaveNotify ( View view,
ButtonState  state 
)

This function is called by a view, to delegate a leave notify event.

Arguments are similar to dw::core::Layout::buttonPress.

Definition at line 954 of file layout.cc.

References dw::core::Widget::leaveNotify().

Referenced by dw::fltk::FltkViewBase::handle().

◆ motionNotify()

bool dw::core::Layout::motionNotify ( View view,
int  x,
int  y,
ButtonState  state 
)

This function is called by a view, to delegate a motion notify event.

Arguments are similar to dw::core::Layout::buttonPress.

Definition at line 915 of file layout.cc.

Referenced by dw::fltk::FltkViewBase::handle(), and dw::fltk::FltkViewport::positionChanged().

◆ moveOutOfView()

void dw::core::Layout::moveOutOfView ( ButtonState  state)
inlineprivate

Emit the necessary crossing events, when the mouse pointer has moved out of the view.

Definition at line 203 of file layout.hh.

References moveToWidget().

◆ moveToWidget()

◆ moveToWidgetAtPoint()

void dw::core::Layout::moveToWidgetAtPoint ( int  x,
int  y,
ButtonState  state 
)
inlineprivate

Emit the necessary crossing events, when the mouse pointer has moved to position (x, );.

Definition at line 196 of file layout.hh.

References getWidgetAtPoint(), and moveToWidget().

◆ nextGlyph()

int dw::core::Layout::nextGlyph ( const char *  text,
int  idx 
)
inline

Definition at line 342 of file layout.hh.

References dw::core::Platform::nextGlyph(), and platform.

Referenced by dw::fltk::FltkWidgetView::drawText().

◆ prevGlyph()

int dw::core::Layout::prevGlyph ( const char *  text,
int  idx 
)
inline

Definition at line 347 of file layout.hh.

References platform, and dw::core::Platform::prevGlyph().

◆ processMouseEvent()

bool dw::core::Layout::processMouseEvent ( MousePositionEvent event,
ButtonEventType  type 
)
private

◆ queueDraw()

void dw::core::Layout::queueDraw ( int  x,
int  y,
int  width,
int  height 
)
private

◆ queueDrawExcept()

void dw::core::Layout::queueDrawExcept ( int  x,
int  y,
int  width,
int  height,
int  ex,
int  ey,
int  ewidth,
int  eheight 
)
private

Definition at line 857 of file layout.cc.

References lout::misc::max(), and lout::misc::min().

◆ queueResize()

void dw::core::Layout::queueResize ( )
private

Definition at line 880 of file layout.cc.

◆ removeAnchor()

void dw::core::Layout::removeAnchor ( Widget widget,
char *  name 
)
private

Definition at line 691 of file layout.cc.

Referenced by dw::core::Widget::removeAnchor().

◆ removeWidget()

void dw::core::Layout::removeWidget ( )
private
Bug:
Some more attributes must be reset here.

Definition at line 331 of file layout.cc.

◆ resetSearch()

void dw::core::Layout::resetSearch ( )
inline

◆ resizeIdle()

◆ scroll()

void dw::core::Layout::scroll ( ScrollCommand  cmd)

Definition at line 442 of file layout.cc.

References dw::core::View::scroll().

Referenced by a_UIcmd_scroll().

◆ scrollIdle()

◆ scrollPosChanged()

void dw::core::Layout::scrollPosChanged ( View view,
int  x,
int  y 
)

◆ scrollTo()

void dw::core::Layout::scrollTo ( HPosition  hpos,
VPosition  vpos,
int  x,
int  y,
int  width,
int  height 
)

Scrolls all viewports, so that the region [x, y, width, height] is seen, according to hpos and vpos.

Definition at line 452 of file layout.cc.

Referenced by a_UIcmd_set_scroll_xy(), dw::fltk::FltkViewBase::manageTabToFocus(), and dw::core::Iterator::scrollTo().

◆ scrollTo0()

void dw::core::Layout::scrollTo0 ( HPosition  hpos,
VPosition  vpos,
int  x,
int  y,
int  width,
int  height,
bool  scrollingInterrupted 
)
private

Definition at line 458 of file layout.cc.

References _MSG.

◆ search()

FindtextState::Result dw::core::Layout::search ( const char *  str,
bool  caseSens,
int  backwards 
)
inline

◆ setAnchor()

void dw::core::Layout::setAnchor ( const char *  anchor)

Sets the anchor to scroll to.

Definition at line 645 of file layout.cc.

References _MSG.

Referenced by a_UIcmd_set_scroll_by_fragment().

◆ setBgColor()

void dw::core::Layout::setBgColor ( style::Color color)

Definition at line 733 of file layout.cc.

References dw::core::style::Color::ref().

Referenced by a_Web_dispatch_by_type(), and UIcmd_tab_new().

◆ setBgImage()

◆ setCursor()

void dw::core::Layout::setCursor ( style::Cursor  cursor)
private

Definition at line 717 of file layout.cc.

Referenced by dw::core::Widget::setCursor().

◆ setSizeHints()

void dw::core::Layout::setSizeHints ( )
private

Definition at line 834 of file layout.cc.

◆ setWidget()

void dw::core::Layout::setWidget ( Widget widget)

Definition at line 357 of file layout.cc.

References DBG_OBJ_ASSOC_CHILD.

Referenced by a_Web_dispatch_by_type(), and addWidget().

◆ textToLower()

char* dw::core::Layout::textToLower ( const char *  text,
int  len 
)
inline

Definition at line 337 of file layout.hh.

References platform, and dw::core::Platform::textToLower().

◆ textToUpper()

char* dw::core::Layout::textToUpper ( const char *  text,
int  len 
)
inline

Definition at line 332 of file layout.hh.

References platform, and dw::core::Platform::textToUpper().

◆ textWidth()

int dw::core::Layout::textWidth ( style::Font font,
const char *  text,
int  len 
)
inline

Definition at line 327 of file layout.hh.

References platform, and dw::core::Platform::textWidth().

Referenced by dw::TableCell::getValue().

◆ updateAnchor()

void dw::core::Layout::updateAnchor ( )
private
Todo:
Copy comment from old docs.

Definition at line 697 of file layout.cc.

References dw::core::HPOS_NO_CHANGE, dw::core::VPOS_TOP, and dw::core::Layout::Anchor::y.

◆ updateCursor()

void dw::core::Layout::updateCursor ( )
private

Definition at line 725 of file layout.cc.

References dw::core::style::CURSOR_DEFAULT.

◆ viewportSizeChanged()

void dw::core::Layout::viewportSizeChanged ( View view,
int  width,
int  height 
)

Definition at line 1155 of file layout.cc.

References _MSG.

Referenced by dw::fltk::FltkViewport::resize(), and dw::fltk::FltkViewBase::setLayout().

Friends And Related Function Documentation

◆ Widget

friend class Widget
friend

Definition at line 18 of file layout.hh.

Member Data Documentation

◆ anchorsTable

lout::container::typed::HashTable<lout::object::String, Anchor>* dw::core::Layout::anchorsTable
private

Definition at line 182 of file layout.hh.

◆ bgAttachment

style::BackgroundAttachment dw::core::Layout::bgAttachment
private

Definition at line 161 of file layout.hh.

◆ bgColor

style::Color* dw::core::Layout::bgColor
private

Definition at line 158 of file layout.hh.

Referenced by getBgColor().

◆ bgImage

style::StyleImage* dw::core::Layout::bgImage
private

Definition at line 159 of file layout.hh.

Referenced by getBgImage().

◆ bgPositionX

style::Length dw::core::Layout::bgPositionX
private

Definition at line 162 of file layout.hh.

◆ bgPositionY

style::Length dw::core::Layout::bgPositionY
private

Definition at line 162 of file layout.hh.

◆ bgRepeat

style::BackgroundRepeat dw::core::Layout::bgRepeat
private

Definition at line 160 of file layout.hh.

◆ canvasAscent

int dw::core::Layout::canvasAscent
private

Definition at line 165 of file layout.hh.

◆ canvasDescent

int dw::core::Layout::canvasDescent
private

Definition at line 165 of file layout.hh.

◆ canvasHeightGreater

bool dw::core::Layout::canvasHeightGreater
private

Definition at line 169 of file layout.hh.

◆ canvasWidth

int dw::core::Layout::canvasWidth
private

Definition at line 165 of file layout.hh.

◆ cursor

style::Cursor dw::core::Layout::cursor
private

Definition at line 164 of file layout.hh.

◆ drawAfterScrollReq

bool dw::core::Layout::drawAfterScrollReq
private

Definition at line 167 of file layout.hh.

◆ emitter

Emitter dw::core::Layout::emitter
private

Definition at line 141 of file layout.hh.

Referenced by connect().

◆ findtextState

FindtextState dw::core::Layout::findtextState
private

Definition at line 185 of file layout.hh.

Referenced by resetSearch(), and search().

◆ hScrollbarThickness

int dw::core::Layout::hScrollbarThickness
private

Definition at line 170 of file layout.hh.

◆ layoutImgRenderer

LayoutImgRenderer* dw::core::Layout::layoutImgRenderer
private

Definition at line 39 of file layout.hh.

◆ linkEmitter

LinkEmitter dw::core::Layout::linkEmitter

Definition at line 123 of file layout.hh.

Referenced by connectLink(), emitLinkClick(), emitLinkEnter(), emitLinkPress(), and emitLinkRelease().

◆ platform

◆ requestedAnchor

char* dw::core::Layout::requestedAnchor
private

Definition at line 176 of file layout.hh.

◆ resizeIdleId

int dw::core::Layout::resizeIdleId
private

Definition at line 177 of file layout.hh.

◆ scrollIdleId

int dw::core::Layout::scrollIdleId
private

Definition at line 177 of file layout.hh.

◆ scrollIdleNotInterrupted

bool dw::core::Layout::scrollIdleNotInterrupted
private

Definition at line 178 of file layout.hh.

◆ scrollTargetHeight

int dw::core::Layout::scrollTargetHeight
private

Definition at line 174 of file layout.hh.

◆ scrollTargetHpos

HPosition dw::core::Layout::scrollTargetHpos
private

Definition at line 172 of file layout.hh.

◆ scrollTargetVpos

VPosition dw::core::Layout::scrollTargetVpos
private

Definition at line 173 of file layout.hh.

◆ scrollTargetWidth

int dw::core::Layout::scrollTargetWidth
private

Definition at line 174 of file layout.hh.

◆ scrollTargetX

int dw::core::Layout::scrollTargetX
private

Definition at line 174 of file layout.hh.

◆ scrollTargetY

int dw::core::Layout::scrollTargetY
private

Definition at line 174 of file layout.hh.

◆ scrollX

int dw::core::Layout::scrollX
private

Definition at line 168 of file layout.hh.

Referenced by getScrollPosX().

◆ scrollY

int dw::core::Layout::scrollY
private

Definition at line 168 of file layout.hh.

Referenced by getScrollPosY().

◆ selectionState

SelectionState dw::core::Layout::selectionState
private

Definition at line 184 of file layout.hh.

Referenced by dw::core::Widget::selectionHandleEvent().

◆ textZone

lout::misc::ZoneAllocator* dw::core::Layout::textZone

Definition at line 261 of file layout.hh.

◆ topLevel

Widget* dw::core::Layout::topLevel
private

Definition at line 155 of file layout.hh.

◆ usesViewport

bool dw::core::Layout::usesViewport
private

Definition at line 167 of file layout.hh.

Referenced by getUsesViewport().

◆ view

View* dw::core::Layout::view
private

Definition at line 154 of file layout.hh.

Referenced by buttonPress(), buttonRelease(), and expose().

◆ viewportHeight

int dw::core::Layout::viewportHeight
private

Definition at line 168 of file layout.hh.

Referenced by getHeightViewport().

◆ viewportWidth

int dw::core::Layout::viewportWidth
private

Definition at line 168 of file layout.hh.

Referenced by getWidthViewport().

◆ vScrollbarThickness

int dw::core::Layout::vScrollbarThickness
private

Definition at line 170 of file layout.hh.

◆ widgetAtPoint

Widget * dw::core::Layout::widgetAtPoint
private

Definition at line 155 of file layout.hh.


The documentation for this class was generated from the following files: