openMSX
|
#include <ImGuiPalette.hh>
Public Member Functions | |
ImGuiPalette (ImGuiManager &manager_) | |
zstring_view | iniName () const override |
void | save (ImGuiTextBuffer &buf) override |
void | loadLine (std::string_view name, zstring_view value) override |
void | paint (MSXMotherBoard *motherBoard) override |
std::span< const uint16_t, 16 > | getPalette (const VDP *vdp) const |
Public Member Functions inherited from openmsx::ImGuiPart | |
ImGuiPart (ImGuiManager &manager_) | |
~ImGuiPart () | |
ImGuiPart (const ImGuiPart &)=delete | |
ImGuiPart (ImGuiPart &&)=delete | |
ImGuiPart & | operator= (const ImGuiPart &)=delete |
ImGuiPart & | operator= (ImGuiPart &&)=delete |
Public Member Functions inherited from openmsx::ImGuiPartInterface | |
virtual void | loadStart () |
virtual void | loadEnd () |
virtual void | showMenu (MSXMotherBoard *) |
Static Public Member Functions | |
static uint32_t | toRGBA (uint16_t msxColor) |
Public Attributes | |
im::WindowStatus | window |
int | whichPalette = PALETTE_VDP |
Additional Inherited Members | |
Protected Attributes inherited from openmsx::ImGuiPart | |
ImGuiManager & | manager |
Definition at line 15 of file ImGuiPalette.hh.
|
explicit |
Definition at line 27 of file ImGuiPalette.cc.
std::span< const uint16_t, 16 > openmsx::ImGuiPalette::getPalette | ( | const VDP * | vdp | ) | const |
Definition at line 93 of file ImGuiPalette.cc.
References openmsx::VDP::getPalette(), openmsx::VDP::isMSX1VDP(), and whichPalette.
|
inlineoverridevirtual |
Reimplemented from openmsx::ImGuiPartInterface.
Definition at line 20 of file ImGuiPalette.hh.
|
overridevirtual |
Reimplemented from openmsx::ImGuiPartInterface.
Definition at line 45 of file ImGuiPalette.cc.
References openmsx::loadOnePersistent(), and StringOp::split_view().
|
overridevirtual |
Reimplemented from openmsx::ImGuiPartInterface.
Definition at line 104 of file ImGuiPalette.cc.
References ranges::copy(), im::Disabled(), openmsx::MSXMotherBoard::findDevice(), openmsx::MSXMotherBoard::getCurrentTime(), openmsx::VDP::getPalette(), im::ID_for_range(), openmsx::VDP::isMSX1VDP(), im::WindowStatus::open, openmsx::VDP::setPalette(), ImGui::StrCat(), im::StyleColor(), im::Table(), ImGui::TextUnformatted(), toRGBA(), whichPalette, im::Window(), and window.
|
overridevirtual |
Reimplemented from openmsx::ImGuiPartInterface.
Definition at line 33 of file ImGuiPalette.cc.
References openmsx::savePersistent(), and xrange().
|
static |
int openmsx::ImGuiPalette::whichPalette = PALETTE_VDP |
Definition at line 30 of file ImGuiPalette.hh.
Referenced by getPalette(), and paint().
im::WindowStatus openmsx::ImGuiPalette::window |
Definition at line 29 of file ImGuiPalette.hh.
Referenced by paint().