5 #include "../forms_export.h" 6 #include "../forms_namespace_aliases.h" 13 #include <xtd/forms/window_messages> 14 #include <xtd/delegate> 15 #include <xtd/event_args> 58 static bool allow_quit() noexcept;
87 static bool dark_mode_enabled() noexcept;
91 static bool light_mode_enabled() noexcept;
103 static bool message_loop() noexcept;
164 static bool use_system_controls() noexcept;
170 static bool use_visual_styles() noexcept;
240 static void disable_font_size_correction();
247 static void do_events();
252 static void enable_button_images();
258 static void enable_dark_mode();
264 static void enable_light_mode();
269 static void enable_menu_images();
275 static void enable_standard_controls();
281 static void enable_system_controls();
288 static void enable_system_font_size();
294 static void enable_visual_styles();
313 static void exit_thread();
342 static void restart();
367 static void run(
const form& main_form);
396 static bool close_open_forms();
397 static void on_app_thread_exit(
object& sender,
const event_args&
e);
398 static bool on_app_thread_exception();
399 static void raise_enter_thread_modal(
const event_args&
e);
400 static void raise_leave_thread_modal(
const event_args&
e);
407 static bool use_visual_styles_;
408 static bool use_system_controls_;
409 static bool use_wait_cursor_;
410 static bool message_loop_;
411 static bool raise_idle_;
Specifies the contextual information about an application thread.
Definition: application_context.h:24
intmax_t intptr
Represent a pointer or a handle.
Definition: types.h:151
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition: static.h:37
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
Contains xtd::forms::style_sheets::style_sheet class.
delegate< bool()> message_loop_callback
Represents a method that will check whether the hosting environment is still sending messages...
Definition: message_loop_callback.h:21
Contains xtd::forms::message_loop_callback callback.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::application_context class.
Contains xtd::forms::message class.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Represents an event.
Definition: event.h:21
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
Contains xtd::forms::imessage_filter interface.