SkyGI::FavoritesViewEntry Class Reference

Inheritance diagram for SkyGI::FavoritesViewEntry:
[legend]
Collaboration diagram for SkyGI::FavoritesViewEntry:
[legend]
List of all members.

Public Member Functions

 FavoritesViewEntry (FavoritesView *pParent, const String &szLocation, const Rect rFrame, const String &pLabel, unsigned int nWindowLayoutFlags)
void MouseMove (const InputEvent &nInputEvent)
void MouseUp (const InputEvent &nInputEvent)
void OnCommand (const MessageCommand *pMessage)

Public Attributes

String m_szName
String m_szLocation

Constructor & Destructor Documentation

FavoritesViewEntry::FavoritesViewEntry ( FavoritesView pParent,
const String szLocation,
const Rect  rFrame,
const String pLabel,
unsigned int  nWindowLayoutFlags 
)


Member Function Documentation

void FavoritesViewEntry::MouseMove ( const InputEvent nInputEvent  )  [virtual]

Mouse move

Description:
This function gets called when the mouse cursor was moved inside the window. Mouse move events are only generated after a call to EnableMouseMoveEvents(). Use DisableMouseMoveEvents() to disable further generation of mouse move events.
Overload this member function to react on mouse move events.
Parameters:
pNewPosition - Current mouse cursor position
pOldPosition - Old mouse cursor position
nMouseButtonMask - Mask showing which mouse buttons were pressed when the mouse move occured

Reimplemented from SkyGI::Window.

void FavoritesViewEntry::MouseUp ( const InputEvent nInputEvent  )  [virtual]

Mouse release

Description:
This function gets called when a mouse release occured inside this window.
Overload this member function to react on mouse releases.
Parameters:
nButton - MouseButton which was released
nMouseButtonMask - Mask showing which additional mouse buttons were pressed when the mouse release occured
nInputEvent - INPUT_EVENT_MOUSE_RELEASE

Reimplemented from SkyGI::Window.

void FavoritesViewEntry::OnCommand ( const MessageCommand pMessage  )  [virtual]

Called when a command occured

Description:
Gets called whenever a window for which this window is the target post a command. For instance, when you press a Button the virtual Button::OnClicked method gets called. If not overloaded this OnClicked function will post a MSG_COMMAND to buttons window target. This message will then be processed by the target window which calls this OnCommand method.

Reimplemented from SkyGI::Window.


Member Data Documentation

String SkyGI::FavoritesViewEntry::m_szName

String SkyGI::FavoritesViewEntry::m_szLocation


Generated on Thu Dec 13 18:14:22 2007 for SkyGI by  doxygen 1.5.1-p1