rearrange canvas methods

This commit is contained in:
scawful
2024-07-19 14:12:40 -04:00
parent aad061ef65
commit f0c4ae798f
2 changed files with 73 additions and 69 deletions

View File

@@ -84,6 +84,10 @@ class Canvas {
// in the canvas window. Represented and split apart into a grid of tiles.
bool DrawTileSelector(int size);
void DrawSelectRect(int current_map, int tile_size = 0x10,
float scale = 1.0f);
// Draws the contents of the Bitmap image to the Canvas
void DrawBitmap(const Bitmap& bitmap, int border_offset = 0,
bool ready = true);