TDME2 1.9.121
Public Member Functions | Private Attributes | List of all members
SoundTabController Class Referencefinal

Sound tab controller. More...

#include <tdme/tools/editor/tabcontrollers/SoundTabController.h>

Inheritance diagram for SoundTabController:
Inheritance graph
Collaboration diagram for SoundTabController:
Collaboration graph

Public Member Functions

 SoundTabController (SoundTabView *view)
 Public constructor. More...
 
virtual ~SoundTabController ()
 Destructor. More...
 
SoundTabViewgetView ()
 Get view. More...
 
GUIScreenNodegetScreenNode () override
 
void initialize (GUIScreenNode *screenNode) override
 Init. More...
 
void dispose () override
 Dispose. More...
 
void save () override
 Save. More...
 
void saveAs () override
 Save. More...
 
void onValueChanged (GUIElementNode *node) override
 On value changed. More...
 
void onActionPerformed (GUIActionListenerType type, GUIElementNode *node) override
 
void onFocus (GUIElementNode *node) override
 On focus. More...
 
void onUnfocus (GUIElementNode *node) override
 On unfocus. More...
 
void onContextMenuRequested (GUIElementNode *node, int mouseX, int mouseY) override
 On mouse over. More...
 
void setOutlinerContent ()
 Set outliner content. More...
 
void setOutlinerAddDropDownContent ()
 Set outliner add drop down content. More...
 
void showErrorPopUp (const string &caption, const string &message)
 Shows the error pop up. More...
 
- Public Member Functions inherited from TabController
virtual ~TabController ()
 Destructor. More...
 
virtual void initialize (GUIScreenNode *screenNode)=0
 Init. More...
 
virtual void dispose ()=0
 Dispose. More...
 
virtual GUIScreenNodegetScreenNode ()=0
 
virtual void save ()=0
 Save. More...
 
virtual void saveAs ()=0
 Save. More...
 
- Public Member Functions inherited from GUIActionListener
virtual ~GUIActionListener ()
 Destructor. More...
 
virtual void onActionPerformed (GUIActionListenerType type, GUIElementNode *node)=0
 On action performed. More...
 
- Public Member Functions inherited from GUIChangeListener
virtual ~GUIChangeListener ()
 Destructor. More...
 
virtual void onValueChanged (GUIElementNode *node)=0
 On value changed. More...
 
- Public Member Functions inherited from GUIFocusListener
virtual ~GUIFocusListener ()
 Destructor. More...
 
virtual void onFocus (GUIElementNode *node)=0
 On focus. More...
 
virtual void onUnfocus (GUIElementNode *node)=0
 On unfocus. More...
 
- Public Member Functions inherited from GUIContextMenuRequestListener
virtual ~GUIContextMenuRequestListener ()
 Destructor. More...
 
virtual void onContextMenuRequested (GUIElementNode *node, int mouseX, int mouseY)=0
 On mouse over. More...
 

Private Attributes

SoundTabViewview { nullptr }
 
GUIScreenNodescreenNode { nullptr }
 
PopUpspopUps { nullptr }
 

Detailed Description

Sound tab controller.

Author
Andreas Drewke
Version
$Id$

Definition at line 40 of file SoundTabController.h.

Constructor & Destructor Documentation

◆ SoundTabController()

Public constructor.

Parameters
viewview

Definition at line 57 of file SoundTabController.cpp.

◆ ~SoundTabController()

~SoundTabController ( )
virtual

Destructor.

Definition at line 63 of file SoundTabController.cpp.

Member Function Documentation

◆ dispose()

void dispose ( )
overridevirtual

Dispose.

Implements TabController.

Definition at line 80 of file SoundTabController.cpp.

◆ getScreenNode()

GUIScreenNode * getScreenNode ( )
overridevirtual

Implements TabController.

Definition at line 70 of file SoundTabController.cpp.

◆ getView()

SoundTabView * getView ( )

Get view.

Definition at line 66 of file SoundTabController.cpp.

◆ initialize()

void initialize ( GUIScreenNode screenNode)
overridevirtual

Init.

Implements TabController.

Definition at line 75 of file SoundTabController.cpp.

◆ onActionPerformed()

void onActionPerformed ( GUIActionListenerType  type,
GUIElementNode node 
)
override

Definition at line 120 of file SoundTabController.cpp.

◆ onContextMenuRequested()

void onContextMenuRequested ( GUIElementNode node,
int  mouseX,
int  mouseY 
)
overridevirtual

On mouse over.

Parameters
nodenode
mouseXunscaled mouse X position
mouseYunscaled mouse Y position

Implements GUIContextMenuRequestListener.

Definition at line 107 of file SoundTabController.cpp.

◆ onFocus()

void onFocus ( GUIElementNode node)
overridevirtual

On focus.

Parameters
nodenode

Implements GUIFocusListener.

Definition at line 101 of file SoundTabController.cpp.

◆ onUnfocus()

void onUnfocus ( GUIElementNode node)
overridevirtual

On unfocus.

Parameters
nodenode

Implements GUIFocusListener.

Definition at line 104 of file SoundTabController.cpp.

◆ onValueChanged()

void onValueChanged ( GUIElementNode node)
overridevirtual

On value changed.

Parameters
nodenode

Implements GUIChangeListener.

Definition at line 97 of file SoundTabController.cpp.

◆ save()

void save ( )
overridevirtual

Save.

Implements TabController.

Definition at line 84 of file SoundTabController.cpp.

◆ saveAs()

void saveAs ( )
overridevirtual

Save.

Implements TabController.

Definition at line 88 of file SoundTabController.cpp.

◆ setOutlinerAddDropDownContent()

void setOutlinerAddDropDownContent ( )

Set outliner add drop down content.

Definition at line 116 of file SoundTabController.cpp.

◆ setOutlinerContent()

void setOutlinerContent ( )

Set outliner content.

Definition at line 110 of file SoundTabController.cpp.

◆ showErrorPopUp()

void showErrorPopUp ( const string &  caption,
const string &  message 
)

Shows the error pop up.

Parameters
captioncaption
messagemessage

Definition at line 92 of file SoundTabController.cpp.

Member Data Documentation

◆ popUps

PopUps* popUps { nullptr }
private

Definition at line 47 of file SoundTabController.h.

◆ screenNode

GUIScreenNode* screenNode { nullptr }
private

Definition at line 46 of file SoundTabController.h.

◆ view

SoundTabView* view { nullptr }
private

Definition at line 45 of file SoundTabController.h.


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