yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::gui::BitmapViewer Class Reference

#include <style.h>

Public Member Functions

 BitmapViewer ()
 
void Display (const std::vector< gfx::Bitmap > &bitmaps, float scale=1.0f)
 

Private Attributes

int current_bitmap_index_
 

Detailed Description

Definition at line 44 of file style.h.

Constructor & Destructor Documentation

◆ BitmapViewer()

yaze::app::gui::BitmapViewer::BitmapViewer ( )
inline

Definition at line 46 of file style.h.

Member Function Documentation

◆ Display()

void yaze::app::gui::BitmapViewer::Display ( const std::vector< gfx::Bitmap > & bitmaps,
float scale = 1.0f )
inline

Definition at line 48 of file style.h.

References current_bitmap_index_, yaze::app::gfx::Bitmap::height(), yaze::app::gfx::Bitmap::texture(), and yaze::app::gfx::Bitmap::width().

Here is the call graph for this function:

Member Data Documentation

◆ current_bitmap_index_

int yaze::app::gui::BitmapViewer::current_bitmap_index_
private

Definition at line 89 of file style.h.

Referenced by Display().


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