yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
canvas.h File Reference
#include "imgui/imgui.h"
#include <cmath>
#include <string>
#include "app/gfx/bitmap.h"
#include "app/rom.h"
Include dependency graph for canvas.h:

Go to the source code of this file.

Classes

class  yaze::app::gui::Canvas
 Represents a canvas for drawing and manipulating graphics. More...
 

Namespaces

namespace  yaze
 
namespace  yaze::app
 Main namespace for the ImGui application.
 
namespace  yaze::app::gui
 Graphical User Interface (GUI) components for the application.
 

Enumerations

enum class  yaze::app::gui::CanvasType { yaze::app::gui::kTile , yaze::app::gui::kBlock , yaze::app::gui::kMap }
 
enum class  yaze::app::gui::CanvasMode { yaze::app::gui::kPaint , yaze::app::gui::kSelect }
 
enum class  yaze::app::gui::CanvasGridSize { yaze::app::gui::k8x8 , yaze::app::gui::k16x16 , yaze::app::gui::k32x32 , yaze::app::gui::k64x64 }
 

Functions

void yaze::app::gui::GraphicsBinCanvasPipeline (int width, int height, int tile_size, int num_sheets_to_load, int canvas_id, bool is_loaded, gfx::BitmapTable &graphics_bin)
 
void yaze::app::gui::BitmapCanvasPipeline (gui::Canvas &canvas, const gfx::Bitmap &bitmap, int width, int height, int tile_size, bool is_loaded, bool scrollbar, int canvas_id)