mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 10:22:39 +01:00
Codechange: Use EnumBitSet for WindowFlags.
This commit is contained in:
committed by
Peter Nelson
parent
248f369e86
commit
efb05396a7
@@ -75,7 +75,7 @@ struct EnginePreviewWindow : Window {
|
||||
this->InitNested(window_number);
|
||||
|
||||
/* There is no way to recover the window; so disallow closure via DEL; unless SHIFT+DEL */
|
||||
this->flags |= WF_STICKY;
|
||||
this->flags.Set(WindowFlag::Sticky);
|
||||
}
|
||||
|
||||
void UpdateWidgetSize(WidgetID widget, Dimension &size, [[maybe_unused]] const Dimension &padding, [[maybe_unused]] Dimension &fill, [[maybe_unused]] Dimension &resize) override
|
||||
|
||||
Reference in New Issue
Block a user