mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 19:57:55 -06:00
Hovering on gizmo overlay
This commit is contained in:
parent
6079fed951
commit
c657654c02
8 changed files with 61 additions and 249 deletions
|
@ -21,17 +21,17 @@ GLGizmoBase::EState GLGizmoBase::get_state() const
|
|||
return m_state;
|
||||
}
|
||||
|
||||
void GLGizmoBase::set_state(GLGizmoBase::EState state)
|
||||
{
|
||||
m_state = state;
|
||||
}
|
||||
|
||||
unsigned int GLGizmoBase::get_textures_id() const
|
||||
{
|
||||
return m_textures[m_state].get_id();
|
||||
}
|
||||
|
||||
int GLGizmoBase::get_textures_height() const
|
||||
{
|
||||
return m_textures[Off].get_height();
|
||||
}
|
||||
|
||||
int GLGizmoBase::get_textures_width() const
|
||||
int GLGizmoBase::get_textures_size() const
|
||||
{
|
||||
return m_textures[Off].get_width();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue