Home
last modified time | relevance | path

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

/dports/games/openttd/openttd-12.1/src/
H A Dgroup_gui.cpp109 VGC_FOLD, ///< Fold / Unfold button. enumerator
204 …this->column_size[VGC_FOLD] = maxdim(GetSpriteSize(SPR_CIRCLE_FOLDED), GetSpriteSize(SPR_CIRCLE_UN… in ComputeGroupInfoSize()
205 this->tiny_step_height = this->column_size[VGC_FOLD].height; in ComputeGroupInfoSize()
235 this->column_size[VGC_FOLD].width + 2 + in ComputeGroupInfoSize()
269 …int x = rtl ? right - WD_FRAMERECT_RIGHT - 8 - this->column_size[VGC_FOLD].width + 1 : left + WD_F… in DrawGroupInfo()
271 … ? x - indent : x + indent, y + (this->tiny_step_height - this->column_size[VGC_FOLD].height) / 2); in DrawGroupInfo()
284 x = rtl ? x - 2 - this->column_size[VGC_NAME].width : x + 2 + this->column_size[VGC_FOLD].width; in DrawGroupInfo()
687 … - WD_FRAMERECT_RIGHT - 8 - this->indents[id_g] * LEVEL_WIDTH - this->column_size[VGC_FOLD].width : in OnClick()
689 if (click_count > 1 || (pt.x >= x && pt.x < (int)(x + this->column_size[VGC_FOLD].width))) { in OnClick()