yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::TileHighlight Struct Reference

Transient highlight for focusing a tile in the pixel editor. More...

#include <graphics_editor_state.h>

Public Member Functions

void Clear ()
 

Public Attributes

uint16_t sheet_id = 0
 
uint16_t tile_index = 0
 
double start_time = 0.0
 
double duration = 0.0
 
bool active = false
 
std::string label
 

Detailed Description

Transient highlight for focusing a tile in the pixel editor.

Definition at line 56 of file graphics_editor_state.h.

Member Function Documentation

◆ Clear()

void yaze::editor::TileHighlight::Clear ( )
inline

Definition at line 64 of file graphics_editor_state.h.

References active, duration, label, and start_time.

Referenced by yaze::editor::PixelEditorPanel::DrawTileHighlight().

Member Data Documentation

◆ sheet_id

◆ tile_index

◆ start_time

double yaze::editor::TileHighlight::start_time = 0.0

◆ duration

double yaze::editor::TileHighlight::duration = 0.0

◆ active

◆ label

std::string yaze::editor::TileHighlight::label

The documentation for this struct was generated from the following file: