yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
canvas.h File Reference
#include "app/gfx/tilemap.h"
#include <cstdint>
#include <string>
#include <functional>
#include <memory>
#include "app/gfx/bitmap.h"
#include "app/rom.h"
#include "canvas/canvas_utils.h"
#include "app/gui/widgets/palette_widget.h"
#include "app/gfx/bpp_format_manager.h"
#include "canvas/bpp_format_ui.h"
#include "app/gui/canvas/canvas_modals.h"
#include "app/gui/canvas/canvas_context_menu.h"
#include "app/gui/canvas/canvas_usage_tracker.h"
#include "app/gui/canvas/canvas_performance_integration.h"
#include "app/gui/canvas/canvas_interaction_handler.h"
#include "imgui/imgui.h"

Go to the source code of this file.

Classes

class  yaze::gui::Canvas
 Modern, robust canvas for drawing and manipulating graphics. More...
 
struct  yaze::gui::Canvas::ContextMenuItem
 
struct  yaze::gui::Canvas::PopupState
 
class  yaze::gui::ScopedCanvas
 RAII wrapper for Canvas (ImGui-style) More...
 

Namespaces

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

Macros

#define IMGUI_DEFINE_MATH_OPERATORS
 

Enumerations

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

Functions

void yaze::gui::BeginCanvas (Canvas &canvas, ImVec2 child_size)
 
void yaze::gui::EndCanvas (Canvas &canvas)
 
void yaze::gui::GraphicsBinCanvasPipeline (int width, int height, int tile_size, int num_sheets_to_load, int canvas_id, bool is_loaded, BitmapTable &graphics_bin)
 
void yaze::gui::BitmapCanvasPipeline (gui::Canvas &canvas, gfx::Bitmap &bitmap, int width, int height, int tile_size, bool is_loaded, bool scrollbar, int canvas_id)
 
void yaze::gui::TableCanvasPipeline (gui::Canvas &canvas, gfx::Bitmap &bitmap, const std::string &label, bool auto_resize)
 

Macro Definition Documentation

◆ IMGUI_DEFINE_MATH_OPERATORS

#define IMGUI_DEFINE_MATH_OPERATORS

Definition at line 5 of file canvas.h.