Add icon for texture tool

master
rubenwardy 2014-07-12 19:52:22 +01:00
parent 4b6b7677fd
commit c081dde885
3 changed files with 3 additions and 1 deletions

View File

@ -85,8 +85,10 @@ set_target_properties(${PROJECT_NAME}
# Install DLLs
install (FILES media/fontlucida.png DESTINATION share/nodeboxeditor/media)
install (FILES media/gui_scale.png DESTINATION share/nodeboxeditor/media)
install (FILES media/coordinates.png DESTINATION share/nodeboxeditor/media)
install (FILES media/icon_mode_node.png DESTINATION share/nodeboxeditor/media)
install (FILES media/icon_mode_nodebox.png DESTINATION share/nodeboxeditor/media)
install (FILES media/icon_mode_texture.png DESTINATION share/nodeboxeditor/media)
install (FILES media/sky.jpg DESTINATION share/nodeboxeditor/media)
install (FILES media/texture_box.png DESTINATION share/nodeboxeditor/media)
install (FILES media/texture_terrain.png DESTINATION share/nodeboxeditor/media)

BIN
media/icon_mode_texture.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

View File

@ -69,7 +69,7 @@ bool TextureEditor::OnEvent(const irr::SEvent &event)
irr::video::ITexture* TextureEditor::icon()
{
static irr::video::ITexture* icon = state->device->
getVideoDriver()->getTexture("media/icon_mode_node.png");
getVideoDriver()->getTexture("media/icon_mode_texture.png");
return icon;
}