lpdsizes.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# lpdsizes.h

    00001 /*
    00002  *      Program                 lpdsizes.h
    00003  *      Purpose                 This header file contains all the coordinate for the gadgets
    00004  *                                              in the layer properties dialog.
    00005  * Author         Mollien J.C.
    00006  *              "Sunday morning I'm waking up, can't even focus on my coffee cup
    00007  *     I don't know whose bed I'm in, where do I start, where do I begin?"
    00008  * Modified                     13-10-1997
    00009  * Created                      13-10-1997
    00010 */
    00011
    00012 #ifndef LPDSIZES_H
    00013 #define LPDSIZES_H
    00014
    00015 #define LPD_B_W         20
    00016 #define LPD_B_H         20
    00017
    00018 #ifdef __UNIX__
    00019 // unix sizes
    00020
    00021         #define LPD_WH                  35              // hoogte van de regels
    00022
    00023 // number messages
    00024         #define LPD_NUMBER_X    15
    00025         #define LPD_NUMBER_Y 40
    00026
    00027 // name texts
    00028         #define LPD_NAME_X                      70
    00029         #define LPD_NAME_W              140
    00030         #define LPD_NAME_H              30
    00031
    00032 // Available checkboxes
    00033         #define LPD_AVAILABLE_X         230
    00034
    00035 // Visible checkboxes
    00036         #define LPD_VISIBLE_X           280
    00037
    00038 // Selectable checkboxes
    00039         #define LPD_SELECTABLE_X        340
    00040
    00041 // readlayer checkboxes
    00042         #define LPD_READLAYER_X         390
    00043
    00044 // Border color buttons
    00045         #define LPD_BORDERBOX_X         490
    00046
    00047 // Fill color buttons
    00048         #define LPD_FILLBOX_X           420
    00049
    00050 // Pattern buttons
    00051         #define LPD_PATTERNBOX_X        530
    00052         #define LPD_PATTERNBOX_W        50
    00053
    00054         #define LPD_MAPIN_X                     600
    00055         #define LPD_MAP_W                       30
    00056         #define LPD_MAPOUT_X            640
    00057
    00058
    00059
    00060 // Labels
    00061         #define LPD_NUMBERL_Y           5
    00062
    00063 // common defines for buttons
    00064
    00065         #define LPD_BUTTON_W            110
    00066         #define LPD_BUTTON_H                    25
    00067
    00068 //      _buttonOK
    00069         #define LPD_BUTTONOK_X          700
    00070         #define LPD_BUTTONOK_Y           50
    00071
    00072 //      _buttonCANCEL
    00073         #define LPD_BUTTONCANCEL_Y  80
    00074
    00075 //      _buttonHIDE
    00076         #define LPD_BUTTONHIDE_Y        120
    00077
    00078 //      _buttonSELECT
    00079         #define LPD_BUTTONSELECT_Y      150
    00080
    00081 //      _buttonREAD
    00082         #define LPD_BUTTONREAD_Y        180
    00083
    00084 //      _buttonPREV
    00085         #define LPD_BUTTONPREV_Y        220
    00086
    00087 //      _buttonNEXT
    00088         #define LPD_BUTTONNEXT_Y        260
    00089
    00090 // _groupbox1
    00091         #define LPD_GROUPBOX1_X 5
    00092         #define LPD_GROUPBOX1_Y 25
    00093         #define LPD_GROUPBOX1_W LPD_BUTTONOK_X + LPD_BUTTON_W + 10// minimum is LPD_BUTTONOK_X + LPD_BUTTON_W + corners
    00094         #define LPD_GROUPBOX1_H 370
    00095
    00096 //      _panel1
    00097         #define LPD_PANEL1_W LPD_GROUPBOX1_W + 10
    00098         #define LPD_PANEL1_H LPD_GROUPBOX1_H + LPD_GROUPBOX1_Y +10
    00099
    00100 #else
    00101 // windows sizes
    00102
    00103         #define LPD_WH                  23              // hoogte van de regels
    00104
    00105 // number messages
    00106         #define LPD_NUMBER_X    15
    00107         #define LPD_NUMBER_Y 30
    00108 // name texts
    00109         #define LPD_NAME_X                      60
    00110         #define LPD_NAME_W              140
    00111         #define LPD_NAME_H              17
    00112 // Available checkboxes
    00113         #define LPD_AVAILABLE_X         230
    00114 // Visible checkboxes
    00115         #define LPD_VISIBLE_X           275
    00116 // Selectable checkboxes
    00117         #define LPD_SELECTABLE_X        315
    00118 // readlayer checkboxes
    00119         #define LPD_READLAYER_X         355
    00120 // Border color buttons
    00121         #define LPD_BORDERBOX_X         450
    00122 // Fill color buttons
    00123         #define LPD_FILLBOX_X           400
    00124 // Pattern buttons
    00125         #define LPD_PATTERNBOX_X        500
    00126         #define LPD_PATTERNBOX_W        30
    00127
    00128         #define LPD_MAPIN_X                     540
    00129         #define LPD_MAP_W                       30
    00130         #define LPD_MAPOUT_X            580
    00131
    00132 // Labels
    00133         #define LPD_NUMBERL_Y 5
    00134
    00135 // common defines for buttons
    00136
    00137         #define LPD_BUTTON_W            100
    00138         #define LPD_BUTTON_H                    17
    00139
    00140 //      _buttonOK
    00141         #define LPD_BUTTONOK_X          650
    00142         #define LPD_BUTTONOK_Y           50
    00143 //      _buttonCANCEL
    00144         #define LPD_BUTTONCANCEL_Y  70
    00145 //      _buttonHIDE
    00146         #define LPD_BUTTONHIDE_Y        100
    00147 //      _buttonSELECT
    00148         #define LPD_BUTTONSELECT_Y      120
    00149 //      _buttonREAD
    00150         #define LPD_BUTTONREAD_Y        140
    00151 //      _buttonPREV
    00152         #define LPD_BUTTONPREV_Y        170
    00153 //      _buttonNEXT
    00154         #define LPD_BUTTONNEXT_Y        210
    00155 // _groupbox1
    00156         #define LPD_GROUPBOX1_X 5
    00157         #define LPD_GROUPBOX1_Y 15
    00158         #define LPD_GROUPBOX1_W LPD_BUTTONOK_X + LPD_BUTTON_W + 10// minimum is LPD_BUTTONOK_X + LPD_BUTTON_W + corners
    00159         #define LPD_GROUPBOX1_H 255
    00160 //      _panel1
    00161         #define LPD_PANEL1_W LPD_GROUPBOX1_W + 10
    00162         #define LPD_PANEL1_H LPD_GROUPBOX1_H + LPD_GROUPBOX1_Y +10
    00163
    00164 #endif // ifdef __UNIX__  .. else ..
    00165
    00166 #endif

lpdsizes.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page