Ignore:
Timestamp:
07/23/15 21:16:01 (10 years ago)
Author:
epyon
Message:
  • massive std::string removal
  • no header depends on std::string anymore (or any other STL header)
  • still some code files do (WIP)
  • massive refactoring where std::string was used
  • lua still messy (grep for string128 - used everywhere)
  • string_twine added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/gui/gui_element.hh

    r395 r440  
    3030                public:
    3131                        /// List type
    32                         typedef std::list<handle> list;
    33 
    34                         std::string    m_id;              ///< id type of the object
     32                        // TODO: change to small_vector once implemented!
     33                        typedef vector< handle > child_list;
     34                        shash64 m_id;              ///< id type of the object
    3535                        handle    m_parent;          ///< pointer to parent
    3636                        flags     m_flags;
    37                         list      m_children;        ///< children objects
     37                        child_list m_children;        ///< children objects
    3838                        size_t    m_child_count;     ///< number of children
    39                         std::string    m_class; ///< Class name.
    40                         std::string    m_text; ///< Displayed label or text.
     39                        shash64    m_class; ///< Class name.
     40                        string_buffer m_text; ///< Displayed label or text.
    4141                        rectangle m_relative; ///< Position relative to parent.
    4242                        rectangle m_absolute; ///< Position relative to window/screen.
Note: See TracChangeset for help on using the changeset viewer.