Changeset 528 for trunk/thune/gl/gui.h
- Timestamp:
- 05/30/08 18:36:20 (6 months ago)
- Files:
-
- 1 modified
-
trunk/thune/gl/gui.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/gl/gui.h
r527 r528 67 67 int16_t maxW; 68 68 int16_t maxH; 69 int8_tweightX;70 int8_tweightY;71 int8_tpolicyX;72 int8_tpolicyY;69 uint8_t weightX; 70 uint8_t weightY; 71 uint8_t policyX; 72 uint8_t policyY; 73 73 } 74 74 GSizeHint; … … 149 149 150 150 GWidget* gui_allocWidget( GUI*, int classId ); 151 //void gui_freeWidget( GUI*, GWidgetId );152 151 GWidget* gui_widgetPtr( GUI*, GWidgetId ); 153 152 void gui_link( GUI*, GWidget* parent, GWidgetId child ); 154 //void gui_unlink( GUI*, GWidgetId );155 153 void gui_enable( GUI*, GWidget*, int active ); 156 154 void gui_show( GUI*, GWidget*, int show ); … … 158 156 void gui_render( GUI*, GWidgetId ); 159 157 GWidget* gui_parseLayout( GUI*, GWidget* parent, GMakeState* ); 158 const UCell* gui_matchArgs( GMakeState* ms, int argc, ... ); 160 159 GWidget* gui_root( const GUI* ui, GWidgetId id ); 161 160 void gui_initRectCoord( UCell*, GWidget*, int len ); … … 165 164 166 165 166 #define GUI_PARSE_ERR(msg) \ 167 ms->error = msg; \ 168 return 0 169 170 #define GUI_PARSE_ALLOC(wp) \ 171 wp = gui_allocWidget(ui, classId); \ 172 if(! wp) { GUI_PARSE_ERR( "allocWidget failed" ); } 173 174 167 175 #endif /*GUI_H*/
