Add icon for texture tool
parent
4b6b7677fd
commit
c081dde885
|
@ -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)
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 356 B |
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue