Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
dw::core::Layout Class Reference

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

#include <layout.hh>

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.
 
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.
 
void scroll (ScrollCommand)
 
void setAnchor (const char *anchor)
 Sets the anchor to scroll to.
 
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.
 
void containerSizeChanged ()
 
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.
 
bool motionNotify (View *view, int x, int y, ButtonState state)
 This function is called by a view, to delegate a motion notify event.
 
void enterNotify (View *view, int x, int y, ButtonState state)
 This function is called by a view, to delegate a enter notify event.
 
void leaveNotify (View *view, ButtonState state)
 This function is called by a view, to delegate a leave notify event.
 
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.
 
void resetSearch ()
 See dw::core::FindtextState::resetSearch.
 
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.
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal.
 
virtual int hashValue ()
 Return a hash value for the object.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 

Public Attributes

LinkEmitter linkEmitter
 
lout::misc::ZoneAllocatortextZone
 

Private Types

enum  ButtonEventType { BUTTON_PRESS , BUTTON_RELEASE , MOTION_NOTIFY }
 

Private Member Functions

void detachWidget (Widget *widget)
 
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, );.
 
void moveOutOfView (ButtonState state)
 Emit the necessary crossing events, when the mouse pointer has moved out of the view.
 
bool processMouseEvent (MousePositionEvent *event, ButtonEventType type)
 Common processing of press, release and motion events.
 
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)
 Used, when the widget is not allocated yet.
 
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 (bool extremesChanged)
 
void removeWidget ()
 
void enterResizeIdle ()
 
void leaveResizeIdle ()
 

Static Private Member Functions

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

Private Attributes

LayoutImgRendererlayoutImgRenderer
 
Emitter emitter
 
Platformplatform
 
Viewview
 
WidgettopLevel
 
WidgetwidgetAtPoint
 
lout::container::typed::Vector< Widget > * queueResizeList
 
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
 
int resizeIdleCounter
 
int queueResizeCounter
 
int sizeAllocateCounter
 
int sizeRequestCounter
 
int getExtremesCounter
 
int resizeCounter
 

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 190 of file layout.hh.

Constructor & Destructor Documentation

◆ Layout()

◆ ~Layout()

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 750 of file layout.cc.

References addAnchor().

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

◆ addAnchor() [2/2]

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

◆ addWidget()

◆ adjustScrollPos()

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

◆ 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 1044 of file layout.cc.

References moveToWidgetAtPoint(), and processMouseEvent().

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 314 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 328 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 644 of file layout.cc.

Referenced by scrollIdle().

◆ cancelTooltip()

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

Definition at line 404 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 425 of file layout.hh.

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

◆ connectLink()

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

Definition at line 258 of file layout.hh.

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

Referenced by main().

◆ containerSizeChanged()

void dw::core::Layout::containerSizeChanged ( )

◆ copySelection()

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

Definition at line 415 of file layout.hh.

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

Referenced by a_UIcmd_copy_urlstr(), and dw::core::SelectionState::copy().

◆ createColor()

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

Definition at line 394 of file layout.hh.

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

◆ createFont()

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

Definition at line 384 of file layout.hh.

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

◆ createImgbuf()

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

◆ createTooltip()

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

Definition at line 399 of file layout.hh.

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

◆ currHScrollbarThickness()

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

Definition at line 723 of file layout.cc.

References canvasWidth, hScrollbarThickness, and viewportWidth.

Referenced by processMouseEvent(), resizeIdle(), and scrollIdle().

◆ currVScrollbarThickness()

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

Definition at line 728 of file layout.cc.

References canvasAscent, canvasDescent, viewportHeight, and vScrollbarThickness.

Referenced by processMouseEvent(), resizeIdle(), and scrollIdle().

◆ 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 510 of file layout.cc.

References dw::core::Platform::detachView(), MSG_ERR, platform, dw::core::View::setLayout(), and view.

◆ detachWidget()

◆ dpiX()

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

Definition at line 374 of file layout.hh.

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

Referenced by StyleEngine::StyleEngine().

◆ dpiY()

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

Definition at line 379 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

◆ emitLinkEnter()

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

◆ emitLinkPress()

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

◆ emitLinkRelease()

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

◆ 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 1085 of file layout.cc.

References dw::core::Widget::enterNotify(), moveToWidgetAtPoint(), and widgetAtPoint.

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

◆ enterResizeIdle()

void dw::core::Layout::enterResizeIdle ( )
inlineprivate

Definition at line 251 of file layout.hh.

References resizeIdleCounter.

Referenced by resizeIdle().

◆ expose()

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

◆ fontExists()

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

Definition at line 389 of file layout.hh.

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

◆ getBgColor()

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

Definition at line 442 of file layout.hh.

References bgColor.

Referenced by dw::core::Widget::drawWidgetBox(), and dw::core::Widget::getBgColor().

◆ getBgImage()

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

Definition at line 443 of file layout.hh.

References bgImage.

◆ getHeightViewport()

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

Definition at line 286 of file layout.hh.

References viewportHeight.

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

◆ getPlatform()

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

Definition at line 342 of file layout.hh.

References platform.

Referenced by dw::Textblock::hyphenateWord().

◆ getResourceFactory()

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

Definition at line 420 of file layout.hh.

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

Referenced by main().

◆ getScrollPosX()

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

Definition at line 287 of file layout.hh.

References scrollX.

Referenced by a_UIcmd_get_scroll_xy().

◆ getScrollPosY()

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

Definition at line 288 of file layout.hh.

References scrollY.

Referenced by a_UIcmd_get_scroll_xy().

◆ getUsesViewport()

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

Definition at line 284 of file layout.hh.

References usesViewport.

Referenced by dw::Textblock::calcLineBreakWidth(), and dw::core::Iterator::scrollTo().

◆ getWidgetAtPoint()

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

◆ getWidthViewport()

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

Definition at line 285 of file layout.hh.

References viewportWidth.

Referenced by dw::Textblock::calcLineBreakWidth(), and 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 1106 of file layout.cc.

References dw::core::Widget::leaveNotify(), moveOutOfView(), and widgetAtPoint.

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

◆ leaveResizeIdle()

void dw::core::Layout::leaveResizeIdle ( )
inlineprivate

Definition at line 252 of file layout.hh.

References resizeIdleCounter.

Referenced by resizeIdle().

◆ 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 1067 of file layout.cc.

References MOTION_NOTIFY, moveToWidgetAtPoint(), and processMouseEvent().

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 208 of file layout.hh.

References moveToWidget().

Referenced by leaveNotify().

◆ 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 201 of file layout.hh.

References getWidgetAtPoint(), and moveToWidget().

Referenced by buttonEvent(), enterNotify(), and motionNotify().

◆ nextGlyph()

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

◆ prevGlyph()

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

Definition at line 369 of file layout.hh.

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

◆ processMouseEvent()

◆ 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 1001 of file layout.cc.

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

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

◆ queueResize()

◆ removeAnchor()

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

Definition at line 783 of file layout.cc.

References anchorsTable.

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

◆ removeWidget()

◆ resetSearch()

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

◆ resizeIdle()

◆ scroll()

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

Definition at line 528 of file layout.cc.

References dw::core::View::scroll(), dw::core::View::usesViewport(), and view.

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 538 of file layout.cc.

References scrollTo0().

Referenced by a_UIcmd_set_scroll_xy(), dw::fltk::FltkViewBase::manageTabToFocus(), dw::core::Widget::scrollTo(), 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

◆ 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 737 of file layout.cc.

References _MSG, dStrdup(), requestedAnchor, and updateAnchor().

Referenced by a_UIcmd_set_scroll_by_fragment(), anchorCallback(), removeWidget(), and scrollPosChanged().

◆ setBgColor()

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

◆ setBgImage()

◆ setCursor()

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

Definition at line 809 of file layout.cc.

References cursor, dw::core::View::setCursor(), and view.

Referenced by dw::core::Widget::setCursor(), and updateCursor().

◆ setSizeHints()

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

◆ setWidget()

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

◆ textToLower()

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

Definition at line 359 of file layout.hh.

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

Referenced by dw::Textblock::drawText(), and dw::Textblock::textWidth().

◆ textToUpper()

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

Definition at line 354 of file layout.hh.

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

Referenced by dw::Textblock::drawText(), and dw::Textblock::textWidth().

◆ textWidth()

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

◆ updateAnchor()

◆ updateCursor()

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

◆ viewportSizeChanged()

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

Friends And Related Symbol 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 185 of file layout.hh.

Referenced by addAnchor(), changeAnchor(), Layout(), removeAnchor(), updateAnchor(), and ~Layout().

◆ bgAttachment

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

Definition at line 164 of file layout.hh.

Referenced by draw(), and setBgImage().

◆ bgColor

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

Definition at line 161 of file layout.hh.

Referenced by attachView(), getBgColor(), Layout(), setBgColor(), and ~Layout().

◆ bgImage

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

Definition at line 162 of file layout.hh.

Referenced by draw(), getBgImage(), Layout(), setBgImage(), and ~Layout().

◆ bgPositionX

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

Definition at line 165 of file layout.hh.

Referenced by draw(), and setBgImage().

◆ bgPositionY

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

Definition at line 165 of file layout.hh.

Referenced by draw(), and setBgImage().

◆ bgRepeat

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

Definition at line 163 of file layout.hh.

Referenced by draw(), and setBgImage().

◆ canvasAscent

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

◆ canvasDescent

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

◆ canvasHeightGreater

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

◆ canvasWidth

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

◆ cursor

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

Definition at line 167 of file layout.hh.

Referenced by attachView(), Layout(), and setCursor().

◆ drawAfterScrollReq

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

Definition at line 170 of file layout.hh.

Referenced by draw(), Layout(), and scrollIdle().

◆ emitter

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

Definition at line 143 of file layout.hh.

Referenced by connect(), queueResize(), removeWidget(), and resizeIdle().

◆ findtextState

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

Definition at line 188 of file layout.hh.

Referenced by addWidget(), Layout(), removeWidget(), resetSearch(), and search().

◆ getExtremesCounter

int dw::core::Layout::getExtremesCounter
private

◆ hScrollbarThickness

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

Definition at line 173 of file layout.hh.

Referenced by adjustScrollPos(), attachView(), currHScrollbarThickness(), draw(), and Layout().

◆ layoutImgRenderer

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

Definition at line 39 of file layout.hh.

Referenced by Layout(), setBgImage(), and ~Layout().

◆ linkEmitter

LinkEmitter dw::core::Layout::linkEmitter

Definition at line 124 of file layout.hh.

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

◆ platform

◆ queueResizeCounter

int dw::core::Layout::queueResizeCounter
private

◆ queueResizeList

lout::container::typed::Vector<Widget>* dw::core::Layout::queueResizeList
private

◆ requestedAnchor

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

Definition at line 179 of file layout.hh.

Referenced by Layout(), setAnchor(), updateAnchor(), and ~Layout().

◆ resizeCounter

int dw::core::Layout::resizeCounter
private

Definition at line 249 of file layout.hh.

Referenced by Layout(), resizeIdle(), and setWidget().

◆ resizeIdleCounter

int dw::core::Layout::resizeIdleCounter
private

◆ resizeIdleId

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

Definition at line 180 of file layout.hh.

Referenced by Layout(), queueResize(), resizeIdle(), and ~Layout().

◆ scrollIdleId

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

Definition at line 180 of file layout.hh.

Referenced by draw(), Layout(), scrollIdle(), scrollTo0(), updateAnchor(), and ~Layout().

◆ scrollIdleNotInterrupted

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

Definition at line 181 of file layout.hh.

Referenced by Layout(), scrollTo0(), and updateAnchor().

◆ scrollTargetHeight

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

Definition at line 177 of file layout.hh.

Referenced by scrollIdle(), and scrollTo0().

◆ scrollTargetHpos

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

Definition at line 175 of file layout.hh.

Referenced by scrollIdle(), and scrollTo0().

◆ scrollTargetVpos

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

Definition at line 176 of file layout.hh.

Referenced by scrollIdle(), and scrollTo0().

◆ scrollTargetWidth

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

Definition at line 177 of file layout.hh.

Referenced by scrollIdle(), and scrollTo0().

◆ scrollTargetX

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

Definition at line 177 of file layout.hh.

Referenced by scrollIdle(), and scrollTo0().

◆ scrollTargetY

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

Definition at line 177 of file layout.hh.

Referenced by scrollIdle(), and scrollTo0().

◆ scrollX

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

◆ scrollY

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

◆ selectionState

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

Definition at line 187 of file layout.hh.

Referenced by Layout(), removeWidget(), and dw::core::Widget::selectionHandleEvent().

◆ sizeAllocateCounter

int dw::core::Layout::sizeAllocateCounter
private

◆ sizeRequestCounter

int dw::core::Layout::sizeRequestCounter
private

◆ textZone

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

◆ topLevel

◆ usesViewport

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

Definition at line 170 of file layout.hh.

Referenced by attachView(), getUsesViewport(), Layout(), resizeIdle(), and scrollTo0().

◆ view

◆ viewportHeight

◆ viewportWidth

◆ vScrollbarThickness

◆ widgetAtPoint

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

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