mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 07:01:57 -07:00
fixed fullscreen, removed effective vars from windows
This commit is contained in:
@@ -21,21 +21,42 @@ public:
|
||||
|
||||
~CAnimatedVariable();
|
||||
|
||||
// gets the current vector value (real time)
|
||||
Vector2D vec() {
|
||||
ASSERT(m_eVarType == AVARTYPE_VECTOR);
|
||||
return m_vValue;
|
||||
}
|
||||
|
||||
// gets the current float value (real time)
|
||||
float fl() {
|
||||
ASSERT(m_eVarType == AVARTYPE_FLOAT);
|
||||
return m_fValue;
|
||||
}
|
||||
|
||||
// gets the current color value (real time)
|
||||
CColor col() {
|
||||
ASSERT(m_eVarType == AVARTYPE_COLOR);
|
||||
return m_cValue;
|
||||
}
|
||||
|
||||
// gets the goal vector value
|
||||
Vector2D goalv() {
|
||||
ASSERT(m_eVarType == AVARTYPE_VECTOR);
|
||||
return m_vGoal;
|
||||
}
|
||||
|
||||
// gets the goal float value
|
||||
float goalf() {
|
||||
ASSERT(m_eVarType == AVARTYPE_FLOAT);
|
||||
return m_fGoal;
|
||||
}
|
||||
|
||||
// gets the goal color value
|
||||
CColor goalc() {
|
||||
ASSERT(m_eVarType == AVARTYPE_COLOR);
|
||||
return m_cGoal;
|
||||
}
|
||||
|
||||
void operator=(const Vector2D& v) {
|
||||
ASSERT(m_eVarType == AVARTYPE_VECTOR);
|
||||
m_vGoal = v;
|
||||
|
Reference in New Issue
Block a user