Changeset 440 for trunk/nv/gui/gui_environment.hh
- Timestamp:
- 07/23/15 21:16:01 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/gui/gui_environment.hh
r433 r440 34 34 handle create_element( const rectangle& r ); 35 35 handle create_element( handle parent, const rectangle& r ); 36 void set_text( handle e, const st d::string& text );37 void set_class( handle e, const std::string& text );36 void set_text( handle e, const string_twine& text ); 37 void set_class( handle e, const string_view& text ); 38 38 void update(); 39 39 void draw(); 40 40 void destroy_element( handle e ); 41 41 bool process_io_event( const io_event& ev ); 42 string_view get_string( shash64 h ); 42 43 virtual ~environment(); 43 44 protected: … … 53 54 handle get_deepest_child( handle e, const position& p ); 54 55 void move_to_top( handle child ); 55 void move_to_bottom( handle child );56 56 void set_relative( handle e, const rectangle& r ); 57 57 void set_relative( handle e, const position& p ); … … 59 59 60 60 handle_store< element, handle > m_elements; 61 string_table m_strings; 61 62 renderer* m_renderer; 62 63 handle m_screen;
Note: See TracChangeset
for help on using the changeset viewer.