Changeset 380 for trunk/src/gui
- Timestamp:
- 05/29/15 17:28:16 (10 years ago)
- Location:
- trunk/src/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/gui_environment.cc
r356 r380 311 311 } 312 312 313 void nv::gui::environment::set_class( handle e, const st ring& text )313 void nv::gui::environment::set_class( handle e, const std::string& text ) 314 314 { 315 315 element* ep = m_elements.get(e); … … 321 321 } 322 322 323 void nv::gui::environment::set_text( handle e, const st ring& text )323 void nv::gui::environment::set_text( handle e, const std::string& text ) 324 324 { 325 325 element* ep = m_elements.get(e); -
trunk/src/gui/gui_gfx_renderer.cc
r378 r380 190 190 { 191 191 std::string id_name( filename ); 192 id_name.append( std::to_string( size ) ); 192 char buffer[8]; size_t len = nv::sint32_to_buffer( (sint32)size, buffer ); 193 id_name.append( std::string( buffer, len ) ); 193 194 auto i = m_font_names.find( id_name ); 194 195 if ( i != m_font_names.end() )
Note: See TracChangeset
for help on using the changeset viewer.