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
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL
bool linear_gamma
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true
bool transp_scrollbars
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true transparent scrollbars: default is false
bool softwins
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true transparent scrollbars: default is false soft window mode: true in GL mode, false in X mode
bool telepointers
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true transparent scrollbars: default is false soft window mode: true in GL mode, false in X mode show telepointers in multi-disp mode
bool iconic
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true transparent scrollbars: default is false soft window mode: true in GL mode, false in X mode show telepointers in multi-disp mode not implemented
bool sync
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true transparent scrollbars: default is false soft window mode: true in GL mode, false in X mode show telepointers in multi-disp mode not implemented synchronous mode (for debugging): default is false
bool menu_grab
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true transparent scrollbars: default is false soft window mode: true in GL mode, false in X mode show telepointers in multi-disp mode not implemented synchronous mode (for debugging): default is false enables mouse grabs: default is true
bool scrollbar_grab
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true transparent scrollbars: default is false soft window mode: true in GL mode, false in X mode show telepointers in multi-disp mode not implemented synchronous mode (for debugging): default is false enables mouse grabs: default is true not implemented
bool force_winfocus
 these options must be specified at init and can't be changed. avoids flickering: default is false with X and true with GL gamma correction on Solaris: default is true transparent scrollbars: default is false soft window mode: true in GL mode, false in X mode show telepointers in multi-disp mode not implemented synchronous mode (for debugging): default is false enables mouse grabs: default is true not implemented 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

Friends

class UAppli
 impl, set by UDisp::UDisp
class UDisp


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 Thu May 19 12:40:32 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.2