Add TabView header
This commit is contained in:
32
include/JUI/Widgets/TabView.hpp
Normal file
32
include/JUI/Widgets/TabView.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
/// Josh's User Interface Library
|
||||
/// A C++20 Library for creating, styling, and rendering of a UI/UX widgets.
|
||||
/// Developed and Maintained by Josh O'Leary @ Redacted Software.
|
||||
/// Special Thanks to William Tomasine II and Maxine Hayes.
|
||||
/// (c) 2025 Redacted Software
|
||||
/// This work is dedicated to the public domain.
|
||||
|
||||
/// @file Collapsible.cpp
|
||||
/// @desc A rectangular widget with a
|
||||
/// @edit 2025-02-14
|
||||
#pragma once
|
||||
|
||||
#include <JUI/Widgets/Rect.hpp>
|
||||
#include <JUI/Widgets/ListLayout.hpp>
|
||||
#include <JUI/Widgets/TextButton.hpp>
|
||||
|
||||
// TODO: Each "Tab" needs its own content box.
|
||||
namespace JUI {
|
||||
class TabView : public Rect {
|
||||
public:
|
||||
TabView();
|
||||
explicit TabView(Widget* parent);
|
||||
Rect* ContentBox();
|
||||
|
||||
void NextTab();
|
||||
void PrevTab();
|
||||
void FirstTab();
|
||||
void LastTab();
|
||||
protected:
|
||||
private:
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user