Dillo v3.1.1-111-gd4f56d0d
Loading...
Searching...
No Matches
dw_image_background.cc File Reference
#include <stdlib.h>
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include "dw/core.hh"
#include "dw/fltkcore.hh"
#include "dw/fltkviewport.hh"
#include "dw/textblock.hh"
#include "dw/image.hh"
Include dependency graph for dw_image_background.cc:

Go to the source code of this file.

Functions

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

Variables

static StyleImageimage1 = NULL
 
static StyleImageimage2 = NULL
 
static Layoutlayout
 
static int imgRow1 = 0
 
static int imgRow2 = 0
 
static ImageStyleDeletionReceiver isdr
 

Function Documentation

◆ imageDrawTimeout()

◆ imageInitTimeout()

static void imageInitTimeout ( void *  data)
static

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 107 of file dw_image_background.cc.

References dw::Textblock::addParbreak(), dw::Textblock::addSpace(), dw::Textblock::addText(), dw::core::Layout::attachView(), dw::core::style::BACKGROUND_ATTACHMENT_SCROLL, dw::core::style::BACKGROUND_REPEAT, dw::core::style::BACKGROUND_REPEAT_Y, dw::core::style::StyleAttrs::backgroundColor, dw::core::style::StyleAttrs::backgroundImage, dw::core::style::StyleAttrs::backgroundPositionX, dw::core::style::StyleAttrs::backgroundPositionY, dw::core::style::StyleAttrs::backgroundRepeat, dw::core::style::StyleAttrs::color, lout::signal::ObservedObject::connectDeletion(), dw::core::style::StyleImage::create(), dw::core::style::Font::create(), dw::core::style::Color::create(), dw::core::style::Style::create(), dw::core::style::createAbsLength(), dw::core::style::createPerLength(), dw::Textblock::flush(), dw::core::style::StyleAttrs::font, dw::core::style::FONT_STYLE_NORMAL, dw::core::style::FONT_VARIANT_NORMAL, dw::core::style::FontAttrs::fontVariant, image1, image2, imageDrawTimeout(), imageInitTimeout(), dw::core::style::StyleAttrs::initValues(), isdr, layout, dw::core::style::FontAttrs::letterSpacing, dw::core::style::StyleAttrs::margin, dw::core::style::FontAttrs::name, platform, dw::core::Layout::setBgImage(), dw::core::Widget::setStyle(), dw::core::style::Box::setVal(), dw::core::Layout::setWidget(), dw::core::style::FontAttrs::size, dw::core::style::FontAttrs::style, dw::core::style::Style::unref(), viewport, dw::core::style::FontAttrs::weight, widgetStyle, window, wordStyle, and dw::core::style::StyleAttrs::x_lang.

Variable Documentation

◆ image1

StyleImage* image1 = NULL
static

Definition at line 45 of file dw_image_background.cc.

Referenced by imageDrawTimeout(), imageInitTimeout(), and main().

◆ image2

StyleImage * image2 = NULL
static

Definition at line 45 of file dw_image_background.cc.

Referenced by imageDrawTimeout(), imageInitTimeout(), and main().

◆ imgRow1

int imgRow1 = 0
static

Definition at line 47 of file dw_image_background.cc.

Referenced by imageDrawTimeout().

◆ imgRow2

int imgRow2 = 0
static

Definition at line 47 of file dw_image_background.cc.

Referenced by imageDrawTimeout().

◆ isdr

ImageStyleDeletionReceiver isdr
static

Definition at line 48 of file dw_image_background.cc.

Referenced by main().

◆ layout

Layout* layout
static

Definition at line 46 of file dw_image_background.cc.

Referenced by imageInitTimeout(), and main().