コード例 #1
0
ファイル: UI_Widget.cpp プロジェクト: dfghj44444/XmGui
	///////////////////////////////////////////////////////////////////////////
	// ctor/dtor
	UI_Widget::UI_Widget()
	{
		XM_RTTI_INIT_POINTER;
		// using hit-test
		m_bHitTest		= true;
		// L-Button Pressed
		m_bPressed		= false;
		// mouse over
		m_bMouseOver	= false;
		// focus
		m_bHasFocus		= false;
		// control state
		m_ControlState	= getControlState();

		updateControlState();		
	}
void printControl(MIXERCONTROL* control) {
    TRACE3("    %s: dwControlType=%s/%s, ", control->szName, getControlClass(control->dwControlType), getControlType(control->dwControlType));
    TRACE3("multpleItems=%d, state=%d, %s\n", control->cMultipleItems, control->fdwControl, getControlState(control->fdwControl));
}