lecui 1.0.0-alpha.20
lecui C++ user interface library
side_pane.h
1//
2// side_pane.h - side_pane container interface
3//
4// lecui user interface library, part of the liblec library
5// Copyright (c) 2019 Alec Musasa (alecmus at live dot com)
6//
7// Released under the MIT license. For full details see the
8// file LICENSE.txt
9//
10
11#pragma once
12
13#if defined(LECUI_EXPORTS)
14#include "status_pane.h"
15#else
16#include <liblec/lecui/containers/status_pane.h>
17#endif
18
19namespace liblec {
20 namespace lecui {
21 namespace containers {
25 class lecui_api side_pane : public status_pane_base {
26 public:
32 side_pane(form& fm, const float& thickness);
33
34 [[nodiscard]]
44 static status_pane& add(form& fm, const float& thickness);
45
51 [[nodiscard]]
53 };
54 }
55 }
56}
57
58#if defined(lecui_helper)
60#define get_side_pane() liblec::lecui::containers::side_pane::get(*this)
61#endif
Side pane container. To instantiate and add to a container use the add static method.
Definition: side_pane.h:25
static containers::status_pane & get(form &fm)
Get a reference to an existing side pane.
static status_pane & add(form &fm, const float &thickness)
Create a side pane.
side_pane(form &fm, const float &thickness)
Class constructor.
Base class for all status panes.
Definition: status_pane.h:87
Status pane container. To instantiate and add to a container use the add static method.
Definition: status_pane.h:106
Form base class. The user must inherit from this class and call one of the two constructors from its ...
Definition: form.h:122
Top level namespace for the liblec libraries.
Definition: appearance.h:19