OpenTTD Source
20241121-master-g67a0fccfad
|
The transparency GUI. More...
#include "stdafx.h"
#include "window_gui.h"
#include "transparency.h"
#include "sound_func.h"
#include "settings_type.h"
#include "widgets/transparency_widget.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "safeguards.h"
Go to the source code of this file.
Data Structures | |
class | TransparenciesWindow |
Functions | |
void | ShowTransparencyToolbar () |
Show the transparency toolbar. | |
Variables | |
TransparencyOptionBits | _transparency_opt |
The bits that should be transparent. | |
TransparencyOptionBits | _transparency_lock |
Prevent these bits from flipping with X. | |
TransparencyOptionBits | _invisibility_opt |
The bits that should be invisible. | |
uint8_t | _display_opt |
What do we want to draw/do? | |
static constexpr NWidgetPart | _nested_transparency_widgets [] |
static WindowDesc | _transparency_desc (WDP_MANUAL, "toolbar_transparency", 0, 0, WC_TRANSPARENCY_TOOLBAR, WC_NONE, 0, _nested_transparency_widgets) |
The transparency GUI.
Definition in file transparency_gui.cpp.
|
staticconstexpr |
Definition at line 128 of file transparency_gui.cpp.