Searched refs:FR_LOWERED (Results 1 – 7 of 7) sorted by relevance
/dports/games/openttd/openttd-12.1/src/ |
H A D | widget.cpp | 223 if (flags & FR_LOWERED) { in DrawFrameRect() 254 DrawFrameRect(r.left, r.top, r.right, r.bottom, colour, (clicked) ? FR_LOWERED : FR_NONE); in DrawImageButtons() 304 DrawFrameRect(r.left, r.top, r.right, r.bottom, colour, FR_LOWERED | FR_DARKENED); in DrawInset() 319 DrawFrameRect(r.left, r.top, r.right, r.bottom, colour, (clicked) ? FR_LOWERED : FR_NONE); in DrawMatrix() 383 …DrawFrameRect(r.left, r.top, r.right, r.top + height - 1, colour, (up_clicked) ? FR_LOWERED : FR_N… in DrawVerticalScrollbar() 403 DrawFrameRect(r.left, pt.x, r.right, pt.y, colour, bar_dragged ? FR_LOWERED : FR_NONE); in DrawVerticalScrollbar() 441 DrawFrameRect(pt.x, r.top, pt.y, r.bottom, colour, bar_dragged ? FR_LOWERED : FR_NONE); in DrawHorizontalScrollbar() 549 DrawFrameRect(r.left, r.top, r.right, r.bottom, colour, (clicked) ? FR_LOWERED : FR_NONE); in DrawResizeBox() 588 ….right - 1, r.bottom - 1, colour, company_owned ? FR_LOWERED | FR_DARKENED | FR_BORDERONLY : FR_LO… in DrawCaption() 2627 DrawFrameRect(r.left, r.top, r.right, r.bottom, this->colour, (clicked) ? FR_LOWERED : FR_NONE); in Draw() [all …]
|
H A D | transparency_gui.cpp | 64 HasBit(_invisibility_opt, i - WID_TT_BEGIN) ? FR_LOWERED : FR_NONE); in DrawWidget()
|
H A D | window_gui.h | 31 …FR_LOWERED = 1 << 5, ///< If set the frame is lowered and the background colour brighter (i… enumerator
|
H A D | misc_gui.cpp | 805 …DrawFrameRect(clearbtn_left, top, clearbtn_right, bottom, wi->colour, wi->IsLowered() ? FR_LOWERED… in DrawEditBox() 809 DrawFrameRect(left, top, right, bottom, wi->colour, FR_LOWERED | FR_DARKENED); in DrawEditBox()
|
H A D | settings_gui.cpp | 2508 …dim.width - 1, y + dim.height - 1, button_colour, (state == 1) ? FR_LOWERED : FR_NONE); in DrawArrowButtons() 2509 …dim.width + dim.width - 1, y + dim.height - 1, button_colour, (state == 2) ? FR_LOWERED : FR_NONE); in DrawArrowButtons() 2535 …TING_BUTTON_WIDTH - 1, y + SETTING_BUTTON_HEIGHT - 1, button_colour, state ? FR_LOWERED : FR_NONE); in DrawDropDownButton() 2553 …H - 1, y + SETTING_BUTTON_HEIGHT - 1, _bool_ctabs[state][clickable], state ? FR_LOWERED : FR_NONE); in DrawBoolButton()
|
H A D | story_gui.cpp | 749 const FrameFlags frame = this->active_button_id == ce.pe->index ? FR_LOWERED : FR_NONE; in DrawWidget()
|
H A D | graph_gui.cpp | 966 …f (lowered) DrawFrameRect(r.left, y, r.right, y + this->line_height - 1, COLOUR_BROWN, FR_LOWERED); in DrawWidget()
|