Changeset 350 for trunk/nv/gui/gui_style.hh
- Timestamp:
- 02/04/15 16:37:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/gui/gui_style.hh
r319 r350 28 28 style(); 29 29 void load_style( const std::string& filename ); 30 bool get( element* e, const std::string&entry, std::string& s );31 bool get( element* e, const std::string&entry, vec4& vec );32 bool get( element* e, const std::string&entry, int& i );33 bool get( element* e, const std::string&entry, double& d );30 bool get( element* e, const char* centry, std::string& s ); 31 bool get( element* e, const char* centry, vec4& vec ); 32 bool get( element* e, const char* centry, int& i ); 33 bool get( element* e, const char* centry, double& d ); 34 34 ~style(); 35 35 protected: 36 bool resolve( element* e, const std::string&entry, int type );36 bool resolve( const char* cid, const char* cclass, const char* centry, int type ); 37 37 protected: 38 38 lua::state m_lua; //!< separate lua state for style calculation
Note: See TracChangeset
for help on using the changeset viewer.