source: branches/stable/WINDOW/aw_at.hxx

Last change on this file was 16936, checked in by westram, 6 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1#ifndef AW_AT_HXX
2#define AW_AT_HXX
3
4#ifndef AW_BASE_HXX
5#include "aw_base.hxx"
6#endif
7
8// Motif misplaces or cripples widgets created beyond the current window limits.
9// Workaround: make window huge during setup (applies to windows which resize on show)
10// Note: Values below just need to be bigger than any actually created window, should probably be smaller than 32768
11#define WIDER_THAN_SCREEN  10000
12#define HIGHER_THAN_SCREEN  6000
13
14/**
15 * A cursor that describes where and how gui elements should be placed
16 * in a window.
17 */
18class AW_at {
19public:
20    short shadow_thickness;
21    short length_of_buttons;
22    short height_of_buttons;
23    short length_of_label_for_inputfield;
24    bool  highlight;
25
26    char      *helptext_for_next_button;
27    AW_active  widget_mask; // sensitivity (expert/novice mode)
28
29    unsigned long int background_color; // X11 Pixel
30
31    char *label_for_inputfield;
32
33    int x_for_next_button;
34    int y_for_next_button;
35    int max_x_size;
36    int max_y_size;
37
38    int  to_position_x;
39    int  to_position_y;
40    bool to_position_exists;
41
42    bool do_auto_space;
43    int  auto_space_x;
44    int  auto_space_y;
45
46    bool do_auto_increment;
47    int  auto_increment_x;
48    int  auto_increment_y;
49
50    int biggest_height_of_buttons;
51
52    short saved_xoff_for_label;
53
54    short saved_x;
55    int   correct_for_at_center;
56    short x_for_newline;
57
58    bool attach_x;           // attach right side to right form
59    bool attach_y;
60    bool attach_lx;          // attach left side to right form
61    bool attach_ly;
62    bool attach_any;
63
64    AW_at();
65};
66
67#else
68#error aw_at.hxx included twice
69#endif
Note: See TracBrowser for help on using the repository browser.