libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
GuiControlSpot Struct Reference

One control on a controller drawing. More...

#include <GuiControllerLayout.h>

Public Attributes

int id
 Input bit this control stands for; 0 for decoration (never lit or highlighted).
 
CTL_SHAPE shape
 
float x
 
float y
 
float w
 
float h
 Bounding box.
 
float radius
 Corner radius for ROUNDRECT.
 
const char * label
 Text drawn on the control ("A", "ZL", "+"), or null.
 

Detailed Description

One control on a controller drawing.

Coordinates are in the layout's own units.

Definition at line 33 of file GuiControllerLayout.h.

Member Data Documentation

◆ h

float GuiControlSpot::h

Bounding box.

Definition at line 36 of file GuiControllerLayout.h.

◆ id

int GuiControlSpot::id

Input bit this control stands for; 0 for decoration (never lit or highlighted).

Definition at line 34 of file GuiControllerLayout.h.

◆ label

const char* GuiControlSpot::label

Text drawn on the control ("A", "ZL", "+"), or null.

Definition at line 38 of file GuiControllerLayout.h.

◆ radius

float GuiControlSpot::radius

Corner radius for ROUNDRECT.

Definition at line 37 of file GuiControllerLayout.h.

◆ shape

CTL_SHAPE GuiControlSpot::shape

Definition at line 35 of file GuiControllerLayout.h.

◆ w

float GuiControlSpot::w

Definition at line 36 of file GuiControllerLayout.h.

◆ x

float GuiControlSpot::x

Definition at line 36 of file GuiControllerLayout.h.

◆ y

float GuiControlSpot::y

Definition at line 36 of file GuiControllerLayout.h.


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