Start building mesh primitives.
This commit is contained in:
parent
a20c0183df
commit
fcd90b5db4
30 changed files with 856 additions and 97 deletions
|
@ -16,6 +16,7 @@ list(APPEND ui_elements_LIB_INCLUDES
|
|||
ui_events/ResizeEvent.cpp
|
||||
widgets/Widget.cpp
|
||||
widgets/Button.cpp
|
||||
widgets/ButtonGroup.cpp
|
||||
widgets/Label.cpp
|
||||
widgets/HorizontalSpacer.cpp
|
||||
widgets/VerticalSpacer.cpp
|
||||
|
|
0
src/ui_elements/widgets/ButtonGroup.cpp
Normal file
0
src/ui_elements/widgets/ButtonGroup.cpp
Normal file
23
src/ui_elements/widgets/ButtonGroup.h
Normal file
23
src/ui_elements/widgets/ButtonGroup.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
|
||||
#include "Widget.h"
|
||||
|
||||
class ButtonGroup : public Widget
|
||||
{
|
||||
public:
|
||||
|
||||
enum class Orientation
|
||||
{
|
||||
HORIZONTAL,
|
||||
VERTICAL
|
||||
};
|
||||
|
||||
ButtonGroup();
|
||||
|
||||
~ButtonGroup();
|
||||
|
||||
static std::unique_ptr<ButtonGroup> Create();
|
||||
|
||||
private:
|
||||
bool mExclusiveActivation{true};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue