Simple drawing example.
This commit is contained in:
parent
d7fe11913f
commit
f0091f9e04
27 changed files with 450 additions and 68 deletions
|
@ -17,10 +17,10 @@ std::unique_ptr<VerticalSpacer> VerticalSpacer::Create()
|
|||
|
||||
void VerticalSpacer::addWidget(WidgetUPtr widget)
|
||||
{
|
||||
AddWidgetWithScale(std::move(widget), 1.0);
|
||||
addWidgetWithScale(std::move(widget), 1.0);
|
||||
}
|
||||
|
||||
void VerticalSpacer::AddWidgetWithScale(WidgetUPtr widget, double scale)
|
||||
void VerticalSpacer::addWidgetWithScale(WidgetUPtr widget, double scale)
|
||||
{
|
||||
Widget::addWidget(std::move(widget));
|
||||
mScales.push_back(scale);
|
||||
|
|
|
@ -12,7 +12,7 @@ public:
|
|||
|
||||
void addWidget(WidgetUPtr widget) override;
|
||||
|
||||
void AddWidgetWithScale(WidgetUPtr widget, double scale);
|
||||
void addWidgetWithScale(WidgetUPtr widget, double scale);
|
||||
|
||||
private:
|
||||
void updateChildLocations() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue