xtd 0.2.0
font_box_options.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
20  enum class font_box_options {
22  none = 0b0,
24  allow_simulations = 0b1,
26  allow_vector_fonts = 0b10,
28  allow_vertical_fonts = 0b100,
30  allow_script_change = 0b1000,
32  fixed_pitch_only = 0b10000,
34  scripts_only = 0b100000,
36  show_apply = 0b1000000,
38  show_color = 0b10000000,
40  show_effects = 0b100000000,
42  show_help = 0b1000000000,
44  all = allow_simulations | allow_vector_fonts | allow_vertical_fonts | allow_script_change | fixed_pitch_only | scripts_only | show_apply | show_color | show_effects | show_help
45  };
46  }
47 }
48 
51 
52 template<> struct xtd::enum_register<xtd::forms::font_box_options> {
54 };
Whether the dialog box allows vector font selections.
All flags except none.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
font_box_options
Specifies options on a xtd::forms::font_box.
Definition: font_box_options.h:20
Whether the dialog box allows selection of fonts for all non-OEM and Symbol character sets...
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Whether the dialog box allows graphics device interface (GDI) font simulations.
Whether the dialog box contains controls that allow the user to specify strikethrough, underline, and text color options.
Whether the dialog box displays a Help button.
Whether the dialog box contains an Apply button.
Whether the dialog box allows only the selection of fixed-pitch fonts.
Whether the dialog box displays the color choice.
Whether the user can change the character set specified in the Script combo box to display a characte...
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Whether the dialog box displays both vertical and horizontal fonts or only horizontal fonts...
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
Provides the registration struct for enumerations.
Definition: enum_register.h:36