Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HTexturePickerWindow Class Reference

List of all members.

Public Member Functions

 HTexturePickerWindow (HBaseView *view, int DoRepeat=0, int DoCapture=1)
virtual int OnLButtonDown (HEventInfo &hevent)
virtual int OnLButtonDownAndMove (HEventInfo &hevent)
virtual int OnLButtonUp (HEventInfo &hevent)
virtual void UpdateContent ()

Member Function Documentation

virtual int HTexturePickerWindow::OnLButtonDown ( HEventInfo hevent) [virtual]

This method handles the left button down event by determining what type of action the user is trying to take depending on the position of the mouse pointer and the characteristics of the subwindow.

Parameters:
heventAn HEventInfo object containing the information about the current event.
Returns:
An HOperatorReturn indicating the status of the event.

Reimplemented from HSubwindow2.

virtual int HTexturePickerWindow::OnLButtonDownAndMove ( HEventInfo hevent) [virtual]

This method handles the left button down and move event by updating the window characteristics depending on the current action identified in the OnLButtonDown event. For instance, if the action was determined to be SW_ACTION_MOVE, then this event would cause the subwindow to move to the new position indicated in hevent. If the action was SW_ACTION_SIZING, then the subwindow would be resized.

Parameters:
heventAn HEventInfo object containing the information about the current event.
Returns:
An HOperatorReturn indicating the status of the event.

Reimplemented from HSubwindow2.

virtual int HTexturePickerWindow::OnLButtonUp ( HEventInfo hevent) [virtual]

This method handles the left button up event. If the action is SW_ACTION_MOVE or SW_ACTION_MAGNIFYING, this method creates a new movement keyframe. If the action is SW_ACTION_SIZING, this method creates a new scale keyframe.

Parameters:
heventAn HEventInfo object containing the information about the current event.
Returns:
An HOperatorReturn indicating the status of the event.

Reimplemented from HSubwindow2.


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