Sparkle
0.0.1
Loading...
Searching...
No Matches
spk_container_widget.hpp
1
#pragma once
2
3
#include <string>
4
5
#include "structure/widget/spk_widget.hpp"
6
7
namespace
spk
8
{
17
class
ContainerWidget
:
public
Widget
18
{
19
public
:
25
ContainerWidget
(
const
std::wstring &p_name,
Widget
*p_parent) :
26
Widget
(p_name, p_parent)
27
{
28
activate
();
29
}
30
};
31
}
spk::ActivableObject::activate
void activate()
Sets the state to Activated.
Definition
spk_activable_object.hpp:54
spk::ContainerWidget::ContainerWidget
ContainerWidget(const std::wstring &p_name, Widget *p_parent)
Builds and activates a container widget.
Definition
spk_container_widget.hpp:25
spk::Widget::Widget
Widget(const std::wstring &p_name, Widget *p_parent)
Builds a widget optionally attached to a parent.
Definition
spk_widget.cpp:103
includes
structure
widget
spk_container_widget.hpp
Generated by
1.14.0