Simple GUI Library
layered_container.h
Go to the documentation of this file.
1
/**
2
* @author Nikita Mochalov (github.com/tralf-strues)
3
* @file layered_container.h
4
* @date 2021-12-12
5
*
6
* @copyright Copyright (c) 2021
7
*/
8
9
#pragma once
10
11
#include "
container.h
"
12
13
namespace
Sgl
14
{
15
class
LayeredContainer
:
public
Container
16
{
17
public
:
18
LayeredContainer
();
19
20
bool
isAutoAdjust()
const
;
21
void
setAutoAdjust(
bool
autoAdjust);
22
23
void
moveToFront(
Component
* child);
24
void
moveToBack(
Component
* child);
25
26
Component
* getFront();
27
Component
* getBack();
28
29
private
:
30
bool
m_AutoAdjust =
false
;
31
};
32
}
Sgl::Component
Definition:
component.h:27
Sgl::Container
Definition:
container.h:16
Sgl::LayeredContainer
Definition:
layered_container.h:16
container.h
include
scene
containers
layered_container.h
Generated by
1.9.2