yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
canvas_pipelines.cc File Reference
#include "app/gui/canvas/canvas.h"
#include <algorithm>
#include "app/gui/canvas/canvas_utils.h"
#include "app/gui/core/layout_helpers.h"
#include "app/gui/core/style.h"
#include "imgui/imgui.h"

Go to the source code of this file.

Namespaces

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

Functions

void yaze::gui::BeginCanvas (Canvas &canvas, ImVec2 child_size)
 
void yaze::gui::EndCanvas (Canvas &canvas)
 
CanvasRuntime yaze::gui::BeginCanvas (Canvas &canvas, const CanvasFrameOptions &options)
 
void yaze::gui::EndCanvas (Canvas &canvas, CanvasRuntime &, const CanvasFrameOptions &options)
 
ZoomToFitResult yaze::gui::ComputeZoomToFit (ImVec2 content_px, ImVec2 canvas_px, float padding_px)
 
ImVec2 yaze::gui::ClampScroll (ImVec2 scroll, ImVec2 content_px, ImVec2 canvas_px)
 
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 (Canvas &canvas, gfx::Bitmap &bitmap, int width, int height, int tile_size, bool is_loaded, bool scrollbar, int canvas_id)
 
void yaze::gui::TableCanvasPipeline (Canvas &canvas, gfx::Bitmap &bitmap, const std::string &label, bool auto_resize)