HTexturePickerWindow
-
class
HTexturePickerWindow Inherits from:
HSubwindow2
Methods
-
HTexturePickerWindow::HTexturePickerWindow(HBaseView *view, int DoRepeat = 0, int DoCapture = 1)
-
HTexturePickerWindow::HTexturePickerWindow()
-
virtual void
HTexturePickerWindow::UpdateContent() virtual
-
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
hevent: AnHEventInfoobject containing the information about the current event.Returns
AnHOperatorReturnindicating the status of the event.
-
virtual int
HTexturePickerWindow::OnLButtonUp(HEventInfo &hevent) virtual
This method handles the left button up event. If the action is
SW_ACTION_MOVEorSW_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: AnHEventInfoobject containing the information about the current event.Returns
AnHOperatorReturnindicating the status of the event.
-
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 wasSW_ACTION_SIZING, then the subwindow would be resized.Parameters
hevent: AnHEventInfoobject containing the information about the current event.Returns
AnHOperatorReturnindicating the status of the event.