yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tile8_source_interaction.h File Reference
#include <algorithm>
Include dependency graph for tile8_source_interaction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 

Functions

bool yaze::editor::ComputeTile8UsageHighlight (bool source_hovered, bool right_mouse_down)
 
int yaze::editor::ComputeTile8IndexFromCanvasMouse (float mouse_x, float mouse_y, int source_bitmap_width_px, int max_tile_count, float display_scale)
 
float yaze::editor::ComputeTile8SourceDisplayScale (float available_width_px, int source_bitmap_width_px, float min_scale=1.0f, float max_scale=4.0f)
 
float yaze::editor::ComputeTile8SourcePanelHeight (float available_height_px, int source_bitmap_height_px, float display_scale, float preferred_height_px=0.0f, float min_height_px=220.0f, float max_height_px=520.0f)