Last change
on this file was
5898,
checked in by westram, 15 years ago
|
- default button height may be defined using AW_window::button_height()
- detect_text_size → aw_detect_text_size (global). optimized using strcspn()
- AW_window::create_autosize_button()
- sets height of button
- asserts button is no graphical button
- asserts awar contains more than "" (otherwise autosizing makes no sense)
- AW_window::create_button uses default height (if set)
- aw_question works with questions containing linefeeds (fixed some wrong sized popups)
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.4 KB
|
Line | |
---|
1 | // ==================================================================== // |
---|
2 | // // |
---|
3 | // File : aw_global.hxx // |
---|
4 | // Purpose : global functions from WINDOWS lib // |
---|
5 | // // |
---|
6 | // // |
---|
7 | // Coded by Ralf Westram (coder@reallysoft.de) in June 2004 // |
---|
8 | // Copyright Department of Microbiology (Technical University Munich) // |
---|
9 | // // |
---|
10 | // Visit our web site at: http://www.arb-home.de/ // |
---|
11 | // // |
---|
12 | // ==================================================================== // |
---|
13 | |
---|
14 | #ifndef AW_GLOBAL_HXX |
---|
15 | #define AW_GLOBAL_HXX |
---|
16 | |
---|
17 | #ifndef AW_ROOT_HXX |
---|
18 | #include <aw_root.hxx> |
---|
19 | #endif |
---|
20 | |
---|
21 | void aw_create_selection_box_awars(AW_root *awr, const char *awar_base, |
---|
22 | const char *directory, const char *filter, const char *file_name, |
---|
23 | AW_default default_file = AW_ROOT_DEFAULT, bool resetValues = false); |
---|
24 | |
---|
25 | void aw_detect_text_size(const char *text, size_t& width, size_t& height); |
---|
26 | |
---|
27 | |
---|
28 | #else |
---|
29 | #error aw_global.hxx included twice |
---|
30 | #endif // AW_GLOBAL_HXX |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.