mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Redo file prompts with in-game UI
This commit is contained in:
@@ -13,17 +13,18 @@ namespace PortabilityLayer
|
||||
, m_max(0)
|
||||
, m_state(0)
|
||||
, m_enabled(true)
|
||||
, m_defaultCallback(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
WidgetHandleState_t Widget::ProcessEvent(const TimeTaggedVOSEvent &evt)
|
||||
WidgetHandleState_t Widget::ProcessEvent(void *captureContext, const TimeTaggedVOSEvent &evt)
|
||||
{
|
||||
(void)evt;
|
||||
|
||||
return WidgetHandleStates::kIgnored;
|
||||
}
|
||||
|
||||
int16_t Widget::Capture(const Point &pos, WidgetUpdateCallback_t callback)
|
||||
int16_t Widget::Capture(void *captureContext, const Point &pos, WidgetUpdateCallback_t callback)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -64,6 +65,11 @@ namespace PortabilityLayer
|
||||
OnEnabledChanged();
|
||||
}
|
||||
|
||||
bool Widget::IsEnabled() const
|
||||
{
|
||||
return m_enabled;
|
||||
}
|
||||
|
||||
void Widget::SetState(int16_t state)
|
||||
{
|
||||
m_state = state;
|
||||
|
||||
Reference in New Issue
Block a user