19 #include <ubit/udefs.hpp> 20 #include <ubit/ustr.hpp> 21 #include <ubit/ufont.hpp> 53 const char *begname, *endname;
61 static class UOptionArg* Arg(
const char*& val);
62 static void parseOptions(
int& argc,
char** argv,
UOption* options);
73 void useGL(
bool =
true);
80 void useFreeType(
bool =
true);
86 void setDepthBuffer(
int size);
92 void setStencilBuffer(
int size);
103 void setLocale(
const UStr& s);
106 void setScale(
float v);
109 void setVerbose(
int v);
115 void setTransparentScrollbars(
bool);
117 virtual void printHelp();
122 bool isUsingGL()
const {
return is_using_gl;}
123 bool isUsingFreeType()
const {
return is_using_freetype;}
124 bool isVerbose()
const {
return verbosity != 0;}
125 int getVerbosity()
const {
return verbosity;}
159 soft_wins, soft_menus,
188 virtual void parseOptions(
int& argc,
char** argv,
UOption* options);
197 virtual void readAttributes(
const char* pathname);
222 UAttrList* getAttributes(
const char* category);
243 friend class UGlcanvas;
245 virtual void parseUbitOptions(
int& argc,
char** argv);
249 const char*
const windowing_toolkit;
250 bool is_using_gl, is_using_freetype;
252 int depth_size, stencil_size;
255 int filebox_width, filebox_height, filebox_line_count;
256 const int& mouse_select_button;
257 const int& mouse_menu_button;
258 const int& mouse_alt_button;
263 UFont* selection_font;
265 UColor* selection_bgcolor;
specification and retreiving of non standard options on the command line.
Definition: uconf.hpp:51
[Instable/OpenGL] 3D canvas: makes it possible to display children in 3D space.
Definition: u3d.hpp:31
[Impl] Native Font.
Definition: uhardfont.hpp:35
Image.
Definition: uima.hpp:50
Box container.
Definition: ubox.hpp:64
unsigned long auto_repeat_delay
delay (in ms) before autoRepeat becomes active (see UElem::setAutoRepeat()).
Definition: uconf.hpp:177
unsigned long open_tip_delay
delay (in ms) before a UTip is opened.
Definition: uconf.hpp:180
unsigned long multi_click_delay
< UOn::mclick is not generated if the mouse if moved more than this distance.
Definition: uconf.hpp:174
Definition: uappliImpl.hpp:40
const UStr & getLocale() const
current locale.
Definition: uconf.hpp:127
class for drawing on widgets.
Definition: ugraph.hpp:44
Widget background.
Definition: ubackground.hpp:30
Display Context.
Definition: udisp.hpp:44
[impl] Internal representation for fonts.
Definition: ufontImpl.hpp:24
Text editing and caret controller.
Definition: uedit.hpp:30
Color attribute of an element or a widget.
Definition: ucolor.hpp:73
Attribute list.
Definition: uattr.hpp:167
The Application Context.
Definition: uappli.hpp:79
int getMouseAltButton() const
No of the alternate button [default = middle btn or Alt-btn on the Mac].
Definition: uconf.hpp:139
lightweight general purpose container.
Definition: uelem.hpp:44
int getMouseMenuButton() const
No of the button that opens contextual menus [default = right btn or Ctrl-btn on the Mac]...
Definition: uconf.hpp:136
Definition: uconf.cpp:471
float getScale() const
global scale of the application.
Definition: uconf.hpp:130
Event Flow.
Definition: ueventflow.hpp:34
Font of a UElem or UBox container.
Definition: ufont.hpp:30
configuration of the UAppli.
Definition: uconf.hpp:68
Definition: uupdatecontext.hpp:32
Definition: uhardfont.hpp:31
Definition: ufilebox.hpp:49
Base class for windows and menus.
Definition: uwin.hpp:47
Pixmap Image.
Definition: upix.hpp:31
unsigned long open_submenu_delay
delay (in ms) before a cascaded UMenu is opened.
Definition: uconf.hpp:183
bool usync
enables synchronous graphics rendering for X11 and Ubit [default: false].
Definition: uconf.hpp:147
Ubit String.
Definition: ustr.hpp:72
int getMouseSelectButton() const
No of the standard button [default = left btn].
Definition: uconf.hpp:133