NAP
Public Member Functions | Public Attributes | Protected Attributes | List of all members
SequenceEditorGUI Class Reference

#include <sequenceeditorgui.h>

Public Member Functions

 SequenceEditorGUI (SequenceGUIService &service)
 
bool init (utility::ErrorState &errorState) override
 
void onDestroy () override
 
virtual void show (bool newWindow=true)
 
SequenceGUIServicegetService ()
 
- Public Member Functions inherited from Resource
 Resource ()
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 

Public Attributes

ResourcePtr< RenderWindowmRenderWindow = nullptr
 
ResourcePtr< SequenceEditormSequenceEditor = nullptr
 Property: 'Sequence Editor' link to editor resource. More...
 
bool mDrawFullWindow = false
 Property: 'Draw Full Window' if true, gui will span entire window size. More...
 
bool mHideMarkerLabels = false
 Property: 'Hide Marker Labels' if true, hides marker labels when not hovered. More...
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Protected Attributes

std::unique_ptr< SequenceEditorGUIViewmView = nullptr
 
SequenceGUIServicemService
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 

Description

A GUI resource that can be instantiated to draw a GUI (view) for the sequence editor

Inheritance diagram for SequenceEditorGUI:
[legend]
Collaboration diagram for SequenceEditorGUI:
[legend]

Constructor & Destructor Documentation

◆ SequenceEditorGUI()

Member Function Documentation

◆ getService()

SequenceGUIService& getService ( )
Returns
sequence editor gui service

◆ init()

bool init ( utility::ErrorState errorState)
overridevirtual
Parameters
errorStatecontains any errors
Returns
true on success

Reimplemented from Object.

◆ onDestroy()

void onDestroy ( )
overridevirtual

called before deconstruction

Reimplemented from Object.

◆ show()

virtual void show ( bool  newWindow = true)
virtual

Shows the editor interface

Parameters
newWindowwhen true interface will be drawn in a new ImGUI window

Member Data Documentation

◆ mDrawFullWindow

bool mDrawFullWindow = false

Property: 'Draw Full Window' if true, gui will span entire window size.

◆ mHideMarkerLabels

bool mHideMarkerLabels = false

Property: 'Hide Marker Labels' if true, hides marker labels when not hovered.

◆ mRenderWindow

ResourcePtr<RenderWindow> mRenderWindow = nullptr

◆ mSequenceEditor

ResourcePtr<SequenceEditor> mSequenceEditor = nullptr

Property: 'Sequence Editor' link to editor resource.

◆ mService

SequenceGUIService& mService
protected

◆ mView

std::unique_ptr<SequenceEditorGUIView> mView = nullptr
protected