xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
system_information.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/static.h>
6 #include <xtd/drawing/font.h>
7 #include <xtd/drawing/size.h>
8 #include "../forms_export.h"
9 #include "arrange_direction.h"
11 #include "boot_mode.h"
12 
14 namespace xtd {
16  namespace forms {
25  class forms_export_ system_information final static_ {
26  public:
29 
32  static int32_t active_window_tracking_delay();
33 
38 
43 
48 
54  static xtd::drawing::size border_3d_size();
55 
58  static int32_t border_multiplier_factor();
59 
65  static xtd::drawing::size border_size();
66 
71  static xtd::drawing::size caption_button_size();
72 
76  static int32_t caption_height();
77 
80  static int32_t caret_blink_time();
81 
84  static int32_t caret_width();
85 
90  static xtd::ustring computer_name();
91 
95  static xtd::drawing::size cursor_size();
96 
100  static bool dbcs_enabled();
101 
104  static bool debug_os();
105 
109  static xtd::drawing::size double_click_size();
110 
115  static int32_t double_click_time();
116 
120  static bool drag_full_windows();
121 
126  static xtd::drawing::size drag_size();
127 
132  static xtd::drawing::size fixed_frame_border_size();
133 
136  static int32_t font_smoothing_contrast();
137 
140  static int32_t font_smoothing_type();
141 
146  static xtd::drawing::size frame_border_size();
147 
152  static bool high_contrast();
153 
157  static int32_t horizontal_focus_thickness();
158 
162  static int32_t horizontal_resize_border_thickness();
163 
166  static int32_t horizontal_scroll_bar_arrow_width();
167 
170  static int32_t horizontal_scroll_bar_height();
171 
174  static int32_t horizontal_scroll_bar_bhumb_width();
175 
179  static int32_t icon_horizontal_spacing();
180 
183  static xtd::drawing::size icon_size();
184 
188  static xtd::drawing::size icon_spacing_size();
189 
193  static int32_t icon_vertical_spacing();
194 
198  static bool is_active_window_tracking_enabled();
199 
204  static bool is_combo_box_animation_enabled();
205 
208  static bool is_drop_shadow_enabled();
209 
212  static bool is_flat_menu_enabled();
213 
217  static bool is_font_smoothing_enabled();
218 
222  static bool is_hot_tracking_enabled();
223 
226  static bool is_icon_title_wrapping_enabled();
227 
231  static bool is_keyboard_preferred();
232 
236  static bool is_list_box_smooth_scrolling_enabled();
237 
242  static bool is_menu_animation_enabled();
243 
248  static bool is_menu_fade_enabled();
249 
253  static bool is_minimize_restore_animation_enabled();
254 
258  static bool is_selection_fade_enabled();
259 
263  static bool is_snap_to_default_enabled();
264 
269  static bool is_title_bar_gradient_enabled();
270 
275  static bool is_tool_tip_animation_enabled();
276 
280  static int32_t kanji_window_height();
281 
286  static int32_t keyboard_delay();
287 
292  static int32_t keyboard_speed();
293 
297  static xtd::drawing::size max_window_track_size();
298 
302  static bool menu_access_keys_underlined();
303 
307  static xtd::drawing::size menu_bar_button_size();
308 
312  static xtd::drawing::size menu_button_size();
313 
317  static xtd::drawing::size menu_check_size();
318 
322  static xtd::drawing::font menu_font();
323 
327  static int32_t menu_height();
328 
332  static int32_t menu_show_delay();
333 
337  static bool mid_east_enabled();
338 
342  static xtd::drawing::size minimized_window_size();
343 
348  static xtd::drawing::size minimized_window_spacing_size();
349 
354  static xtd::drawing::size minimum_window_size();
355 
360  static xtd::drawing::size min_window_track_size();
361 
366  static int32_t monitor_count();
367 
374  static bool monitors_same_display_format();
375 
380  static int32_t mouse_buttons();
381 
384  static bool mouse_buttons_swapped();
385 
390  static xtd::drawing::size mouse_hover_size();
391 
396  static int32_t mouse_hover_time();
397 
401  static bool mouse_present();
402 
406  static int32_t mouse_speed();
407 
412  static bool Mouse_wheel_present();
413 
417  static int32_t mouse_wheel_scroll_delta();
418 
423  static int32_t mouse_wheel_scroll_lines();
424 
429  static bool native_mouse_wheel_support();
430 
435  static bool network();
436 
437  static int32_t vertical_scroll_bar_width();
438 
439  };
440  }
441 }
Contains xtd::static_object class.
Defines a particular format for text, including font face, size, and style attributes. This class cannot be inherited.
Definition: font.h:39
boot_mode
Specifies the mode to start the computer in.
Definition: boot_mode.h:20
mouse_buttons
Specifies constants that define which mouse button was pressed. This enumeration has a flag attribute...
Definition: mouse_buttons.h:18
#define static_
This keyword is use to represent a static object. A static object can&#39;t be instantiated (constructors...
Definition: static.h:38
Contains xtd::forms::arrange_direction enum class.
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Contains xtd::drawing::size class.
arrange_direction
Specifies the direction the system uses to arrange minimized windows.
Definition: arrange_direction.h:19
arrange_starting_position
Specifies the starting position that the system uses to arrange minimized windows.
Definition: arrange_starting_position.h:19
Contains xtd::forms::boot_mode enum class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Provides information about the current system environment.
Definition: system_information.h:25
Contains xtd::forms::arrange_starting_position enum class.
Contains xtd::drawing::font class.