ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
Templates.hpp
1#pragma once
2
3#include "XUI.hpp"
4
5namespace CP_SDK::XUI {
6
9 {
10 public:
13 static XUIVLayout::Ptr ModalRectLayout(const std::vector<std::shared_ptr<IXUIElement>>& p_Childs);
16 static XUIVLayout::Ptr FullRectLayout(const std::vector<std::shared_ptr<IXUIElement>>& p_Childs);
19 static XUIVLayout::Ptr FullRectLayoutMainView(const std::vector<std::shared_ptr<IXUIElement>>& p_Childs);
22 static XUIHLayout::Ptr TitleBar(std::u16string_view p_Text);
26 static XUIHLayout::Ptr ScrollableInfos(float p_Height, const std::vector<std::shared_ptr<IXUIElement>>& p_Childs);
29 static XUIHLayout::Ptr ExpandedButtonsLine(const std::vector<std::shared_ptr<IXUIElement>>& p_Childs);
33 static XUIVLayout::Ptr SettingsHGroup(std::u16string_view p_Title, const std::vector<std::shared_ptr<IXUIElement>>& p_Childs);
37 static XUIHLayout::Ptr SettingsVGroup(std::u16string_view p_Title, const std::vector<std::shared_ptr<IXUIElement>>& p_Childs);
38
39 };
40
41}
XUI templates.
Definition Templates.hpp:9
static XUIHLayout::Ptr TitleBar(std::u16string_view p_Text)
Title bar template.
static XUIVLayout::Ptr FullRectLayoutMainView(const std::vector< std::shared_ptr< IXUIElement > > &p_Childs)
Full rect layout for screens template.
static XUIVLayout::Ptr ModalRectLayout(const std::vector< std::shared_ptr< IXUIElement > > &p_Childs)
Modal rect layout.
static XUIVLayout::Ptr SettingsHGroup(std::u16string_view p_Title, const std::vector< std::shared_ptr< IXUIElement > > &p_Childs)
Settings group.
static XUIHLayout::Ptr ScrollableInfos(float p_Height, const std::vector< std::shared_ptr< IXUIElement > > &p_Childs)
Scrollable infos widget template.
static XUIHLayout::Ptr SettingsVGroup(std::u16string_view p_Title, const std::vector< std::shared_ptr< IXUIElement > > &p_Childs)
Settings group.
static XUIVLayout::Ptr FullRectLayout(const std::vector< std::shared_ptr< IXUIElement > > &p_Childs)
Full rect layout for screens template.
static XUIHLayout::Ptr ExpandedButtonsLine(const std::vector< std::shared_ptr< IXUIElement > > &p_Childs)
Expanded buttons line.
Tree like syntax CP_SDK::UI builder.