RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields | Private Member Functions | Private Attributes
RoR::GUI::TextureToolWindow Class Reference

#include <GUI_TextureToolWindow.h>

Public Member Functions

void SetVisible (bool visible)
 
bool IsVisible () const
 
bool IsHovered () const
 
void Draw ()
 

Data Fields

const float LEFT_PANE_WIDTH = 200.f
 
const float WINDOW_WIDTH = 600.f
 

Private Member Functions

void SaveTexture (std::string texName, bool usePNG)
 

Private Attributes

bool m_is_visible = false
 
bool m_is_hovered = false
 
bool m_show_dynamic_only = true
 
Ogre::TexturePtr m_display_tex
 

Detailed Description

Definition at line 28 of file GUI_TextureToolWindow.h.

Member Function Documentation

◆ Draw()

void TextureToolWindow::Draw ( )

Definition at line 38 of file GUI_TextureToolWindow.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsHovered()

bool RoR::GUI::TextureToolWindow::IsHovered ( ) const
inline

Definition at line 36 of file GUI_TextureToolWindow.h.

+ Here is the call graph for this function:

◆ IsVisible()

bool RoR::GUI::TextureToolWindow::IsVisible ( ) const
inline

Definition at line 35 of file GUI_TextureToolWindow.h.

+ Here is the caller graph for this function:

◆ SaveTexture()

void TextureToolWindow::SaveTexture ( std::string  texName,
bool  usePNG 
)
private

Definition at line 155 of file GUI_TextureToolWindow.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetVisible()

void RoR::GUI::TextureToolWindow::SetVisible ( bool  visible)
inline

Definition at line 34 of file GUI_TextureToolWindow.h.

+ Here is the caller graph for this function:

Field Documentation

◆ LEFT_PANE_WIDTH

const float RoR::GUI::TextureToolWindow::LEFT_PANE_WIDTH = 200.f

Definition at line 31 of file GUI_TextureToolWindow.h.

◆ m_display_tex

Ogre::TexturePtr RoR::GUI::TextureToolWindow::m_display_tex
private

Definition at line 46 of file GUI_TextureToolWindow.h.

◆ m_is_hovered

bool RoR::GUI::TextureToolWindow::m_is_hovered = false
private

Definition at line 44 of file GUI_TextureToolWindow.h.

◆ m_is_visible

bool RoR::GUI::TextureToolWindow::m_is_visible = false
private

Definition at line 43 of file GUI_TextureToolWindow.h.

◆ m_show_dynamic_only

bool RoR::GUI::TextureToolWindow::m_show_dynamic_only = true
private

Definition at line 45 of file GUI_TextureToolWindow.h.

◆ WINDOW_WIDTH

const float RoR::GUI::TextureToolWindow::WINDOW_WIDTH = 600.f

Definition at line 32 of file GUI_TextureToolWindow.h.


The documentation for this class was generated from the following files: