Lines Matching refs:style
1150 int style = WS_CHILD | WS_TABSTOP | SS_LEFT | ES_AUTOHSCROLL; in AddRichEditControl() local
1153 style |= ES_MULTILINE | ES_AUTOVSCROLL; in AddRichEditControl()
1155 pEdit->Create(style, size, this, id); in AddRichEditControl()
1241 mpInfo->style & GX_STYLE_BORDER_MASK); in AddWidgetProps()
1243 AddCheckBox("Transparent", mpInfo->style & GX_STYLE_TRANSPARENT, ID_TRANSPARENT); in AddWidgetProps()
1244 AddCheckBox("Draw Selected", mpInfo->style & GX_STYLE_DRAW_SELECTED, ID_SELECTED); in AddWidgetProps()
1246 AddCheckBox("Enabled", mpInfo->style & GX_STYLE_ENABLED, ID_ENABLED); in AddWidgetProps()
1304 …AddComboBox("Text Align", text_align_styles, ID_TEXT_ALIGN, info->style & GX_STYLE_TEXT_ALIGNMENT_… in AddTextWidgetProperties()
1313 AddCheckBox("Private Text Copy", info->style & GX_STYLE_TEXT_COPY, ID_TEXT_COPY); in AddTextCopyProperty()
1327 AddCheckBox("Read Only", info->style & GX_STYLE_TEXT_INPUT_READONLY, ID_TEXT_INPUT_READONLY); in AddTextInputProperties()
1338 AddCheckBox("Center Text Vertically", info->style & GX_STYLE_VALIGN_CENTER, ID_ML_TEXT_VCENTER); in AddMLTextViewProperties()
1348 AddCheckBox("Read Only", info->style & GX_STYLE_TEXT_INPUT_READONLY, ID_TEXT_INPUT_READONLY); in AddMLTextInputProperties()
1362 …AddComboBox("Text Align", text_align_styles, ID_TEXT_ALIGN, info->style & GX_STYLE_TEXT_ALIGNMENT_… in AddRichTextViewProperties()
1381 AddCheckBox("Pushed", info->style & GX_STYLE_BUTTON_PUSHED, ID_BUTTON_STYLE_PUSHED); in AddButtonStyles()
1382 AddCheckBox("Toggle", info->style & GX_STYLE_BUTTON_TOGGLE, ID_BUTTON_STYLE_TOGGLE); in AddButtonStyles()
1383 AddCheckBox("Radio", info->style & GX_STYLE_BUTTON_RADIO, ID_BUTTON_STYLE_RADIO); in AddButtonStyles()
1384 AddCheckBox("Auto Repeat", info->style & GX_STYLE_BUTTON_REPEAT, ID_BUTTON_STYLE_REPEAT); in AddButtonStyles()
1394 INT properties_win::ValidateAlignStyle(INT style) in ValidateAlignStyle() argument
1396 if ((style & GX_PIXELMAP_HALIGN_MASK) == 0) in ValidateAlignStyle()
1398 style |= GX_STYLE_HALIGN_LEFT; in ValidateAlignStyle()
1401 if ((style & GX_PIXELMAP_VALIGN_MASK) == 0) in ValidateAlignStyle()
1403 style |= GX_STYLE_VALIGN_TOP; in ValidateAlignStyle()
1405 return style; in ValidateAlignStyle()
1416 INT style = ValidateAlignStyle(info->style); in AddPixelmapButtonProps() local
1418 …AddComboBox("Horizontal Align", button_halign_styles, ID_PIXMAP_HALIGN, style & GX_PIXELMAP_HALIGN… in AddPixelmapButtonProps()
1419 …AddComboBox("Vertical Align", button_valign_styles, ID_PIXMAP_VALIGN, style & GX_PIXELMAP_VALIGN_M… in AddPixelmapButtonProps()
1455 INT style = ValidateAlignStyle(info->style); in AddIconButtonProps() local
1457 …AddComboBox("Horizontal Align", button_halign_styles, ID_PIXMAP_HALIGN, style & GX_PIXELMAP_HALIGN… in AddIconButtonProps()
1458 …AddComboBox("Vertical Align", button_valign_styles, ID_PIXMAP_VALIGN, style & GX_PIXELMAP_VALIGN_M… in AddIconButtonProps()
1467 INT style = ValidateAlignStyle(info->style); in AddIconProps() local
1469 …AddComboBox("Horizontal Align", button_halign_styles, ID_PIXMAP_HALIGN, style & GX_PIXELMAP_HALIGN… in AddIconProps()
1470 …AddComboBox("Vertical Align", button_valign_styles, ID_PIXMAP_VALIGN, style & GX_PIXELMAP_VALIGN_M… in AddIconProps()
1490 AddCheckBox("Tile Wallpaper", info->style & GX_STYLE_TILE_WALLPAPER, ID_TILE_WALLPAPER); in AddWindowProps()
1497 AddCheckBox("Wrap", info->style & GX_STYLE_WRAP, ID_LIST_WRAP); in AddVerticalListProps()
1498 AddCheckBox("Repeat Select", info->style & GX_STYLE_REPEAT_SELECT, ID_LIST_REPEAT_SELECT); in AddVerticalListProps()
1507 AddCheckBox("Wrap", info->style & GX_STYLE_WRAP, ID_LIST_WRAP); in AddHorizontalListProps()
1508 AddCheckBox("Repeat Select", info->style & GX_STYLE_REPEAT_SELECT, ID_LIST_REPEAT_SELECT); in AddHorizontalListProps()
1516 …AddCheckBox("Tile List Wallpaper", info->style & GX_STYLE_TILE_WALLPAPER, ID_TILE_DROP_LIST_POPLIS… in AddDropListProps()
1520 …AddCheckBox("Tile Background", info->style & GX_STYLE_TILE_BACKGROUND, ID_TILE_DROP_LIST_BACKGROUN… in AddDropListProps()
1548 AddCheckBox("Wrap", info->style & GX_STYLE_WRAP, ID_LIST_WRAP); in AddScrollWheelProps()
1563 AddCheckBox("Expanded", info->style & GX_STYLE_MENU_EXPANDED, ID_MENU_EXPANDED); in AddMenuProps()
1576 …AddCheckBox("Rounding Transform", info->style & GX_STYLE_TEXT_SCROLL_WHEEL_ROUND, ID_TEXT_SCROLL_W… in AddTextScrollWheelProps()
1579 …AddComboBox("Text Align", text_align_styles, ID_TEXT_ALIGN, info->style & GX_STYLE_TEXT_ALIGNMENT_… in AddTextScrollWheelProps()
1648 …AddCheckBox("Show Root Lines", info->style & GX_STYLE_TREE_VIEW_SHOW_ROOT_LINES, ID_TREE_VIEW_SHOW… in AddTreeViewProps()
1658 AddCheckBox("Vertical", info->style & GX_STYLE_SLIDER_VERTICAL, ID_SLIDER_VERTICAL); in AddSliderProps()
1662 AddCheckBox("Show Tickmarks", info->style & GX_STYLE_SHOW_TICKMARKS, ID_SHOW_TICKMARKS); in AddSliderProps()
1682 AddCheckBox("Tile Background", info->style & GX_STYLE_TILE_BACKGROUND, ID_SLIDER_TILE_BKGND); in AddPixelmapSliderProps()
1691 AddCheckBox("Vertical", info->style & GX_STYLE_PROGRESS_VERTICAL, ID_PROGRESS_VERTICAL); in AddProgressBarProps()
1692 AddCheckBox("Show Text", info->style & GX_STYLE_PROGRESS_TEXT_DRAW, ID_PROGRESS_SHOW_TEXT); in AddProgressBarProps()
1693 AddCheckBox("Show Percentage", info->style & GX_STYLE_PROGRESS_PERCENT, ID_PROGRESS_PERCENT); in AddProgressBarProps()
1712 … AddCheckBox("Show Text", info->style & GX_STYLE_PROGRESS_TEXT_DRAW, ID_RADIAL_PROGRESS_SHOW_TEXT); in AddRadialProgressBarProps()
1713 …AddCheckBox("Show Percentage", info->style & GX_STYLE_PROGRESS_PERCENT, ID_RADIAL_PROGRESS_PERCENT… in AddRadialProgressBarProps()
1714 …AddCheckBox("Show Background Track", !(info->style & GX_STYLE_RADIAL_PROGRESS_NO_BACKTRACK), ID_RA… in AddRadialProgressBarProps()
1715 AddCheckBox("Alias", info->style & GX_STYLE_RADIAL_PROGRESS_ALIAS, ID_RADIAL_PROGRESS_ALIAS); in AddRadialProgressBarProps()
1716 … AddCheckBox("Round End", info->style & GX_STYLE_RADIAL_PROGRESS_ROUND, ID_RADIAL_PROGRESS_ROUND); in AddRadialProgressBarProps()
1738 AddCheckBox("Auto-run", info->style & GX_STYLE_SPRITE_AUTO, ID_SPRITE_AUTO); in AddSpriteProps()
1739 AddCheckBox("Continous Loop", info->style & GX_STYLE_SPRITE_LOOP, ID_SPRITE_LOOP); in AddSpriteProps()
1791 AddCheckBox("End Buttons", info ->style & GX_SCROLLBAR_END_BUTTONS, ID_SCROLL_END_BUTTONS); in AddScrollbarProps()
1792 AddCheckBox("Tile Background", info->style & GX_STYLE_TILE_BACKGROUND, ID_SCROLL_TILE_BKGND); in AddScrollbarProps()
1793 …AddCheckBox("Relative Thumb Size", info ->style & GX_SCROLLBAR_RELATIVE_THUMB, ID_SCROLL_RELATIVE_… in AddScrollbarProps()
2629 ULONG style = (ULONG) pBox->GetItemData(Selected); in OnChangeBorder() local
2631 if (!(mpInfo->style & style)) in OnChangeBorder()
2635 gx_widget_border_style_set(mpInfo->widget, style); in OnChangeBorder()
2637 mpInfo->style = mpInfo->widget->gx_widget_style; in OnChangeBorder()
2673 mpInfo->style |= GX_STYLE_TRANSPARENT; in OnChangeTransparent()
2677 mpInfo->style &= ~GX_STYLE_TRANSPARENT; in OnChangeTransparent()
2679 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeTransparent()
2708 mpInfo->style |= GX_STYLE_DRAW_SELECTED; in OnChangeSelected()
2712 mpInfo->style &= ~GX_STYLE_DRAW_SELECTED; in OnChangeSelected()
2714 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeSelected()
2728 mpInfo->style |= GX_STYLE_ENABLED; in OnChangeEnabled()
2732 mpInfo->style &= ~GX_STYLE_ENABLED; in OnChangeEnabled()
2734 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeEnabled()
2748 mpInfo->style |= GX_STYLE_TEXT_COPY; in OnChangeTextCopy()
2752 mpInfo->style &= ~GX_STYLE_TEXT_COPY; in OnChangeTextCopy()
2754 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeTextCopy()
2774 mpInfo->style |= GX_STYLE_VALIGN_CENTER; in OnChangeMLTextVCenter()
2778 mpInfo->style &= ~GX_STYLE_VALIGN_CENTER; in OnChangeMLTextVCenter()
2782 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeMLTextVCenter()
2816 mpInfo->style |= GX_STYLE_TEXT_INPUT_READONLY; in OnChangeReadonly()
2820 mpInfo->style &= ~GX_STYLE_TEXT_INPUT_READONLY; in OnChangeReadonly()
2822 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeReadonly()
2898 mpInfo->style |= GX_STYLE_TILE_WALLPAPER; in OnChangeTileWallpaper()
2902 mpInfo->style &= ~GX_STYLE_TILE_WALLPAPER; in OnChangeTileWallpaper()
2904 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeTileWallpaper()
3188 ULONG style = 0; in OnTextAlignmentChange() local
3196 style = (ULONG) pAlign->GetItemData(selected); in OnTextAlignmentChange()
3199 if ((mpInfo->style & GX_STYLE_TEXT_ALIGNMENT_MASK) != style) in OnTextAlignmentChange()
3203 mpInfo->style &= ~(GX_STYLE_TEXT_ALIGNMENT_MASK); in OnTextAlignmentChange()
3204 mpInfo->style |= style; in OnTextAlignmentChange()
3206 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnTextAlignmentChange()
3239 … if ((mpInfo->style & (GX_PIXELMAP_HALIGN_MASK | GX_PIXELMAP_VALIGN_MASK)) != (hStyle | vStyle)) in OnChangePixmapAlign()
3243 mpInfo->style &= ~(GX_PIXELMAP_HALIGN_MASK | GX_PIXELMAP_VALIGN_MASK); in OnChangePixmapAlign()
3244 mpInfo->style |= hStyle | vStyle; in OnChangePixmapAlign()
3245 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangePixmapAlign()
3258 ULONG style = mpInfo->style; in OnButtonStyleChange() local
3262 style |= GX_STYLE_BUTTON_PUSHED; in OnButtonStyleChange()
3266 style &= ~GX_STYLE_BUTTON_PUSHED; in OnButtonStyleChange()
3271 style |= GX_STYLE_BUTTON_TOGGLE; in OnButtonStyleChange()
3275 style &= ~GX_STYLE_BUTTON_TOGGLE; in OnButtonStyleChange()
3280 style |= GX_STYLE_BUTTON_RADIO; in OnButtonStyleChange()
3284 style &= ~GX_STYLE_BUTTON_RADIO; in OnButtonStyleChange()
3288 style |= GX_STYLE_BUTTON_REPEAT; in OnButtonStyleChange()
3292 style &= ~GX_STYLE_BUTTON_REPEAT; in OnButtonStyleChange()
3295 mpInfo->style = style; in OnButtonStyleChange()
3296 gx_widget_style_set(mpInfo->widget, style); in OnButtonStyleChange()
3307 ULONG style = mpInfo->style; in OnDropListStyleChange() local
3311 style |= GX_STYLE_TILE_BACKGROUND; in OnDropListStyleChange()
3316 style &= ~GX_STYLE_TILE_BACKGROUND; in OnDropListStyleChange()
3322 style |= GX_STYLE_TILE_WALLPAPER; in OnDropListStyleChange()
3328 style &= ~GX_STYLE_TILE_WALLPAPER; in OnDropListStyleChange()
3332 mpInfo->style = style; in OnDropListStyleChange()
3343 ULONG style = mpInfo->style; in OnSliderStyleChange() local
3347 style |= GX_STYLE_SLIDER_VERTICAL; in OnSliderStyleChange()
3351 style &= ~GX_STYLE_SLIDER_VERTICAL; in OnSliderStyleChange()
3355 style |= GX_STYLE_TILE_BACKGROUND; in OnSliderStyleChange()
3359 style &= ~GX_STYLE_TILE_BACKGROUND; in OnSliderStyleChange()
3366 style |= GX_STYLE_SHOW_TICKMARKS; in OnSliderStyleChange()
3370 style &= ~GX_STYLE_SHOW_TICKMARKS; in OnSliderStyleChange()
3373 mpInfo->style = style; in OnSliderStyleChange()
3374 gx_widget_style_set(mpInfo->widget, style); in OnSliderStyleChange()
3460 ULONG style = mpInfo->style; in OnProgressInfoChange() local
3465 style |= GX_STYLE_PROGRESS_VERTICAL; in OnProgressInfoChange()
3469 style &= ~GX_STYLE_PROGRESS_VERTICAL; in OnProgressInfoChange()
3474 style |= GX_STYLE_PROGRESS_TEXT_DRAW; in OnProgressInfoChange()
3478 style &= ~GX_STYLE_PROGRESS_TEXT_DRAW; in OnProgressInfoChange()
3483 style |= GX_STYLE_PROGRESS_PERCENT; in OnProgressInfoChange()
3487 style &= ~GX_STYLE_PROGRESS_PERCENT; in OnProgressInfoChange()
3490 if (style != mpInfo->style) in OnProgressInfoChange()
3493 mpInfo->style = style; in OnProgressInfoChange()
3494 gx_widget_style_set(mpInfo->widget, style); in OnProgressInfoChange()
3530 ULONG style = mpInfo->style; in OnChangeRadialProgressBarInfo() local
3535 style |= GX_STYLE_PROGRESS_TEXT_DRAW; in OnChangeRadialProgressBarInfo()
3539 style &= ~GX_STYLE_PROGRESS_TEXT_DRAW; in OnChangeRadialProgressBarInfo()
3544 style |= GX_STYLE_PROGRESS_PERCENT; in OnChangeRadialProgressBarInfo()
3548 style &= ~GX_STYLE_PROGRESS_PERCENT; in OnChangeRadialProgressBarInfo()
3553 style &= ~GX_STYLE_RADIAL_PROGRESS_NO_BACKTRACK; in OnChangeRadialProgressBarInfo()
3557 style |= GX_STYLE_RADIAL_PROGRESS_NO_BACKTRACK; in OnChangeRadialProgressBarInfo()
3562 style |= GX_STYLE_RADIAL_PROGRESS_ALIAS; in OnChangeRadialProgressBarInfo()
3566 style &= ~GX_STYLE_RADIAL_PROGRESS_ALIAS; in OnChangeRadialProgressBarInfo()
3571 style |= GX_STYLE_RADIAL_PROGRESS_ROUND; in OnChangeRadialProgressBarInfo()
3575 style &= ~GX_STYLE_RADIAL_PROGRESS_ROUND; in OnChangeRadialProgressBarInfo()
3578 if (style != mpInfo->style) in OnChangeRadialProgressBarInfo()
3581 mpInfo->style = style; in OnChangeRadialProgressBarInfo()
3582 gx_widget_style_set(mpInfo->widget, style); in OnChangeRadialProgressBarInfo()
3731 mpInfo->style |= GX_STYLE_SPRITE_AUTO; in OnSpriteStyleChange()
3735 mpInfo->style &= ~GX_STYLE_SPRITE_AUTO; in OnSpriteStyleChange()
3739 mpInfo->style |= GX_STYLE_SPRITE_LOOP; in OnSpriteStyleChange()
3743 mpInfo->style &= ~GX_STYLE_SPRITE_LOOP; in OnSpriteStyleChange()
3836 ULONG style = mpInfo->style; in OnChangeTextScrollWheelProps() local
3848 style |= GX_STYLE_TEXT_SCROLL_WHEEL_ROUND; in OnChangeTextScrollWheelProps()
3852 style &= ~GX_STYLE_TEXT_SCROLL_WHEEL_ROUND; in OnChangeTextScrollWheelProps()
3855 if (style != mpInfo->style) in OnChangeTextScrollWheelProps()
3859 mpInfo->style = style; in OnChangeTextScrollWheelProps()
3860 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeTextScrollWheelProps()
3998 mpInfo->style |= GX_STYLE_WRAP; in OnChangeListWrap()
4002 mpInfo->style &= ~GX_STYLE_WRAP; in OnChangeListWrap()
4004 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeListWrap()
4020 mpInfo->style |= GX_STYLE_REPEAT_SELECT; in OnChangeListRepeatSelect()
4024 mpInfo->style &= ~GX_STYLE_REPEAT_SELECT; in OnChangeListRepeatSelect()
4026 gx_widget_style_set(mpInfo->widget, mpInfo->style); in OnChangeListRepeatSelect()
4361 GX_UBYTE style = (GX_UBYTE) pBox->GetItemData(Selected); in OnScrollAppearanceChange() local
4362 appearance.gx_scroll_thumb_border_style = style; in OnScrollAppearanceChange()
4395 ULONG style = mpInfo->style; in OnScrollStyleChange() local
4402 style |= GX_SCROLLBAR_END_BUTTONS; in OnScrollStyleChange()
4406 style &= ~GX_SCROLLBAR_END_BUTTONS; in OnScrollStyleChange()
4414 style |= GX_STYLE_TILE_BACKGROUND; in OnScrollStyleChange()
4418 style &= ~GX_STYLE_TILE_BACKGROUND; in OnScrollStyleChange()
4426 style |= GX_SCROLLBAR_RELATIVE_THUMB; in OnScrollStyleChange()
4430 style &= ~GX_SCROLLBAR_RELATIVE_THUMB; in OnScrollStyleChange()
4434 if (style != mpInfo->style) in OnScrollStyleChange()
4438 mpInfo->style = style; in OnScrollStyleChange()
4526 ULONG style = mpInfo->style; in OnChangeMenuInfo() local
4533 style |= GX_STYLE_MENU_EXPANDED; in OnChangeMenuInfo()
4537 style &= ~GX_STYLE_MENU_EXPANDED; in OnChangeMenuInfo()
4543 if (style != mpInfo->style) in OnChangeMenuInfo()
4547 provider->AssignStyle(mpInfo, style); in OnChangeMenuInfo()
4593 ULONG style = mpInfo->style; in OnChangeTreeViewInfo() local
4600 style |= GX_STYLE_TREE_VIEW_SHOW_ROOT_LINES; in OnChangeTreeViewInfo()
4604 style &= ~GX_STYLE_TREE_VIEW_SHOW_ROOT_LINES; in OnChangeTreeViewInfo()
4608 if (style != mpInfo->style) in OnChangeTreeViewInfo()
4611 mpInfo->style = style; in OnChangeTreeViewInfo()
4612 gx_widget_style_set(mpInfo->widget, style); in OnChangeTreeViewInfo()