Skip to content

I3T

Functions

Name
I3TApplication &app()
template <typename Theme_ &gt; <br>voidemplaceTheme(Theme_ && theme)<br>Change properties of the given theme.
const ImVec4 &getColor(EColor color)
ImFont *getFont(EFont font)
floatgetSize(ESize size)
const ImVec2 &getSize(ESizeVec2 size)
Theme &getTheme()
std::vector< Theme > &getThemes()
UIModule *getUI()
Vp::Viewport *getViewport()
template <typename T &gt; <br>Ptr< T >getWindowPtr()<br>Get pointer to dockable (unique) window.

Functions Documentation

function app

cpp
I3TApplication & app()
I3TApplication & app()

function emplaceTheme

cpp
template <typename Theme_ >
inline void emplaceTheme(
    Theme_ && theme
)
template <typename Theme_ >
inline void emplaceTheme(
    Theme_ && theme
)

Change properties of the given theme.

Parameters:

  • theme

function getColor

cpp
inline const ImVec4 & getColor(
    EColor color
)
inline const ImVec4 & getColor(
    EColor color
)

function getFont

cpp
inline ImFont * getFont(
    EFont font
)
inline ImFont * getFont(
    EFont font
)

function getSize

cpp
inline float getSize(
    ESize size
)
inline float getSize(
    ESize size
)

function getSize

cpp
inline const ImVec2 & getSize(
    ESizeVec2 size
)
inline const ImVec2 & getSize(
    ESizeVec2 size
)

function getTheme

cpp
inline Theme & getTheme()
inline Theme & getTheme()

function getThemes

cpp
inline std::vector< Theme > & getThemes()
inline std::vector< Theme > & getThemes()

function getUI

cpp
UIModule * getUI()
UIModule * getUI()

function getViewport

cpp
Vp::Viewport * getViewport()
Vp::Viewport * getViewport()

function getWindowPtr

cpp
template <typename T >
Ptr< T > getWindowPtr()
template <typename T >
Ptr< T > getWindowPtr()

Get pointer to dockable (unique) window.

Template Parameters:

  • T window type

Return: shared pointer to window of type T.


Updated on 2024-03-16 at 19:15:01 +0000