Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

UUpdate Class Reference

specifies how to update UGroup, UBox, UWin objects and subclasses. More...

#include <update.hpp>

List of all members.

Public Types

enum  Mode {
  ALL, LAYOUT, PAINT, MOVE,
  SCROLL, SHOW, HIDE, TITLE
}

Public Member Functions

 UUpdate (Mode=ALL)
 constructor (see class UUpdate and its methods for details).

void layoutIfNotShown (bool=true)
 updates objects even if they are not shown (see UCtrl::isShown()).

void paintDoubleBuffered (bool=true)
 paints in double buffering mode.

void paintElem (const UElem *)
 [impl] paints this element (and whatever is located beneath or above it).

void paintStr (const UStr *, int strpos1, int strpos2)
 [impl] paints a subpart of this string.

void paintRegion (const URegion *)
 [impl] paints this region.

void paintTitle (const UStr *)
 [impl] paints this title.

void setOffset (u_pos delta_x, u_pos delta_y)
 [impl] used with the MOVE and SCROLL modes.


Static Public Attributes

const UUpdate layout
 same as: UUpdate(UUpdate::LAYOUT)

const UUpdate paint
 same as: UUpdate(UUpdate::PAINT)

const UUpdate all
 same as: UUpdate(UUpdate::ALL) = LAYOUT then PAINT


Detailed Description

specifies how to update UGroup, UBox, UWin objects and subclasses.

This object is given as an argument of UGroup::update() Examples:

       box.update(UUpdate::paint);   // repaints the box
       box.update(UUpdate::all);     // updates box layout then repaints
       box.update();                 // same as: box.update(UUpdate::all);
 
 Notes:


The documentation for this class was generated from the following files:
Generated on Tue Jul 27 18:01:56 2004 for Ubit[Eric.Lecolinet@enst.fr] by doxygen 1.3.7