| OpenTTD
    | 
Container for the scenario editor's toolbar. More...
 
  
 | Private Member Functions | |
| void | SetupSmallestSize (Window *w, bool init_array) | 
| const byte * | GetButtonArrangement (uint &width, uint &arrangable_count, uint &button_count, uint &spacer_count) const | 
| Private Attributes | |
| uint | panel_widths [2] | 
| The width of the two panels (the text panel and date panel) | |
| Additional Inherited Members | |
|  Public Member Functions inherited from NWidgetToolbarContainer | |
| bool | IsButton (WidgetType type) const | 
| Check whether the given widget type is a button for us. | |
| void | SetupSmallestSize (Window *w, bool init_array) | 
| Compute smallest size needed by the widget. | |
| void | AssignSizePosition (SizingType sizing, uint x, uint y, uint given_width, uint given_height, bool rtl) | 
| Assign size and position to the widget. | |
| void | Draw (const Window *w) | 
| Draw the widgets of the tree. | |
| NWidgetCore * | GetWidgetFromPos (int x, int y) | 
| Retrieve a widget by its position. | |
| virtual const byte * | GetButtonArrangement (uint &width, uint &arrangable_count, uint &button_count, uint &spacer_count) const =0 | 
| Get the arrangement of the buttons for the toolbar. | |
|  Data Fields inherited from NWidgetBase | |
| WidgetType | type | 
| Type of the widget / nested widget. | |
| uint | fill_x | 
| Horizontal fill stepsize (from initial size, 0means not resizable). | |
| uint | fill_y | 
| Vertical fill stepsize (from initial size, 0means not resizable). | |
| uint | resize_x | 
| Horizontal resize step ( 0means not resizable). | |
| uint | resize_y | 
| Vertical resize step ( 0means not resizable). | |
| uint | smallest_x | 
| Smallest horizontal size of the widget in a filled window. | |
| uint | smallest_y | 
| Smallest vertical size of the widget in a filled window. | |
| uint | current_x | 
| Current horizontal size (after resizing). | |
| uint | current_y | 
| Current vertical size (after resizing). | |
| uint | pos_x | 
| Horizontal position of top-left corner of the widget in the window. | |
| uint | pos_y | 
| Vertical position of top-left corner of the widget in the window. | |
| NWidgetBase * | next | 
| Pointer to next widget in container. Managed by parent container widget. | |
| NWidgetBase * | prev | 
| Pointer to previous widget in container. Managed by parent container widget. | |
| uint8 | padding_top | 
| Paddings added to the top of the widget. Managed by parent container widget. | |
| uint8 | padding_right | 
| Paddings added to the right of the widget. Managed by parent container widget. (parent container may swap this with padding_left for RTL) | |
| uint8 | padding_bottom | 
| Paddings added to the bottom of the widget. Managed by parent container widget. | |
| uint8 | padding_left | 
| Paddings added to the left of the widget. Managed by parent container widget. (parent container may swap this with padding_right for RTL) | |
|  Protected Member Functions inherited from NWidgetBase | |
| void | StoreSizePosition (SizingType sizing, uint x, uint y, uint given_width, uint given_height) | 
| Store size and position. | |
|  Protected Attributes inherited from NWidgetToolbarContainer | |
| uint | spacers | 
| Number of spacer widgets in this toolbar. | |
Container for the scenario editor's toolbar.
Definition at line 1788 of file toolbar_gui.cpp.
 1.8.1.2
 1.8.1.2