ofxOui - UI Components for OpenFrameworks

Public Types | Public Member Functions | Public Attributes | List of all members
ofxOui::ShapeEditor::EditEvent Class Reference

Event arguments for shape editing events. More...

#include <ofxOuiShapeEditor.hpp>

Inheritance diagram for ofxOui::ShapeEditor::EditEvent:
[legend]
Collaboration diagram for ofxOui::ShapeEditor::EditEvent:
[legend]

Public Types

enum  Type { Type::Translation, Type::Scaling, Type::Rotation, Type::Done }
 type of editing event More...
 

Public Member Functions

 EditEvent (ShapeEditor *sender_, Type type_, float x_, float y_, float width_, float height_, float angle_)
 Constructor. More...
 

Public Attributes

ShapeEditorsender
 pointer to the sender component More...
 
Type type
 type of editing event More...
 
float x
 x position of the shape editor box More...
 
float y
 y position of the shape editor box More...
 
float width
 width of the shape editor box More...
 
float height
 height of the shape editor box More...
 
float angle
 angle of the shape editor box More...
 

Detailed Description

Event arguments for shape editing events.

Member Enumeration Documentation

§ Type

type of editing event

Enumerator
Translation 
Scaling 
Rotation 
Done 

Constructor & Destructor Documentation

§ EditEvent()

ofxOui::ShapeEditor::EditEvent::EditEvent ( ShapeEditor sender_,
Type  type_,
float  x_,
float  y_,
float  width_,
float  height_,
float  angle_ 
)

Constructor.

Parameters
sender_pointer to the sender component
type_type of editing event
x_x position of the shape editor box
y_y position of the shape editor box
width_width of the shape editor box
height_height of the shape editor box
angle_angle of the shape editor box

Member Data Documentation

§ angle

float ofxOui::ShapeEditor::EditEvent::angle

angle of the shape editor box

§ height

float ofxOui::ShapeEditor::EditEvent::height

height of the shape editor box

§ sender

ShapeEditor* ofxOui::ShapeEditor::EditEvent::sender

pointer to the sender component

§ type

Type ofxOui::ShapeEditor::EditEvent::type

type of editing event

§ width

float ofxOui::ShapeEditor::EditEvent::width

width of the shape editor box

§ x

float ofxOui::ShapeEditor::EditEvent::x

x position of the shape editor box

§ y

float ofxOui::ShapeEditor::EditEvent::y

y position of the shape editor box


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