HTexturePickerWindow

Functions

HTexturePickerWindow

HTexturePickerWindow

void

UpdateContent

int

OnLButtonDown

int

OnLButtonUp

int

OnLButtonDownAndMove

Detailed Description

class HTexturePickerWindow : public HSubwindow2

Public Functions

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

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

hevent – An HEventInfo object containing the information about the current event.

Returns

An HOperatorReturn indicating the status of the event.

virtual int OnLButtonUp(HEventInfo &hevent)

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

hevent – An HEventInfo object containing the information about the current event.

Returns

An HOperatorReturn indicating the status of the event.

virtual int OnLButtonDownAndMove(HEventInfo &hevent)

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

hevent – An HEventInfo object containing the information about the current event.

Returns

An HOperatorReturn indicating the status of the event.