Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EventTarget Class Reference

#include <EventTarget.h>

Inheritance diagram for EventTarget:
ActiveWindow MapView Button ComboBox FormWindow ImageBox ScrollWindow Slider AudDlg AwardDlg AwardShowDlg CmdForceDlg CmdIntelDlg CmdMissionsDlg CmdMsgDlg CmdOrdersDlg CmdTheaterDlg CmdTitleDlg CmpCompleteDlg CmpFileDlg CmpLoadDlg CmpSceneDlg CmpSelectDlg ConfirmDlg CtlDlg DebriefDlg EngDlg ExitDlg FirstTimeDlg FltDlg JoyDlg KeyDlg LoadDlg MenuDlg ModDlg ModInfoDlg MsnEditDlg MsnElemDlg MsnEventDlg MsnObjDlg MsnPkgDlg MsnSelectDlg MsnWepDlg NavDlg NetAddrDlg NetClientDlg NetLobbyDlg NetPassDlg NetServerDlg NetUnitDlg OptDlg PlayerDlg TacRefDlg VidDlg ComboList EditBox ListBox RichTextBox

List of all members.

Public Member Functions

virtual ~EventTarget ()
int operator== (const EventTarget &t) const
virtual int OnMouseMove (int x, int y)
virtual int OnLButtonDown (int x, int y)
virtual int OnLButtonUp (int x, int y)
virtual int OnClick ()
virtual int OnSelect ()
virtual int OnRButtonDown (int x, int y)
virtual int OnRButtonUp (int x, int y)
virtual int OnMouseEnter (int x, int y)
virtual int OnMouseExit (int x, int y)
virtual int OnMouseWheel (int wheel)
virtual int OnKeyDown (int vk, int flags)
virtual void SetFocus ()
virtual void KillFocus ()
virtual bool HasFocus () const
virtual bool IsEnabled () const
virtual bool IsVisible () const
virtual bool IsFormActive () const
virtual Rect TargetRect () const
virtual const char * GetDescription () const

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 23 of file EventTarget.h.


Constructor & Destructor Documentation

virtual EventTarget::~EventTarget ( )
inlinevirtual

Definition at line 28 of file EventTarget.h.


Member Function Documentation

virtual const char* EventTarget::GetDescription ( ) const
inlinevirtual

Reimplemented in ActiveWindow.

Definition at line 55 of file EventTarget.h.

virtual bool EventTarget::HasFocus ( ) const
inlinevirtual

Reimplemented in ActiveWindow.

Definition at line 47 of file EventTarget.h.

virtual bool EventTarget::IsEnabled ( ) const
inlinevirtual

Reimplemented in ActiveWindow, and MapView.

Definition at line 49 of file EventTarget.h.

virtual bool EventTarget::IsFormActive ( ) const
inlinevirtual

Reimplemented in ActiveWindow, and MapView.

Definition at line 51 of file EventTarget.h.

virtual bool EventTarget::IsVisible ( ) const
inlinevirtual

Reimplemented in ActiveWindow, and MapView.

Definition at line 50 of file EventTarget.h.

virtual void EventTarget::KillFocus ( )
inlinevirtual

Reimplemented in ActiveWindow, ComboList, and EditBox.

Definition at line 46 of file EventTarget.h.

virtual int EventTarget::OnClick ( )
inlinevirtual

Reimplemented in ActiveWindow, MapView, ScrollWindow, ListBox, Button, ComboBox, ComboList, EditBox, RichTextBox, Slider, and ImageBox.

Definition at line 35 of file EventTarget.h.

virtual int EventTarget::OnKeyDown ( int  vk,
int  flags 
)
inlinevirtual

Reimplemented in ActiveWindow, ScrollWindow, ListBox, EditBox, and RichTextBox.

Definition at line 43 of file EventTarget.h.

virtual int EventTarget::OnLButtonDown ( int  x,
int  y 
)
inlinevirtual

Reimplemented in ActiveWindow, MapView, ScrollWindow, Button, ListBox, ComboBox, ComboList, EditBox, RichTextBox, Slider, and ImageBox.

Definition at line 33 of file EventTarget.h.

virtual int EventTarget::OnLButtonUp ( int  x,
int  y 
)
inlinevirtual

Reimplemented in ActiveWindow, MapView, ScrollWindow, Button, ListBox, ComboBox, ComboList, EditBox, RichTextBox, Slider, and ImageBox.

Definition at line 34 of file EventTarget.h.

virtual int EventTarget::OnMouseEnter ( int  x,
int  y 
)
inlinevirtual

Reimplemented in ActiveWindow, Button, ComboBox, ComboList, and ImageBox.

Definition at line 39 of file EventTarget.h.

virtual int EventTarget::OnMouseExit ( int  x,
int  y 
)
inlinevirtual

Reimplemented in ActiveWindow, Button, ComboBox, ComboList, and ImageBox.

Definition at line 40 of file EventTarget.h.

virtual int EventTarget::OnMouseMove ( int  x,
int  y 
)
inlinevirtual

Reimplemented in ActiveWindow, MapView, ScrollWindow, Button, ListBox, ComboBox, ComboList, EditBox, RichTextBox, Slider, and ImageBox.

Definition at line 32 of file EventTarget.h.

virtual int EventTarget::OnMouseWheel ( int  wheel)
inlinevirtual

Reimplemented in ActiveWindow, ScrollWindow, ListBox, and RichTextBox.

Definition at line 41 of file EventTarget.h.

virtual int EventTarget::OnRButtonDown ( int  x,
int  y 
)
inlinevirtual

Reimplemented in ActiveWindow, and MapView.

Definition at line 37 of file EventTarget.h.

virtual int EventTarget::OnRButtonUp ( int  x,
int  y 
)
inlinevirtual

Reimplemented in ActiveWindow, and MapView.

Definition at line 38 of file EventTarget.h.

virtual int EventTarget::OnSelect ( )
inlinevirtual

Reimplemented in ActiveWindow.

Definition at line 36 of file EventTarget.h.

int EventTarget::operator== ( const EventTarget t) const
inline

Definition at line 30 of file EventTarget.h.

virtual void EventTarget::SetFocus ( )
inlinevirtual

Reimplemented in ActiveWindow, and EditBox.

Definition at line 45 of file EventTarget.h.

virtual Rect EventTarget::TargetRect ( ) const
inlinevirtual

Reimplemented in ActiveWindow, and MapView.

Definition at line 53 of file EventTarget.h.

static const char* EventTarget::TYPENAME ( )
inlinestatic

Reimplemented in ActiveWindow, ComboBox, ComboList, RichTextBox, EditBox, and Slider.

Definition at line 26 of file EventTarget.h.


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