Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
dw_anchors_test.cc File Reference
#include <ctype.h>
#include <FL/Fl_Window.H>
#include <FL/Fl.H>
#include "dlib/dlib.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:

Go to the source code of this file.

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

◆ anchorCallback()

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

Definition at line 52 of file dw_anchors_test.cc.

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

Referenced by main().

◆ main()

◆ textTimeout()

Variable Documentation

◆ headingStyle

Style * headingStyle
static

Definition at line 43 of file dw_anchors_test.cc.

Referenced by main(), and textTimeout().

◆ layout

Layout* layout
static

Definition at line 40 of file dw_anchors_test.cc.

Referenced by a_Image_new(), a_Image_new_with_dw(), a_Imgbuf_new(), a_UIcmd_close_bw(), a_UIcmd_copy_urlstr(), a_UIcmd_get_scroll_xy(), a_UIcmd_scroll(), a_UIcmd_set_scroll_by_fragment(), a_UIcmd_set_scroll_xy(), a_Web_dispatch_by_type(), anchorCallback(), dw::Image::buttonPressImpl(), dw::Image::buttonReleaseImpl(), dw::core::ui::ComplexButtonResource::ComplexButtonResource(), dw::core::ui::ComplexButtonResource::containerSizeChangedForChildren(), dw::core::style::Tooltip::create(), dw::core::style::Font::create(), dw::core::style::Color::create(), dw::core::style::Font::create0(), dw::Image::draw(), dw::core::Layout::LayoutImgRenderer::draw(), dw::core::style::drawBackground(), dw::Image::enterNotifyImpl(), dw::core::style::Font::exists(), dw::fltk::FltkPreview::FltkPreview(), dw::fltk::FltkPreviewButton::FltkPreviewButton(), dw::fltk::FltkPreviewWindow::FltkPreviewWindow(), 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::Image::getExtremesSimpl(), dw::core::Layout::LayoutImgRenderer::getRefArea(), dw::AlignedTableCell::getValue(), dw::core::ui::ComplexButtonResource::init(), dw::Image::leaveNotifyImpl(), main(), dw::Image::motionNotifyImpl(), dw::fltk::FltkViewBase::setLayout(), dw::Image::sizeRequestSimpl(), solution1(), solution2(), solution3(), textTimeout(), UIcmd_tab_new(), and dw::core::ui::ComplexButtonResource::~ComplexButtonResource().

◆ numbers

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

Definition at line 47 of file dw_anchors_test.cc.

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

◆ platform

◆ textblockNo

int textblockNo = 0
static

Definition at line 45 of file dw_anchors_test.cc.

Referenced by textTimeout().

◆ topTextblock

Textblock* topTextblock = NULL
static

Definition at line 44 of file dw_anchors_test.cc.

Referenced by textTimeout().

◆ topWidgetStyle

Style* topWidgetStyle
static

Definition at line 43 of file dw_anchors_test.cc.

Referenced by main(), and textTimeout().

◆ viewport

FltkViewport* viewport
static

Definition at line 42 of file dw_anchors_test.cc.

Referenced by main(), and UIcmd_tab_new().

◆ widgetStyle

Style * widgetStyle
static

Definition at line 43 of file dw_anchors_test.cc.

Referenced by main(), and textTimeout().

◆ window

◆ wordStyle

Style * wordStyle
static

Definition at line 43 of file dw_anchors_test.cc.

Referenced by main(), and textTimeout().