mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-12 22:06:08 +00:00
RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers where applicable.
This commit is contained in:
@@ -22,9 +22,9 @@ private:
|
||||
std::array<CGuiWidget*, 2> xcc_sliderRangeWidgets{};
|
||||
std::function<void(CGuiSliderGroup*, float)> xd8_changeCallback;
|
||||
EState xf0_state = EState::None;
|
||||
bool xf4_24_inputPending : 1;
|
||||
mutable bool m_mouseInside : 1;
|
||||
bool m_mouseDown : 1;
|
||||
bool xf4_24_inputPending : 1 = false;
|
||||
mutable bool m_mouseInside : 1 = false;
|
||||
bool m_mouseDown : 1 = false;
|
||||
|
||||
mutable float m_mouseT = 0.f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user