Home
last modified time | relevance | path

Searched refs:FR_LOWERED (Results 1 – 7 of 7) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dwidget.cpp223 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 Dtransparency_gui.cpp64 HasBit(_invisibility_opt, i - WID_TT_BEGIN) ? FR_LOWERED : FR_NONE); in DrawWidget()
H A Dwindow_gui.h31FR_LOWERED = 1 << 5, ///< If set the frame is lowered and the background colour brighter (i… enumerator
H A Dmisc_gui.cpp805 …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 Dsettings_gui.cpp2508 …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 Dstory_gui.cpp749 const FrameFlags frame = this->active_button_id == ce.pe->index ? FR_LOWERED : FR_NONE; in DrawWidget()
H A Dgraph_gui.cpp966 …f (lowered) DrawFrameRect(r.left, y, r.right, y + this->line_height - 1, COLOUR_BROWN, FR_LOWERED); in DrawWidget()