Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
dw::fltk::FltkPreviewWindow Class Reference

#include <fltkpreview.hh>

Public Member Functions

 FltkPreviewWindow (dw::core::Layout *layout)
 
 ~FltkPreviewWindow ()
 
void reallocate ()
 
void showWindow ()
 
void hideWindow ()
 
void scrollTo (int mouseX, int mouseY)
 

Private Types

enum  { BORDER_WIDTH = 2 }
 

Private Attributes

FltkPreviewpreview
 
int posX
 
int posY
 

Detailed Description

Definition at line 59 of file fltkpreview.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
BORDER_WIDTH 

Definition at line 62 of file fltkpreview.hh.

Constructor & Destructor Documentation

◆ FltkPreviewWindow()

dw::fltk::FltkPreviewWindow::FltkPreviewWindow ( dw::core::Layout layout)

Definition at line 179 of file fltkpreview.cc.

References BORDER_WIDTH, layout, and preview.

◆ ~FltkPreviewWindow()

dw::fltk::FltkPreviewWindow::~FltkPreviewWindow ( )

Definition at line 191 of file fltkpreview.cc.

Member Function Documentation

◆ hideWindow()

void dw::fltk::FltkPreviewWindow::hideWindow ( )

Definition at line 253 of file fltkpreview.cc.

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

◆ reallocate()

◆ scrollTo()

◆ showWindow()

void dw::fltk::FltkPreviewWindow::showWindow ( )

Definition at line 195 of file fltkpreview.cc.

References reallocate().

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

Member Data Documentation

◆ posX

int dw::fltk::FltkPreviewWindow::posX
private

Definition at line 65 of file fltkpreview.hh.

Referenced by reallocate(), and scrollTo().

◆ posY

int dw::fltk::FltkPreviewWindow::posY
private

Definition at line 65 of file fltkpreview.hh.

Referenced by reallocate(), and scrollTo().

◆ preview

FltkPreview* dw::fltk::FltkPreviewWindow::preview
private

Definition at line 64 of file fltkpreview.hh.

Referenced by FltkPreviewWindow(), reallocate(), and scrollTo().


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