9#include <xtd/forms/choose_font_flags.h> 
   58        set_option(CF_SELECTSCRIPT, !allow_script_change);
 
   69        set_option(CF_NOSIMULATIONS, !allow_simulation);
 
   80        set_option(CF_NOVECTORFONTS, !allow_vector_fonts);
 
   91        set_option(CF_NOVERTFONTS, !allow_vertical_fonts);
 
  113        set_option(CF_FIXEDPITCHONLY, fixed_pitch_only);
 
  135        set_option(CF_FORCEFONTEXIST, font_must_exist);
 
  146        max_size_ = max_size;
 
  157        min_size_ = min_size;
 
  173        set_option(CF_SCRIPTSONLY, script_only);
 
  184        set_option(CF_APPLY, show_apply);
 
  195        show_color_ = show_color;
 
  206        set_option(CF_EFFECTS, show_effect);
 
  212      bool show_help()
 const {
return get_option(CF_SHOWHELP);}
 
  249      bool get_option(
size_t flag)
 const {
return (options_ & flag) == flag;}
 
  250      void set_option(
size_t flag, 
bool value) {options_ = value ? options_ | flag : options_ & ~flag;}
 
  252      drawing::color color_ = xtd::forms::theme_colors::current_theme().control_text();
 
  254      size_t max_size_ = 0;
 
  255      size_t min_size_ = 0;
 
  256      size_t options_ = CF_TTONLY;
 
  257      bool show_color_ = 
false;
 
Represents an ARGB (alpha, red, green, blue) color.
Definition: color.h:39
 
Defines a particular format for text, including font face, size, and style attributes....
Definition: font.h:39
 
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
 
Represents an event.
Definition: event.h:21
 
Contains xtd::drawing::color class.
 
Contains xtd::forms::common_dialog class.
 
Contains xtd::drawing::font class.
 
event< font_dialog, event_handler > apply
Occurs when the user clicks the Apply button in the font dialog box.
Definition: font_dialog.h:224
 
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
 
Contains xtd::drawing::system_colors factory.
 
Contains xtd::drawing::system_fonts factory.