• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

cimg_library::CImgDisplay

cimg_library::CImgDisplay Struct Reference

This class represents a window which can display CImg images and handles mouse and keyboard events. More...

#include <CImg.h>

List of all members.

Public Member Functions

 CImgDisplay (const CImgDisplay &disp)
template<typename T >
 CImgDisplay (const CImgList< T > &list, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)
template<typename T >
 CImgDisplay (const CImg< T > &img, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)
 CImgDisplay (const unsigned int dimw, const unsigned int dimh, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)
 CImgDisplay ()
 ~CImgDisplay ()
CImgDisplay & assign (const CImgDisplay &disp)
template<typename T >
CImgDisplay & assign (const CImgList< T > &list, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)
template<typename T >
CImgDisplay & assign (const CImg< T > &img, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)
CImgDisplay & assign (const unsigned int dimw, const unsigned int dimh, const char *title=0, const unsigned int normalization_type=3, const bool fullscreen_flag=false, const bool closed_flag=false)
CImgDisplay & assign ()
CImgDisplay & close ()
int dimx () const
int dimy () const
template<typename T >
CImgDisplay & display (const CImg< T > &img)
template<typename T >
CImgDisplay & display (const CImgList< T > &list, const char axis='x', const char align='p')
CImgDisplay & flush ()
float frames_per_second ()
CImgDisplay & fullscreen (const bool redraw=true)
CImgDisplay & hide_mouse ()
bool is_empty () const
bool is_key (const unsigned int *const keyseq, const unsigned int N, const bool remove=true)
bool is_key (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const unsigned int key8, const unsigned int key9, const bool remove)
bool is_key (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const unsigned int key8, const bool remove)
bool is_key (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const unsigned int key7, const bool remove)
bool is_key (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const unsigned int key6, const bool remove)
bool is_key (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const unsigned int key5, const bool remove)
bool is_key (const unsigned int key1, const unsigned int key2, const unsigned int key3, const unsigned int key4, const bool remove)
bool is_key (const unsigned int key1, const unsigned int key2, const unsigned int key3, const bool remove)
bool is_key (const unsigned int key1, const unsigned int key2, const bool remove)
bool is_key (const unsigned int key1, const bool remove)
bool is_key (const bool remove=false)
CImgDisplay & move (const int posx, const int posy)
CImgDisplay & normalscreen (const bool redraw=true)
 operator bool () const
template<typename T >
CImgDisplay & operator<< (const CImgList< T > &list)
template<typename T >
CImgDisplay & operator<< (const CImg< T > &img)
CImgDisplay & operator= (const CImgDisplay &disp)
CImgDisplay & paint ()
template<typename T >
CImgDisplay & render (const CImg< T > &img)
CImgDisplay & resize (const int width, const int height, const bool redraw=true)
CImgDisplay & resize (const bool redraw=true)
CImgDisplay & resize (const CImgDisplay &disp, const bool redraw=true)
template<typename T >
CImgDisplay & resize (const CImg< T > &img, const bool redraw=true)
CImgDisplay & set_mouse (const int posx, const int posy)
CImgDisplay & set_title (const char *format,...)
CImgDisplay & show ()
CImgDisplay & show_mouse ()
template<typename T >
const CImgDisplay & snapshot (CImg< T > &img) const
CImgDisplay & toggle_fullscreen (const bool redraw=true)
void update_iskey (const unsigned int key, const bool pressed=true)
CImgDisplay & wait ()
CImgDisplay & wait (const unsigned int milliseconds)
int window_dimx () const
int window_dimy () const
int window_posx () const
int window_posy () const

Static Public Member Functions

static unsigned int _fitscreen (const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const int dmin=128, const int dmax=-85, const bool return_last=false)
template<typename t , typename T >
static void _render_resize (const T *ptrs, const unsigned int ws, const unsigned int hs, t *ptrd, const unsigned int wd, const unsigned int hd)
static int screen_dimx ()
static int screen_dimy ()
static void wait (CImgDisplay &disp1, CImgDisplay &disp2, CImgDisplay &disp3, CImgDisplay &disp4)
static void wait (CImgDisplay &disp1, CImgDisplay &disp2, CImgDisplay &disp3)
static void wait (CImgDisplay &disp1, CImgDisplay &disp2)
static void wait (CImgDisplay &disp1)
static void wait_all ()

Public Attributes

volatile unsigned int & button
volatile unsigned int buttons [512]
float fps_fps
unsigned long fps_frames
unsigned long fps_timer
unsigned int height
volatile bool is_closed
volatile bool is_event
bool is_fullscreen
volatile bool is_key0
volatile bool is_key1
volatile bool is_key2
volatile bool is_key3
volatile bool is_key4
volatile bool is_key5
volatile bool is_key6
volatile bool is_key7
volatile bool is_key8
volatile bool is_key9
volatile bool is_keyA
volatile bool is_keyALT
volatile bool is_keyALTGR
volatile bool is_keyAPPLEFT
volatile bool is_keyAPPRIGHT
volatile bool is_keyARROWDOWN
volatile bool is_keyARROWLEFT
volatile bool is_keyARROWRIGHT
volatile bool is_keyARROWUP
volatile bool is_keyB
volatile bool is_keyBACKSPACE
volatile bool is_keyC
volatile bool is_keyCAPSLOCK
volatile bool is_keyCTRLLEFT
volatile bool is_keyCTRLRIGHT
volatile bool is_keyD
volatile bool is_keyDELETE
volatile bool is_keyE
volatile bool is_keyEND
volatile bool is_keyENTER
volatile bool is_keyESC
volatile bool is_keyF
volatile bool is_keyF1
volatile bool is_keyF10
volatile bool is_keyF11
volatile bool is_keyF12
volatile bool is_keyF2
volatile bool is_keyF3
volatile bool is_keyF4
volatile bool is_keyF5
volatile bool is_keyF6
volatile bool is_keyF7
volatile bool is_keyF8
volatile bool is_keyF9
volatile bool is_keyG
volatile bool is_keyH
volatile bool is_keyHOME
volatile bool is_keyI
volatile bool is_keyINSERT
volatile bool is_keyJ
volatile bool is_keyK
volatile bool is_keyL
volatile bool is_keyM
volatile bool is_keyMENU
volatile bool is_keyN
volatile bool is_keyO
volatile bool is_keyP
volatile bool is_keyPAD0
volatile bool is_keyPAD1
volatile bool is_keyPAD2
volatile bool is_keyPAD3
volatile bool is_keyPAD4
volatile bool is_keyPAD5
volatile bool is_keyPAD6
volatile bool is_keyPAD7
volatile bool is_keyPAD8
volatile bool is_keyPAD9
volatile bool is_keyPADADD
volatile bool is_keyPADDIV
volatile bool is_keyPADMUL
volatile bool is_keyPADSUB
volatile bool is_keyPAGEDOWN
volatile bool is_keyPAGEUP
volatile bool is_keyPAUSE
volatile bool is_keyQ
volatile bool is_keyR
volatile bool is_keyS
volatile bool is_keySHIFTLEFT
volatile bool is_keySHIFTRIGHT
volatile bool is_keySPACE
volatile bool is_keyT
volatile bool is_keyTAB
volatile bool is_keyU
volatile bool is_keyV
volatile bool is_keyW
volatile bool is_keyX
volatile bool is_keyY
volatile bool is_keyZ
volatile bool is_moved
volatile bool is_resized
volatile unsigned int & key
volatile unsigned int keys [512]
float max
float min
volatile int mouse_x
volatile int mouse_y
unsigned int normalization
volatile unsigned int & released_key
volatile unsigned int released_keys [512]
unsigned long timer
char * title
volatile int wheel
unsigned int width
volatile unsigned int window_height
volatile unsigned int window_width
volatile int window_x
volatile int window_y

Detailed Description

This class represents a window which can display CImg images and handles mouse and keyboard events.

Creating a CImgDisplay instance opens a window that can be used to display a CImg<T> image of a CImgList<T> image list inside. When a display is created, associated window events (such as mouse motion, keyboard and window size changes) are handled and can be easily detected by testing specific CImgDisplay data fields. See cimg_displays for a complete tutorial on using the CImgDisplay class.

Definition at line 6413 of file CImg.h.


Constructor & Destructor Documentation

cimg_library::CImgDisplay::CImgDisplay (  )  [inline]

Create an empty display window.

Definition at line 6597 of file CImg.h.

cimg_library::CImgDisplay::CImgDisplay ( const unsigned int  dimw,
const unsigned int  dimh,
const char *  title = 0,
const unsigned int  normalization_type = 3,
const bool  fullscreen_flag = false,
const bool  closed_flag = false 
) [inline]

Create a display window with a specified size pwidth x height.

Parameters:
dimw Width of the display window.
dimh Height of the display window.
title Title of the display window.
normalization_type Normalization type of the display window (0=none, 1=always, 2=once).
fullscreen_flag : Fullscreen mode.
closed_flag : Initially visible mode. A black image will be initially displayed in the display window.

Definition at line 6613 of file CImg.h.

template<typename T >
cimg_library::CImgDisplay::CImgDisplay ( const CImg< T > &  img,
const char *  title = 0,
const unsigned int  normalization_type = 3,
const bool  fullscreen_flag = false,
const bool  closed_flag = false 
) [inline]

Create a display window from an image.

Parameters:
img : Image that will be used to create the display window.
title : Title of the display window
normalization_type : Normalization type of the display window.
fullscreen_flag : Fullscreen mode.
closed_flag : Initially visible mode.

Definition at line 6632 of file CImg.h.

template<typename T >
cimg_library::CImgDisplay::CImgDisplay ( const CImgList< T > &  list,
const char *  title = 0,
const unsigned int  normalization_type = 3,
const bool  fullscreen_flag = false,
const bool  closed_flag = false 
) [inline]

Create a display window from an image list.

Parameters:
list : The list of images to display.
title : Title of the display window
normalization_type : Normalization type of the display window.
fullscreen_flag : Fullscreen mode.
closed_flag : Initially visible mode.

Definition at line 6650 of file CImg.h.

cimg_library::CImgDisplay::CImgDisplay ( const CImgDisplay &  disp  )  [inline]

Create a display window by copying another one.

Parameters:
disp : Display window to copy.

Definition at line 6664 of file CImg.h.

cimg_library::CImgDisplay::~CImgDisplay (  )  [inline]

Destructor.

Definition at line 6673 of file CImg.h.


Member Function Documentation

static unsigned int cimg_library::CImgDisplay::_fitscreen ( const unsigned int  dx,
const unsigned int  dy = 1,
const unsigned int  dz = 1,
const int  dmin = 128,
const int  dmax = -85,
const bool  return_last = false 
) [inline, static]

Definition at line 6995 of file CImg.h.

template<typename t , typename T >
static void cimg_library::CImgDisplay::_render_resize ( const T *  ptrs,
const unsigned int  ws,
const unsigned int  hs,
t *  ptrd,
const unsigned int  wd,
const unsigned int  hd 
) [inline, static]

Definition at line 6831 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::assign ( const CImgDisplay &  disp  )  [inline]

In-place version of the previous constructor.

Definition at line 7069 of file CImg.h.

template<typename T >
CImgDisplay& cimg_library::CImgDisplay::assign ( const CImgList< T > &  list,
const char *  title = 0,
const unsigned int  normalization_type = 3,
const bool  fullscreen_flag = false,
const bool  closed_flag = false 
) [inline]

In-place version of the previous constructor.

Definition at line 7059 of file CImg.h.

template<typename T >
CImgDisplay& cimg_library::CImgDisplay::assign ( const CImg< T > &  img,
const char *  title = 0,
const unsigned int  normalization_type = 3,
const bool  fullscreen_flag = false,
const bool  closed_flag = false 
) [inline]

In-place version of the previous constructor.

Definition at line 7048 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::assign ( const unsigned int  dimw,
const unsigned int  dimh,
const char *  title = 0,
const unsigned int  normalization_type = 3,
const bool  fullscreen_flag = false,
const bool  closed_flag = false 
) [inline]

In-place version of the previous constructor.

Definition at line 7037 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::assign (  )  [inline]

In-place version of the destructor.

Definition at line 7032 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::close (  )  [inline]

Close a visible display.

Definition at line 7093 of file CImg.h.

int cimg_library::CImgDisplay::dimx (  )  const [inline]

Return display width.

Definition at line 6693 of file CImg.h.

int cimg_library::CImgDisplay::dimy (  )  const [inline]

Return display height.

Definition at line 6698 of file CImg.h.

template<typename T >
CImgDisplay& cimg_library::CImgDisplay::display ( const CImg< T > &  img  )  [inline]

Display an image in a window.

Definition at line 7130 of file CImg.h.

template<typename T >
CImgDisplay& cimg_library::CImgDisplay::display ( const CImgList< T > &  list,
const char  axis = 'x',
const char  align = 'p' 
) [inline]

Display an image list CImgList<T> into a display window.

First, all images of the list are appended into a single image used for visualization, then this image is displayed in the current display window.

Parameters:
list : The list of images to display.
axis : The axis used to append the image for visualization. Can be 'x' (default),'y','z' or 'v'.
align : Defines the relative alignment of images when displaying images of different sizes. Can be 'c' (centered, which is the default), 'p' (top alignment) and 'n' (bottom aligment).

Definition at line 6780 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::flush (  )  [inline]

Clear all events of the current display.

Definition at line 6854 of file CImg.h.

float cimg_library::CImgDisplay::frames_per_second (  )  [inline]

Return the frame per second rate.

Definition at line 6759 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::fullscreen ( const bool  redraw = true  )  [inline]

Set fullscreen mode.

Definition at line 6818 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::hide_mouse (  )  [inline]

Hide mouse pointer.

Definition at line 7110 of file CImg.h.

bool cimg_library::CImgDisplay::is_empty (  )  const [inline]

Return true is display is empty.

Definition at line 6683 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int *const   keyseq,
const unsigned int  N,
const bool  remove = true 
) [inline]

Test if a key sequence has been typed.

Definition at line 6975 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const unsigned int  key2,
const unsigned int  key3,
const unsigned int  key4,
const unsigned int  key5,
const unsigned int  key6,
const unsigned int  key7,
const unsigned int  key8,
const unsigned int  key9,
const bool  remove 
) [inline]

Test if a key sequence has been typed.

Definition at line 6967 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const unsigned int  key2,
const unsigned int  key3,
const unsigned int  key4,
const unsigned int  key5,
const unsigned int  key6,
const unsigned int  key7,
const unsigned int  key8,
const bool  remove 
) [inline]

Test if a key sequence has been typed.

Definition at line 6959 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const unsigned int  key2,
const unsigned int  key3,
const unsigned int  key4,
const unsigned int  key5,
const unsigned int  key6,
const unsigned int  key7,
const bool  remove 
) [inline]

Test if a key sequence has been typed.

Definition at line 6951 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const unsigned int  key2,
const unsigned int  key3,
const unsigned int  key4,
const unsigned int  key5,
const unsigned int  key6,
const bool  remove 
) [inline]

Test if a key sequence has been typed.

Definition at line 6944 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const unsigned int  key2,
const unsigned int  key3,
const unsigned int  key4,
const unsigned int  key5,
const bool  remove 
) [inline]

Test if a key sequence has been typed.

Definition at line 6937 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const unsigned int  key2,
const unsigned int  key3,
const unsigned int  key4,
const bool  remove 
) [inline]

Test if a key sequence has been typed.

Definition at line 6930 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const unsigned int  key2,
const unsigned int  key3,
const bool  remove 
) [inline]

Test if a key sequence has been typed.

Definition at line 6924 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const unsigned int  key2,
const bool  remove 
) [inline]

Test if a key sequence has been typed.

Definition at line 6918 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const unsigned int  key1,
const bool  remove 
) [inline]

Test if a key has been pressed.

Definition at line 6912 of file CImg.h.

bool cimg_library::CImgDisplay::is_key ( const bool  remove = false  )  [inline]

Test if any key has been pressed.

Definition at line 6906 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::move ( const int  posx,
const int  posy 
) [inline]

Move window.

Definition at line 7098 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::normalscreen ( const bool  redraw = true  )  [inline]

Set normal screen mode.

Definition at line 6824 of file CImg.h.

cimg_library::CImgDisplay::operator bool (  )  const [inline]

Return true if display is not empty.

Definition at line 6688 of file CImg.h.

template<typename T >
CImgDisplay& cimg_library::CImgDisplay::operator<< ( const CImgList< T > &  list  )  [inline]

Display an image CImg<T> into a display window.

Definition at line 6792 of file CImg.h.

template<typename T >
CImgDisplay& cimg_library::CImgDisplay::operator<< ( const CImg< T > &  img  )  [inline]

Display an image CImg<T> into a display window.

Definition at line 6786 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::operator= ( const CImgDisplay &  disp  )  [inline]

Assignment operator.

Definition at line 6678 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::paint (  )  [inline]

Re-paint image content in window.

Definition at line 7137 of file CImg.h.

template<typename T >
CImgDisplay& cimg_library::CImgDisplay::render ( const CImg< T > &  img  )  [inline]

Render image buffer into GDI native image format.

Definition at line 7143 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::resize ( const int  width,
const int  height,
const bool  redraw = true 
) [inline]

Resize window.

Definition at line 7074 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::resize ( const bool  redraw = true  )  [inline]

Resize a display window in its current size.

Definition at line 6812 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::resize ( const CImgDisplay &  disp,
const bool  redraw = true 
) [inline]

Resize a display window using the size of the given display disp.

Definition at line 6807 of file CImg.h.

template<typename T >
CImgDisplay& cimg_library::CImgDisplay::resize ( const CImg< T > &  img,
const bool  redraw = true 
) [inline]

Resize a display window with the size of an image.

Parameters:
img : Input image. image.width and image.height give the new dimensions of the display window.
redraw : If true (default), the current displayed image in the display window will be bloc-interpolated to fit the new dimensions. If false, a black image will be drawn in the resized window.

Definition at line 6802 of file CImg.h.

static int cimg_library::CImgDisplay::screen_dimx (  )  [inline, static]

Return the width of the screen resolution.

Definition at line 7019 of file CImg.h.

static int cimg_library::CImgDisplay::screen_dimy (  )  [inline, static]

Return the height of the screen resolution.

Definition at line 7024 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::set_mouse ( const int  posx,
const int  posy 
) [inline]

Move mouse pointer to a specific location.

Definition at line 7115 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::set_title ( const char *  format,
  ... 
) [inline]

Set the window title.

Definition at line 7122 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::show (  )  [inline]

Show a closed display.

Definition at line 7088 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::show_mouse (  )  [inline]

Show mouse pointer.

Definition at line 7105 of file CImg.h.

template<typename T >
const CImgDisplay& cimg_library::CImgDisplay::snapshot ( CImg< T > &  img  )  const [inline]

Take a snapshot of the display in the specified image.

Definition at line 7151 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::toggle_fullscreen ( const bool  redraw = true  )  [inline]

Toggle fullscreen mode.

Definition at line 7081 of file CImg.h.

void cimg_library::CImgDisplay::update_iskey ( const unsigned int  key,
const bool  pressed = true 
) [inline]

Definition at line 6876 of file CImg.h.

static void cimg_library::CImgDisplay::wait ( CImgDisplay &  disp1,
CImgDisplay &  disp2,
CImgDisplay &  disp3,
CImgDisplay &  disp4 
) [inline, static]

Wait for any event occuring either on the display disp1, disp2, disp3 or disp4.

Definition at line 6753 of file CImg.h.

static void cimg_library::CImgDisplay::wait ( CImgDisplay &  disp1,
CImgDisplay &  disp2,
CImgDisplay &  disp3 
) [inline, static]

Wait for any event occuring either on the display disp1, disp2 or disp3.

Definition at line 6747 of file CImg.h.

static void cimg_library::CImgDisplay::wait ( CImgDisplay &  disp1,
CImgDisplay &  disp2 
) [inline, static]

Wait for any event occuring either on the display disp1 or disp2.

Definition at line 6741 of file CImg.h.

static void cimg_library::CImgDisplay::wait ( CImgDisplay &  disp1  )  [inline, static]

Wait for any event occuring on the display disp1.

Definition at line 6735 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::wait (  )  [inline]

Wait for an event occuring on the current display.

Definition at line 6729 of file CImg.h.

CImgDisplay& cimg_library::CImgDisplay::wait ( const unsigned int  milliseconds  )  [inline]

Synchronized waiting function. Same as cimg::wait().

Definition at line 6723 of file CImg.h.

static void cimg_library::CImgDisplay::wait_all (  )  [inline, static]

Wait for a window event in any CImg window.

Definition at line 7029 of file CImg.h.

int cimg_library::CImgDisplay::window_dimx (  )  const [inline]

Return display window width.

Definition at line 6703 of file CImg.h.

int cimg_library::CImgDisplay::window_dimy (  )  const [inline]

Return display window height.

Definition at line 6708 of file CImg.h.

int cimg_library::CImgDisplay::window_posx (  )  const [inline]

Return X-coordinate of the window.

Definition at line 6713 of file CImg.h.

int cimg_library::CImgDisplay::window_posy (  )  const [inline]

Return Y-coordinate of the window.

Definition at line 6718 of file CImg.h.


Member Data Documentation

volatile unsigned int& cimg_library::CImgDisplay::button

Definition at line 6447 of file CImg.h.

volatile unsigned int cimg_library::CImgDisplay::buttons[512]

Button state of the mouse.

Definition at line 6446 of file CImg.h.

float cimg_library::CImgDisplay::fps_fps

Definition at line 6565 of file CImg.h.

unsigned long cimg_library::CImgDisplay::fps_frames

Definition at line 6566 of file CImg.h.

unsigned long cimg_library::CImgDisplay::fps_timer

Definition at line 6566 of file CImg.h.

unsigned int cimg_library::CImgDisplay::height

Height of the display.

Definition at line 6419 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_closed

Closed state of the window.

Definition at line 6461 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_event

Event state of the window.

Definition at line 6470 of file CImg.h.

bool cimg_library::CImgDisplay::is_fullscreen

Fullscreen state of the display.

Definition at line 6563 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key0

Definition at line 6496 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key1

Definition at line 6487 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key2

Definition at line 6488 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key3

Definition at line 6489 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key4

Definition at line 6490 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key5

Definition at line 6491 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key6

Definition at line 6492 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key7

Definition at line 6493 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key8

Definition at line 6494 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_key9

Definition at line 6495 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyA

Definition at line 6516 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyALT

Definition at line 6538 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyALTGR

Definition at line 6540 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyAPPLEFT

Definition at line 6537 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyAPPRIGHT

Definition at line 6541 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyARROWDOWN

Definition at line 6545 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyARROWLEFT

Definition at line 6544 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyARROWRIGHT

Definition at line 6546 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyARROWUP

Definition at line 6535 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyB

Definition at line 6531 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyBACKSPACE

Definition at line 6497 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyC

Definition at line 6529 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyCAPSLOCK

Definition at line 6515 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyCTRLLEFT

Definition at line 6536 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyCTRLRIGHT

Definition at line 6543 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyD

Definition at line 6518 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyDELETE

Definition at line 6512 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyE

Definition at line 6504 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyEND

Definition at line 6513 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyENTER

Definition at line 6525 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyESC

Current state of the corresponding key (exists for all referenced keys).

Definition at line 6473 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF

Definition at line 6519 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF1

Definition at line 6474 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF10

Definition at line 6483 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF11

Definition at line 6484 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF12

Definition at line 6485 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF2

Definition at line 6475 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF3

Definition at line 6476 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF4

Definition at line 6477 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF5

Definition at line 6478 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF6

Definition at line 6479 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF7

Definition at line 6480 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF8

Definition at line 6481 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyF9

Definition at line 6482 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyG

Definition at line 6520 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyH

Definition at line 6521 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyHOME

Definition at line 6499 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyI

Definition at line 6509 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyINSERT

Definition at line 6498 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyJ

Definition at line 6522 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyK

Definition at line 6523 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyL

Definition at line 6524 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyM

Definition at line 6533 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyMENU

Definition at line 6542 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyN

Definition at line 6532 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyO

Definition at line 6510 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyP

Definition at line 6511 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD0

Definition at line 6547 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD1

Definition at line 6548 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD2

Definition at line 6549 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD3

Definition at line 6550 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD4

Definition at line 6551 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD5

Definition at line 6552 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD6

Definition at line 6553 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD7

Definition at line 6554 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD8

Definition at line 6555 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAD9

Definition at line 6556 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPADADD

Definition at line 6557 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPADDIV

Definition at line 6560 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPADMUL

Definition at line 6559 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPADSUB

Definition at line 6558 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAGEDOWN

Definition at line 6514 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAGEUP

Definition at line 6500 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyPAUSE

Definition at line 6486 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyQ

Definition at line 6502 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyR

Definition at line 6505 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyS

Definition at line 6517 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keySHIFTLEFT

Definition at line 6526 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keySHIFTRIGHT

Definition at line 6534 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keySPACE

Definition at line 6539 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyT

Definition at line 6506 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyTAB

Definition at line 6501 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyU

Definition at line 6508 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyV

Definition at line 6530 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyW

Definition at line 6503 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyX

Definition at line 6528 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyY

Definition at line 6507 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_keyZ

Definition at line 6527 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_moved

Moved state of the window.

Definition at line 6467 of file CImg.h.

volatile bool cimg_library::CImgDisplay::is_resized

Resized state of the window.

Definition at line 6464 of file CImg.h.

volatile unsigned int& cimg_library::CImgDisplay::key

Key value if pressed.

Definition at line 6453 of file CImg.h.

volatile unsigned int cimg_library::CImgDisplay::keys[512]

Definition at line 6454 of file CImg.h.

float cimg_library::CImgDisplay::max

Definition at line 6565 of file CImg.h.

float cimg_library::CImgDisplay::min

Definition at line 6565 of file CImg.h.

volatile int cimg_library::CImgDisplay::mouse_x

X-coordinate of the mouse pointer on the display.

Definition at line 6440 of file CImg.h.

volatile int cimg_library::CImgDisplay::mouse_y

Y-coordinate of the mouse pointer on the display.

Definition at line 6443 of file CImg.h.

unsigned int cimg_library::CImgDisplay::normalization

Normalization type used for the display.

Definition at line 6422 of file CImg.h.

volatile unsigned int& cimg_library::CImgDisplay::released_key

Key value if released.

Definition at line 6457 of file CImg.h.

volatile unsigned int cimg_library::CImgDisplay::released_keys[512]

Definition at line 6458 of file CImg.h.

unsigned long cimg_library::CImgDisplay::timer

Definition at line 6566 of file CImg.h.

char* cimg_library::CImgDisplay::title

Display title.

Definition at line 6425 of file CImg.h.

volatile int cimg_library::CImgDisplay::wheel

Wheel state of the mouse.

Definition at line 6450 of file CImg.h.

unsigned int cimg_library::CImgDisplay::width

Width of the display.

Definition at line 6416 of file CImg.h.

volatile unsigned int cimg_library::CImgDisplay::window_height

Height of the underlying window.

Definition at line 6437 of file CImg.h.

volatile unsigned int cimg_library::CImgDisplay::window_width

Width of the underlying window.

Definition at line 6434 of file CImg.h.

volatile int cimg_library::CImgDisplay::window_x

X-pos of the display on the screen.

Definition at line 6428 of file CImg.h.

volatile int cimg_library::CImgDisplay::window_y

Y-pos of the display on the screen.

Definition at line 6431 of file CImg.h.


The documentation for this struct was generated from the following file:
  • CImg.h

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal