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

UConf Class Reference

configuration of the UAppli. More...

#include <uconf.hpp>

List of all members.

Public Types

enum  GraphicsEngine { X11, OGL }

Public Member Functions

 UConf (int &_argc, char **_argv, UOption *client_options=null)

Public Attributes

const char * disp_name
 starts the appli on this X-server display (default is null)

const char * app_name
const char * locale
 locale used by the application (default is null)

enum GraphicsEngine graphics_engine
 not used in this version.

int truecolor_depth
 number of bits for representing colors in "True Color" mode

bool double_buffering
 avoids flickering: default is false with X and true with GL

bool linear_gamma
 gamma correction on Solaris: default is true

bool transp_scrollbars
 transparent scrollbars: default is false

bool softwins
 soft window mode: true in GL mode, false in X mode

bool telepointers
 show telepointers in multi-disp mode

bool iconic
 not implemented

bool sync
 synchronous mode (for debugging): default is false

bool menu_grab
 enables mouse grabs: default is true

bool scrollbar_grab
 not implemented

bool force_winfocus
 should be true except in special cases

UStyledefaultStyle
UPixunknown_image
 used when an image is not found (default= &UPix::question)

int app_lscale
 logical scale applied to all windows (0 is the default)

u_dim max_app_width
 maximum size used by the windows of the UAppli (-1, the default, means no constraint)

u_dim max_app_height
 maximum size used by the windows of the UAppli (-1, the default, means no constraint)

int scrollpane_mode
u_dim scrollpane_bar_size
UWidthfilebox_width
 MUST be defined (default= 400).

UHeightfilebox_height
 MUST be defined (default= 230).

int filebox_line_count
 MUST be defined (default= 10).

u_dim mouse_click_radius
u_time mouse_click_delay
 millisec, for double clicks

u_time auto_open_menu_delay
 millisec, for opening menus

UColordefault_selection_color
 none if pointer is null

UColordefault_selection_bgcolor
 none if pointer is null

UFontdefault_selection_font
 none if pointer is null

float app_xyscale


Detailed Description

configuration of the UAppli.


Member Data Documentation

int UConf::truecolor_depth
 

number of bits for representing colors in "True Color" mode

Default is 24 bits. A value of 0 means "use server default".

Notes:

  • truecolor_depth is a hint: the visual with the closest depth available will be used.
  • TrueColor mode should be used whenever possible because it is requested for alpha blending (transparency)


The documentation for this class was generated from the following files:
Generated on Wed Aug 18 07:38:55 2004 for Ubit[Eric.Lecolinet@enst.fr] by doxygen 1.3.7