mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 02:19:41 +00:00
(svn r17913) -Documentation: Add doxygen comments to the tooltip window class.
This commit is contained in:
parent
1be5d92a9c
commit
8e7af56d53
@ -782,12 +782,13 @@ static const NWidgetPart _nested_tooltips_widgets[] = {
|
|||||||
NWidget(WWT_PANEL, COLOUR_GREY, 0), SetMinimalSize(200, 32), EndContainer(),
|
NWidget(WWT_PANEL, COLOUR_GREY, 0), SetMinimalSize(200, 32), EndContainer(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Window class for displaying a tooltip. */
|
||||||
struct TooltipsWindow : public Window
|
struct TooltipsWindow : public Window
|
||||||
{
|
{
|
||||||
StringID string_id;
|
StringID string_id; ///< String to display as tooltip.
|
||||||
byte paramcount;
|
byte paramcount; ///< Number of string parameters in #string_id.
|
||||||
uint64 params[5];
|
uint64 params[5]; ///< The string parameters.
|
||||||
bool use_left_mouse_button;
|
bool use_left_mouse_button; ///< Wait for left mouse button to close window (else, wait for right button).
|
||||||
|
|
||||||
TooltipsWindow(int x, int y, int width, int height, const Widget *widget,
|
TooltipsWindow(int x, int y, int width, int height, const Widget *widget,
|
||||||
StringID str, uint paramcount, const uint64 params[], bool use_left_mouse_button) :
|
StringID str, uint paramcount, const uint64 params[], bool use_left_mouse_button) :
|
||||||
|
Loading…
Reference in New Issue
Block a user