OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
stacklayout.cpp
Go to the documentation of this file.
1
#include "
stacklayout.h
"
2
3
#include <Tempest/Widget>
4
5
StackLayout::StackLayout
() {
6
}
7
8
void
StackLayout::applyLayout() {
9
auto
& w = *owner();
10
size_t
count=w.widgetsCount();
11
12
for
(
size_t
i=0;i<count;++i){
13
auto
& wx=w.widget(i);
14
wx.setGeometry(0,0,w.w(),w.h());
15
}
16
}
StackLayout::StackLayout
StackLayout()
Definition
stacklayout.cpp:5
stacklayout.h
game
ui
stacklayout.cpp
Generated by
1.9.8