Minor change: Make Splitter::getPosition() inlined

This commit is contained in:
David Capello 2013-11-10 18:02:20 -03:00
parent 60602f78a8
commit e6450877bb
2 changed files with 1 additions and 6 deletions

View File

@ -33,11 +33,6 @@ Splitter::Splitter(Type type, int align)
initTheme();
}
double Splitter::getPosition() const
{
return m_pos;
}
void Splitter::setPosition(double pos)
{
if (m_type == ByPercentage)

View File

@ -19,7 +19,7 @@ namespace ui {
Splitter(Type type, int align);
double getPosition() const;
double getPosition() const { return m_pos; }
void setPosition(double pos);
protected: