#include "canvas.h"
#include <cmath>
#include <string>
#include "app/gfx/bpp_format_manager.h"
#include "app/gfx/bitmap.h"
#include "app/gfx/performance/performance_profiler.h"
#include "app/gui/style.h"
#include "canvas/canvas_utils.h"
#include "canvas/canvas_automation_api.h"
#include "imgui/imgui.h"
Go to the source code of this file.
Namespaces | |
namespace | yaze |
Main namespace for the application. | |
namespace | yaze::gui |
Graphical User Interface (GUI) components for the application. | |
namespace | yaze::gui::anonymous_namespace{canvas.cc} |
Functions | |
ImVec2 | yaze::gui::anonymous_namespace{canvas.cc}::AlignPosToGrid (ImVec2 pos, float scale) |
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, gfx::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) |
Variables | |
constexpr uint32_t | yaze::gui::kRectangleColor = IM_COL32(32, 32, 32, 255) |
constexpr uint32_t | yaze::gui::kWhiteColor = IM_COL32(255, 255, 255, 255) |
constexpr ImGuiButtonFlags | yaze::gui::kMouseFlags |