Add TabView header

This commit is contained in:
2025-04-18 00:40:52 -04:00
parent 62cfd1bd58
commit fdaf68b01e

View 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:
};
}