Go to the source code of this file.
Namespaces | |
namespace | yaze |
namespace | yaze::app |
Main namespace for the ImGui application. | |
namespace | yaze::app::gfx |
Contains classes for handling graphical data. | |
Functions | |
snes_color | yaze::app::gfx::ConvertSnesToRgb (uint16_t color_snes) |
uint16_t | yaze::app::gfx::ConvertRgbToSnes (const snes_color &color) |
uint16_t | yaze::app::gfx::ConvertRgbToSnes (const ImVec4 &color) |
SnesColor | yaze::app::gfx::ReadColorFromRom (int offset, const uint8_t *rom) |
std::vector< snes_color > | yaze::app::gfx::Extract (const char *data, unsigned int offset, unsigned int palette_size) |
std::vector< char > | yaze::app::gfx::Convert (const std::vector< snes_color > &palette) |
SnesColor | yaze::app::gfx::GetCgxColor (uint16_t color) |
std::vector< SnesColor > | yaze::app::gfx::GetColFileData (uint8_t *data) |
Variables | |
constexpr uint16_t | yaze::app::gfx::SNES_RED_MASK = 32 |
constexpr uint16_t | yaze::app::gfx::SNES_GREEN_MASK = 32 |
constexpr uint16_t | yaze::app::gfx::SNES_BLUE_MASK = 32 |
constexpr uint16_t | yaze::app::gfx::SNES_GREEN_SHIFT = 32 |
constexpr uint16_t | yaze::app::gfx::SNES_BLUE_SHIFT = 1024 |