Norman Feske
40c0db2e8d
dialog: add Sandboxed_runtime::View::if_hovered
...
Issue #5008
2023-11-28 14:24:26 +01:00
Norman Feske
9fae8a7532
dialog: support Sandboxed_runtime::Event_handler
...
This allows applications to get hold of the raw input events,
in particular keyboard input.
Issue #5008
2023-11-28 14:24:26 +01:00
Norman Feske
1490c58f8b
dialog: Hosted::if_hovered method
...
This method allows for the inquiry of the current hovering state,
e.g., to suppress an update of the Wifi accesspoint list while
the list is hovered.
Issue #5008
Issue #5053
2023-11-28 14:24:26 +01:00
Norman Feske
fa6c7204cd
dialog: allow custom 'Select_button' attributes
...
This is useful to conditionally set the style to "unimportant", or to
use text other than the widget Id::Value.
Issue #5008
Issue #5053
2023-11-28 14:24:26 +01:00
Norman Feske
133cbd272e
dialog: make 'click()' const wherever possible
...
This eases the use of, e.g., 'Select_button' as temporary variable.
Issue #5008
Issue #5053
2023-11-28 14:24:26 +01:00
Norman Feske
ec60011852
dialog: let 'Scope::widget' take 'hosted' as const
...
This eases the use of temporary 'Hosted' objects. The 'view' code path
is not expected to modify any state.
Issue #5008
Issue #5053
2023-11-28 14:24:26 +01:00
Norman Feske
1aba8182a4
dialog: pass value to Select_button::click
...
This eliminates the need to distinguish enum values in the body of the
handler, easing the forwarding of the selected value.
Issue #5008
Issue #5053
2023-11-28 14:24:26 +01:00
Norman Feske
4fdc999087
Dialog API
...
The new API at gems/include/dialog/ aids the creation of simple GUI
applications based on the menu-view widget renderer. Its use is
illustrated by the simple test application at src/test/dialog/
that is accompanied with the dialog.run script.
Issue #5008
2023-10-04 13:22:06 +02:00