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
9
#include "
app/editor/utils/editor.h
"
10
#include "
app/gfx/bitmap.h
"
11
#include "
app/gfx/snes_palette.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
17
namespace
yaze
{
18
namespace
app {
19
namespace
editor {
20
namespace
context {
21
25
class
GfxContext
{
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
bitmap.h
canvas.h
yaze::app::editor::context::GfxContext
Shared graphical context across editors.
Definition
gfx_context.h:25
yaze::app::editor::context::GfxContext::palettesets_
static std::unordered_map< uint8_t, gfx::Paletteset > palettesets_
Definition
gfx_context.h:28
editor.h
icons.h
yaze
Definition
common.cc:21
rom.h
snes_palette.h
snes_tile.h
src
app
editor
utils
gfx_context.h
Generated by
1.12.0