Dillo
Functions | Variables
dw_anchors_test.cc File Reference
#include <ctype.h>
#include <FL/Fl_Window.H>
#include <FL/Fl.H>
#include "../dw/core.hh"
#include "../dw/fltkcore.hh"
#include "../dw/fltkviewport.hh"
#include "../dw/textblock.hh"
Include dependency graph for dw_anchors_test.cc:

Functions

static void anchorCallback (Fl_Widget *widget, void *data)
 
static void textTimeout (void *data)
 
int main (int argc, char **argv)
 

Variables

static FltkPlatformplatform
 
static Layoutlayout
 
static Fl_Window * window
 
static FltkViewportviewport
 
static StyletopWidgetStyle
 
static StylewidgetStyle
 
static StylewordStyle
 
static StyleheadingStyle
 
static TextblocktopTextblock = NULL
 
static int textblockNo = 0
 
static const char * numbers [10]
 

Function Documentation

static void anchorCallback ( Fl_Widget *  widget,
void *  data 
)
static

References numbers, and dw::core::Layout::setAnchor().

Referenced by main().

int main ( int  argc,
char **  argv 
)
static void textTimeout ( void *  data)
static

Variable Documentation

Style * headingStyle
static
Layout* layout
static

Referenced by dw::Textblock::addText(), dw::Textblock::addText0(), dw::core::SelectionState::buttonPress(), dw::Image::buttonPressImpl(), dw::core::SelectionState::buttonRelease(), dw::Image::buttonReleaseImpl(), dw::Textblock::calcLineBreakWidth(), dw::Textblock::changeLinkColor(), dw::core::ui::ComplexButtonResource::ComplexButtonResource(), dw::core::ui::ComplexButtonResource::containerSizeChangedForChildren(), dw::core::SelectionState::copy(), dw::core::Widget::correctExtremes(), dw::core::Widget::correctRequisition(), dw::core::Layout::LayoutImgRenderer::draw(), dw::Image::draw(), dw::core::Widget::drawBox(), dw::core::Widget::drawInterruption(), dw::Textblock::drawText(), dw::core::Widget::drawWidgetBox(), dw::Image::enterNotifyImpl(), dw::core::Widget::getAvailHeight(), dw::core::Widget::getAvailWidth(), dw::core::Layout::LayoutImgRenderer::getBackgroundAttachment(), dw::core::Layout::LayoutImgRenderer::getBackgroundImage(), dw::core::Layout::LayoutImgRenderer::getBackgroundPositionX(), dw::core::Layout::LayoutImgRenderer::getBackgroundPositionY(), dw::core::Layout::LayoutImgRenderer::getBackgroundRepeat(), dw::core::Widget::getBgColor(), dw::Image::getExtremesSimpl(), dw::core::Layout::LayoutImgRenderer::getRefArea(), dw::Textblock::hyphenateWord(), dw::core::ui::ComplexButtonResource::init(), dw::Image::leaveNotifyImpl(), dw::Textblock::leaveNotifyImpl(), main(), dw::Image::motionNotifyImpl(), dw::Textblock::motionNotifyImpl(), dw::core::Widget::queueDrawArea(), dw::core::Widget::queueResize(), dw::core::Widget::scrollTo(), dw::core::SelectionState::SelectionState(), dw::Textblock::sendSelectionEvent(), dw::fltk::FltkViewBase::setLayout(), dw::core::Widget::setParent(), dw::core::Widget::setStyle(), dw::core::Widget::sizeAllocate(), dw::Image::sizeRequestSimpl(), solution1(), solution2(), solution3(), dw::Textblock::textWidth(), dw::core::Widget::Widget(), dw::core::ui::ComplexButtonResource::~ComplexButtonResource(), and dw::core::Widget::~Widget().

const char* numbers[10]
static
Initial value:
= {
"one", "two", "three", "four", "five",
"six", "seven", "eight", "nine", "ten"
}

Referenced by anchorCallback(), main(), and textTimeout().

FltkPlatform* platform
static
int textblockNo = 0
static

Referenced by textTimeout().

Textblock* topTextblock = NULL
static

Referenced by textTimeout().

Style* topWidgetStyle
static

Referenced by main().

FltkViewport* viewport
static

Referenced by main().

Style * widgetStyle
static

Referenced by main().

Fl_Window* window
static

Referenced by main().

Style * wordStyle
static

Referenced by main().