Lines Matching refs:nState

179 static void NWSetWidgetState( GtkWidget* widget, ControlState nState, GtkStateType nGtkState );
189 …nArea( int nScreen, ControlType nType, ControlPart nPart, Rectangle aAreaRect, ControlState nState,
193 …pRect( int nScreen, ControlType nType, ControlPart nPart, Rectangle aAreaRect, ControlState nState,
198 ControlState nState, const ImplControlValue& aValue,
202 …nRect( int nScreen, ControlType nType, ControlPart nPart, Rectangle aAreaRect, ControlState nState,
206 ControlState nState, const ImplControlValue& aValue,
209 …nRect( int nScreen, ControlType nType, ControlPart nPart, Rectangle aAreaRect, ControlState nState,
213 …nRect( int nScreen, ControlType nType, ControlPart nPart, Rectangle aAreaRect, ControlState nState,
216 …rRect( int nScreen, ControlType nType, ControlPart nPart, Rectangle aAreaRect, ControlState nState,
223 ControlState nState,
713 ControlState nState, in drawNativeControl() argument
790 …returnVal = NWPaintGTKButton( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCaptio… in drawNativeControl()
794 …returnVal = NWPaintGTKRadio( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCaption… in drawNativeControl()
798 …returnVal = NWPaintGTKCheck( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCaption… in drawNativeControl()
802 returnVal = NWPaintGTKScrollbar( nType, nPart, aCtrlRect, aClip, nState, aValue, rCaption ); in drawNativeControl()
809 …returnVal = NWPaintGTKEditBox( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapti… in drawNativeControl()
813 …returnVal = NWPaintGTKEditBox( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapti… in drawNativeControl()
818 returnVal = NWPaintGTKSpinBox( nType, nPart, aCtrlRect, aClip, nState, aValue, rCaption ); in drawNativeControl()
825 …returnVal = NWPaintGTKComboBox( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapt… in drawNativeControl()
832 … returnVal = NWPaintGTKTabItem( nType, nPart, aCtrlRect, aClip, nState, aValue, rCaption); in drawNativeControl()
836 …returnVal = NWPaintGTKListBox( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapti… in drawNativeControl()
840 …returnVal = NWPaintGTKToolbar( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapti… in drawNativeControl()
844 …returnVal = NWPaintGTKMenubar( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapti… in drawNativeControl()
854 …returnVal = NWPaintGTKPopupMenu( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCap… in drawNativeControl()
858 …returnVal = NWPaintGTKTooltip( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapti… in drawNativeControl()
862 …returnVal = NWPaintGTKProgress( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapt… in drawNativeControl()
866 …returnVal = NWPaintGTKListNode( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCapt… in drawNativeControl()
875 …returnVal = NWPaintGTKSlider( gdkDrawable, nType, nPart, aCtrlRect, aClip, nState, aValue, rCaptio… in drawNativeControl()
924 ControlState nState, in getNativeControlRegion() argument
937 nState, aValue, rCaption ); in getNativeControlRegion()
944 … rNativeBoundingRegion = NWGetComboBoxButtonRect( m_nScreen, nType, nPart, rControlRegion, nState, in getNativeControlRegion()
953 … rNativeBoundingRegion = NWGetSpinButtonRect( m_nScreen, nType, nPart, rControlRegion, nState, in getNativeControlRegion()
961 … rNativeBoundingRegion = NWGetListBoxButtonRect( m_nScreen, nType, nPart, rControlRegion, nState, in getNativeControlRegion()
975 …rNativeBoundingRegion = NWGetToolbarRect( m_nScreen, nType, nPart, rControlRegion, nState, aValue,… in getNativeControlRegion()
1092 ControlState nState, const ImplControlValue&, in NWPaintGTKButton() argument
1107 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKButton()
1133 NWSetWidgetState( gWidgetData[m_nScreen].gBtnWidget, nState, stateType ); in NWPaintGTKButton()
1136 if ( (nState & CTRL_STATE_DEFAULT) && bDrawFocus ) in NWPaintGTKButton()
1163 …if ( (nState & CTRL_STATE_DEFAULT) && (GTK_BUTTON(gWidgetData[m_nScreen].gBtnWidget)->relief == GT… in NWPaintGTKButton()
1170 || (nState & CTRL_STATE_PRESSED) in NWPaintGTKButton()
1171 || (nState & CTRL_STATE_ROLLOVER) ) in NWPaintGTKButton()
1179 if ( (nState & CTRL_STATE_FOCUSED) && (nState & CTRL_STATE_ENABLED) && bDrawFocus ) in NWPaintGTKButton()
1205 … ControlType, ControlPart, Rectangle aAreaRect, ControlState nState, in NWGetButtonArea() argument
1242 if ( (nState & CTRL_STATE_DEFAULT) && bDrawFocus ) in NWGetButtonArea()
1261 ControlState nState, in NWPaintGTKRadio() argument
1273 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKRadio()
1283 NWSetWidgetState( gWidgetData[m_nScreen].gRadioWidget, nState, stateType ); in NWPaintGTKRadio()
1284 NWSetWidgetState( gWidgetData[m_nScreen].gRadioWidgetSibling, nState, stateType ); in NWPaintGTKRadio()
1319 ControlState nState, in NWPaintGTKCheck() argument
1332 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKCheck()
1342 NWSetWidgetState( gWidgetData[m_nScreen].gCheckWidget, nState, stateType ); in NWPaintGTKCheck()
1376 ControlState nState, in NWPaintGTKScrollbar() argument
1588 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKScrollbar()
1589 NWSetWidgetState( GTK_WIDGET(scrollbarWidget), nState, stateType ); in NWPaintGTKScrollbar()
1590 NWSetWidgetState( gWidgetData[m_nScreen].gBtnWidget, nState, stateType ); in NWPaintGTKScrollbar()
1603 if ( nState & CTRL_STATE_FOCUSED ) in NWPaintGTKScrollbar()
1783 ControlState nState, in NWPaintGTKEditBox() argument
1793 nState, aValue, rCaption ); in NWPaintGTKEditBox()
1801 …NWPaintOneEditBox( m_nScreen, gdkDrawable, &clipRect, nType, nPart, pixmapRect, nState, aValue, rC… in NWPaintGTKEditBox()
1852 ControlState nState, in NWPaintOneEditBox() argument
1865 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintOneEditBox()
1897 NWSetWidgetState( gWidgetData[nScreen].gBtnWidget, nState, stateType ); in NWPaintOneEditBox()
1900 NWSetWidgetState( widget, nState, stateType ); in NWPaintOneEditBox()
1920 ControlState nState, in NWPaintGTKSpinBox() argument
1940 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKSpinBox()
1981 …NWPaintOneEditBox( m_nScreen, pixmap, NULL, nType, nPart, aEditBoxRect, nState, aValue, rCaption ); in NWPaintGTKSpinBox()
1984 NWSetWidgetState( gWidgetData[m_nScreen].gSpinButtonWidget, nState, stateType ); in NWPaintGTKSpinBox()
2060 ControlState nState, in NWPaintOneSpinButton() argument
2071 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintOneSpinButton()
2073 buttonRect = NWGetSpinButtonRect( nScreen, nType, nPart, aAreaRect, nState, aValue, rCaption ); in NWPaintOneSpinButton()
2075 NWSetWidgetState( gWidgetData[nScreen].gSpinButtonWidget, nState, stateType ); in NWPaintOneSpinButton()
2103 ControlState nState, in NWPaintGTKComboBox() argument
2118 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKComboBox()
2126 NWSetWidgetState( gWidgetData[m_nScreen].gBtnWidget, nState, stateType ); in NWPaintGTKComboBox()
2127 NWSetWidgetState( gWidgetData[m_nScreen].gComboWidget, nState, stateType ); in NWPaintGTKComboBox()
2128 NWSetWidgetState( gWidgetData[m_nScreen].gArrowWidget, nState, stateType ); in NWPaintGTKComboBox()
2130 …buttonRect = NWGetComboBoxButtonRect( m_nScreen, nType, PART_BUTTON_DOWN, pixmapRect, nState, aVal… in NWPaintGTKComboBox()
2152 nState, aValue, rCaption ); in NWPaintGTKComboBox()
2235 ControlState nState, in NWPaintGTKTabItem() argument
2265 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKTabItem()
2281 if ( nState & CTRL_STATE_SELECTED ) in NWPaintGTKTabItem()
2303 if( aCacheItems.Find( nType, nState, pixmapRect, &pixmap ) ) in NWPaintGTKTabItem()
2308 if( aCachePage.Find( nType, nState, pixmapRect, &pixmap ) ) in NWPaintGTKTabItem()
2325 NWSetWidgetState( gWidgetData[m_nScreen].gNotebookWidget, nState, stateType ); in NWPaintGTKTabItem()
2339 stateType = ( nState & CTRL_STATE_SELECTED ) ? GTK_STATE_NORMAL : GTK_STATE_ACTIVE; in NWPaintGTKTabItem()
2345 if ( nState & CTRL_STATE_SELECTED ) in NWPaintGTKTabItem()
2362 aCacheItems.Fill( nType, nState, pixmapRect, pixmap ); in NWPaintGTKTabItem()
2364 aCachePage.Fill( nType, nState, pixmapRect, pixmap ); in NWPaintGTKTabItem()
2377 ControlState nState, in NWPaintGTKListBox() argument
2395 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKListBox()
2414 NWSetWidgetState( gWidgetData[m_nScreen].gBtnWidget, nState, stateType ); in NWPaintGTKListBox()
2415 NWSetWidgetState( gWidgetData[m_nScreen].gOptionMenuWidget, nState, stateType ); in NWPaintGTKListBox()
2416 NWSetWidgetState( gWidgetData[m_nScreen].gScrolledWindowWidget, nState, stateType ); in NWPaintGTKListBox()
2445 … aIndicatorRect = NWGetListBoxIndicatorRect( m_nScreen, nType, nPart, widgetRect, nState, in NWPaintGTKListBox()
2472 ControlState nState, const ImplControlValue& aValue, in NWPaintGTKToolbar() argument
2485 nState &= ~CTRL_STATE_FOCUSED; in NWPaintGTKToolbar()
2486 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKToolbar()
2496 NWSetWidgetState( gWidgetData[m_nScreen].gToolbarWidget, nState, stateType ); in NWPaintGTKToolbar()
2499 if ( nState & CTRL_STATE_ENABLED ) in NWPaintGTKToolbar()
2510 NWSetWidgetState( gWidgetData[m_nScreen].gHandleBoxWidget, nState, stateType ); in NWPaintGTKToolbar()
2513 if ( nState & CTRL_STATE_ENABLED ) in NWPaintGTKToolbar()
2533 || (nState & CTRL_STATE_PRESSED) in NWPaintGTKToolbar()
2534 || (nState & CTRL_STATE_ROLLOVER); in NWPaintGTKToolbar()
2542 if( (nState & (CTRL_STATE_ROLLOVER|CTRL_STATE_PRESSED)) ) in NWPaintGTKToolbar()
2552 NWSetWidgetState( pButtonWidget, nState, stateType ); in NWPaintGTKToolbar()
2623 ControlState nState, const ImplControlValue&, in NWPaintGTKMenubar() argument
2633 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKMenubar()
2642 if( nState & (CTRL_STATE_SELECTED|CTRL_STATE_ROLLOVER) ) in NWPaintGTKMenubar()
2660 NWSetWidgetState( gWidgetData[m_nScreen].gMenubarWidget, nState, stateType ); in NWPaintGTKMenubar()
2663 if ( nState & CTRL_STATE_ENABLED ) in NWPaintGTKMenubar()
2686 if( nState & (CTRL_STATE_SELECTED|CTRL_STATE_ROLLOVER) ) in NWPaintGTKMenubar()
2708 ControlState nState, const ImplControlValue&, in NWPaintGTKPopupMenu() argument
2713 if( nPart == PART_MENU_ITEM && ! (nState & CTRL_STATE_ENABLED) ) in NWPaintGTKPopupMenu()
2723 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKPopupMenu()
2731 ( nState & (CTRL_STATE_SELECTED|CTRL_STATE_ROLLOVER) ) ) in NWPaintGTKPopupMenu()
2738 NWSetWidgetState( gWidgetData[m_nScreen].gMenuWidget, nState, stateType ); in NWPaintGTKPopupMenu()
2741 if ( nState & CTRL_STATE_ENABLED ) in NWPaintGTKPopupMenu()
2773 if( nState & (CTRL_STATE_SELECTED|CTRL_STATE_ROLLOVER) ) in NWPaintGTKPopupMenu()
2775 if( nState & CTRL_STATE_ENABLED ) in NWPaintGTKPopupMenu()
2795 if ( nState & CTRL_STATE_SELECTED ) in NWPaintGTKPopupMenu()
2798 NWSetWidgetState( pWidget, nState, nStateType ); in NWPaintGTKPopupMenu()
2800 if ( nState & CTRL_STATE_PRESSED ) in NWPaintGTKPopupMenu()
2876 ControlState nState, const ImplControlValue& rValue, in NWPaintGTKListNode() argument
2892 NWConvertVCLStateToGTKState( nState, &stateType, &shadowType ); in NWPaintGTKListNode()
2994 ControlState nState, const ImplControlValue& rValue, in NWPaintGTKSlider() argument
3016 GtkStateType eState = (nState & CTRL_STATE_ENABLED) ? GTK_STATE_ACTIVE : GTK_STATE_INSENSITIVE; in NWPaintGTKSlider()
3026 eState = (nState & CTRL_STATE_ENABLED) ? GTK_STATE_NORMAL : GTK_STATE_INSENSITIVE; in NWPaintGTKSlider()
3742 static void NWSetWidgetState( GtkWidget* widget, ControlState nState, GtkStateType nGtkState ) in NWSetWidgetState() argument
3750 if ( nState & CTRL_STATE_DEFAULT ) in NWSetWidgetState()
3752 if ( !GTK_IS_TOGGLE_BUTTON(widget) && (nState & CTRL_STATE_FOCUSED) ) in NWSetWidgetState()
3754 if ( nState & CTRL_STATE_ENABLED ) in NWSetWidgetState()