mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-02 13:20:12 +00:00
Minor change: Make Splitter::getPosition() inlined
This commit is contained in:
parent
60602f78a8
commit
e6450877bb
@ -33,11 +33,6 @@ Splitter::Splitter(Type type, int align)
|
|||||||
initTheme();
|
initTheme();
|
||||||
}
|
}
|
||||||
|
|
||||||
double Splitter::getPosition() const
|
|
||||||
{
|
|
||||||
return m_pos;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Splitter::setPosition(double pos)
|
void Splitter::setPosition(double pos)
|
||||||
{
|
{
|
||||||
if (m_type == ByPercentage)
|
if (m_type == ByPercentage)
|
||||||
|
@ -19,7 +19,7 @@ namespace ui {
|
|||||||
|
|
||||||
Splitter(Type type, int align);
|
Splitter(Type type, int align);
|
||||||
|
|
||||||
double getPosition() const;
|
double getPosition() const { return m_pos; }
|
||||||
void setPosition(double pos);
|
void setPosition(double pos);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user