Dillo v3.1.1-91-g6d5b3ee3
|
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
#include "dw/core.hh"
#include "dw/fltkcore.hh"
#include "dw/fltkviewport.hh"
#include "dw/textblock.hh"
Go to the source code of this file.
Functions | |
static void | findCallback (Fl_Widget *widget, void *data) |
static void | resetCallback (Fl_Widget *widget, void *data) |
int | main (int argc, char **argv) |
Variables | |
static FltkPlatform * | platform |
static Layout * | layout |
static Fl_Window * | window |
static FltkViewport * | viewport |
static Fl_Button * | findButton |
static Fl_Button * | resetButton |
static Fl_Widget * | resultLabel |
|
static |
Definition at line 44 of file dw_find_test.cc.
References layout, dw::core::FindtextState::NOT_FOUND, dw::core::FindtextState::RESTART, resultLabel, dw::core::Layout::search(), and dw::core::FindtextState::SUCCESS.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 71 of file dw_find_test.cc.
References dw::Textblock::addLinebreak(), dw::Textblock::addText(), dw::core::Layout::attachView(), dw::core::style::StyleAttrs::backgroundColor, dw::core::style::StyleAttrs::color, dw::core::style::Font::create(), dw::core::style::Color::create(), dw::core::style::Style::create(), findButton, findCallback(), dw::core::style::StyleAttrs::font, dw::core::style::FONT_STYLE_NORMAL, dw::core::style::FONT_VARIANT_NORMAL, dw::core::style::FontAttrs::fontVariant, lout::container::typed::Stack< T >::getTop(), dw::core::style::StyleAttrs::initValues(), layout, dw::core::style::Box::left, dw::core::style::FontAttrs::letterSpacing, dw::core::style::StyleAttrs::margin, dw::core::style::FontAttrs::name, platform, lout::container::typed::Stack< T >::pop(), lout::container::typed::Stack< T >::push(), resetButton, resetCallback(), resultLabel, dw::core::Widget::setStyle(), dw::core::style::Box::setVal(), dw::core::Layout::setWidget(), dw::core::style::FontAttrs::size, dw::core::style::FontAttrs::style, topWidgetStyle, dw::core::style::Style::unref(), viewport, dw::core::style::FontAttrs::weight, widgetStyle, window, and wordStyle.
|
static |
Definition at line 64 of file dw_find_test.cc.
References layout, dw::core::Layout::resetSearch(), and resultLabel.
Referenced by main().
|
static |
Definition at line 41 of file dw_find_test.cc.
Referenced by main().
|
static |
Definition at line 38 of file dw_find_test.cc.
Referenced by findCallback(), main(), and resetCallback().
|
static |
Definition at line 37 of file dw_find_test.cc.
Referenced by main().
|
static |
Definition at line 41 of file dw_find_test.cc.
Referenced by main().
|
static |
Definition at line 42 of file dw_find_test.cc.
Referenced by findCallback(), main(), and resetCallback().
|
static |
Definition at line 40 of file dw_find_test.cc.
Referenced by main().
|
static |
Definition at line 39 of file dw_find_test.cc.
Referenced by main().