![]() |
Notcurses 3.0.17
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 |
Public Member Functions inherited from Root | |
| notcurses * | get_notcurses () const |
| NotCurses * | get_notcurses_cpp () const |
Additional Inherited Members | |
Protected Member Functions inherited from Root | |
| Root (NotCurses *ncinst) | |
| bool | is_notcurses_stopped () const noexcept |
Static Protected Member Functions inherited from Root | |
| 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 Protected Attributes inherited from Root | |
| 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.