mxExpressionSlider::mxExpressionSlider (mxWindow *parent, int x, int y, int w, int h, int id ) : mxWindow( parent, x, y, w, h ) { setId( id ); setType( MX_SLIDER ); FacePoser_AddWindowStyle( this, WS_CLIPCHILDREN | WS_CLIPSIBLINGS ); m_flMin[ 0 ] = 0.0; m_flMax[ 0 ] = 1.0f; m_nTicks[ 0 ] = 20; m_flCurrent[ 0 ] = 0.0f; m_flMin[ 1 ] = 0.0; m_flMax[ 1 ] = 1.0f; m_nTicks[ 1 ] = 20; m_flCurrent[ 1 ] = 0.5f; m_flSetting[ 0 ] = 0.0; m_flSetting[ 1 ] = 0.0; m_bDraggingThumb = false; m_nCurrentBar = 0; m_bPaired = false; m_nTitleWidth = 120; m_bDrawTitle = true; m_pInfluence = new mxCheckBox( this, 2, 4, 12, 12, "", IDC_INFLUENCE ); }
CMDLViewerGridSettings( mxWindow *parent, int x, int y, int w, int h ) : mxWindow( parent, x, y, w, h ) { FacePoser_AddWindowStyle( this, WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS ); m_btnFPS = new CFlatButton( this, IDC_GRIDSETTINGS_FPS ); m_btnGridSnap = new CFlatButton( this, IDC_GRIDSETTINGS_SNAP ); }
CMDLViewerWorkspace( mxWindow *parent, int x, int y, int w, int h, const char *label = 0, int style = 0) : mxWindow( parent, x, y, w, h, label, style ) { FacePoser_AddWindowStyle( this, WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS ); }
CControlPanelTabWindow( mxWindow *parent, int x, int y, int w, int h ) : mxWindow( parent, x, y, w, h ) { FacePoser_AddWindowStyle( this, WS_CLIPSIBLINGS | WS_CLIPCHILDREN ); };