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

#include <widget_measurement.h>

Public Member Functions

std::string ToString () const
 

Public Attributes

ImVec2 size
 
ImVec2 position
 
ImVec2 content_size
 
ImVec2 rect_min
 
ImVec2 rect_max
 
float cursor_pos_x
 
std::string widget_id
 
std::string type
 

Detailed Description

Definition at line 22 of file widget_measurement.h.

Member Function Documentation

◆ ToString()

std::string yaze::gui::WidgetMetrics::ToString ( ) const
inline

Definition at line 32 of file widget_measurement.h.

References content_size, cursor_pos_x, position, size, type, and widget_id.

Member Data Documentation

◆ size

ImVec2 yaze::gui::WidgetMetrics::size

Definition at line 23 of file widget_measurement.h.

Referenced by yaze::gui::WidgetMeasurement::MeasureLastItem(), and ToString().

◆ position

ImVec2 yaze::gui::WidgetMetrics::position

Definition at line 24 of file widget_measurement.h.

Referenced by yaze::gui::WidgetMeasurement::MeasureLastItem(), and ToString().

◆ content_size

ImVec2 yaze::gui::WidgetMetrics::content_size

Definition at line 25 of file widget_measurement.h.

Referenced by yaze::gui::WidgetMeasurement::MeasureLastItem(), and ToString().

◆ rect_min

ImVec2 yaze::gui::WidgetMetrics::rect_min

Definition at line 26 of file widget_measurement.h.

Referenced by yaze::gui::WidgetMeasurement::MeasureLastItem().

◆ rect_max

ImVec2 yaze::gui::WidgetMetrics::rect_max

Definition at line 27 of file widget_measurement.h.

Referenced by yaze::gui::WidgetMeasurement::MeasureLastItem().

◆ cursor_pos_x

float yaze::gui::WidgetMetrics::cursor_pos_x

Definition at line 28 of file widget_measurement.h.

Referenced by yaze::gui::WidgetMeasurement::MeasureLastItem(), and ToString().

◆ widget_id

std::string yaze::gui::WidgetMetrics::widget_id

Definition at line 29 of file widget_measurement.h.

Referenced by yaze::gui::WidgetMeasurement::MeasureLastItem(), and ToString().

◆ type

std::string yaze::gui::WidgetMetrics::type

Definition at line 30 of file widget_measurement.h.

Referenced by yaze::gui::WidgetMeasurement::MeasureLastItem(), and ToString().


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