![]() |
Notcurses 3.0.13
a blingful library for TUIs and character graphics
|
#include <Palette.hh>
Public Member Functions | |
Palette (NotCurses *ncinst=nullptr) | |
~Palette () | |
operator ncpalette * () noexcept | |
operator ncpalette const * () const noexcept | |
bool | set (int idx, int r, int g, int b) const NOEXCEPT_MAYBE |
bool | set (int idx, unsigned rgb) const NOEXCEPT_MAYBE |
bool | get (int idx, unsigned *r, unsigned *g, unsigned *b) const |
bool | get (int idx, unsigned &r, unsigned &g, unsigned &b) const NOEXCEPT_MAYBE |
![]() | |
notcurses * | get_notcurses () const |
NotCurses * | get_notcurses_cpp () const |
Additional Inherited Members | |
![]() | |
Root (NotCurses *ncinst) | |
bool | is_notcurses_stopped () const noexcept |
![]() | |
template<typename TRet = bool, typename TValue = int> | |
static TRet | error_guard (TValue ret, TValue error_value) |
template<typename TRet = bool, typename TValue = int> | |
static TRet | error_guard_cond (TValue ret, bool error_value) |
![]() | |
static constexpr char | ncpp_invalid_state_message [] = "notcurses++ is in an invalid state (already stopped?)" |
Definition at line 11 of file Palette.hh.
Definition at line 14 of file Palette.hh.
|
inline |
Definition at line 22 of file Palette.hh.
Definition at line 59 of file Palette.hh.
Definition at line 47 of file Palette.hh.
Definition at line 27 of file Palette.hh.
Definition at line 32 of file Palette.hh.
Definition at line 37 of file Palette.hh.
Definition at line 42 of file Palette.hh.