yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
gfx_context.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_VRAM_CONTEXT_H
2#define YAZE_APP_EDITOR_VRAM_CONTEXT_H
3
4#include "imgui/imgui.h"
5
6#include <cmath>
7#include <vector>
8
10#include "app/gfx/bitmap.h"
12#include "app/gfx/snes_tile.h"
13#include "app/gui/canvas.h"
14#include "app/gui/icons.h"
15#include "app/rom.h"
16
17namespace yaze {
18namespace app {
19namespace editor {
20namespace context {
21
26 protected:
27 // Palettesets for the tile16 individual tiles
28 static std::unordered_map<uint8_t, gfx::Paletteset> palettesets_;
29};
30
31} // namespace context
32} // namespace editor
33} // namespace app
34} // namespace yaze
35
36#endif // YAZE_APP_EDITOR_VRAM_CONTEXT_H
Shared graphical context across editors.
Definition gfx_context.h:25
static std::unordered_map< uint8_t, gfx::Paletteset > palettesets_
Definition gfx_context.h:28
Definition common.cc:21