#include <editor.h>
Inheritance diagram for Box:


| Public Member Functions | |
| Box (Sint16, Sint16) | |
| virtual void | act (Sint8)=0 | 
| Activate specified entry, if no entry is selected this is -1. | |
| virtual void | input (Uint16) | 
| Uint8 | getSize () | 
| const SDL_Rect & | getArea () | 
| Sint8 | getCurrentEntry (Sint16, Sint16) | 
| Public Attributes | |
| string | title | 
| Name of the box. | |
| Protected Member Functions | |
| virtual void | update () | 
| Draw the box surface. | |
| Protected Attributes | |
| SDL_Surface * | surface | 
| Menu surface to be drawn. | |
| std::vector< string > | entries | 
| List of all Box entry names. | |
| Font * | font | 
| Font for non highlighted menu entries. | |
| Font * | font_title | 
| Font for the menu title. | |
| Font * | font_high | 
| Font for the selected menu entry. | |
| SDL_Rect | area | 
| Area occupied by the selection box. | |
| bool | centered | 
| True if the entries should be draw centered. | |
 1.3.8
 1.3.8