xtd 0.2.0
progress_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 progress_box_options {
22  none = 0b0,
24  show_cancel_button = 0b1,
26  show_skip_button = 0b10,
28  show_elapsed_time = 0b100,
30  show_estimated_time = 0b1000,
32  show_remaining_time = 0b10000,
34  all = show_cancel_button | show_skip_button | show_elapsed_time | show_estimated_time | show_remaining_time
35  };
36  }
37 }
38 
41 
42 template<> struct xtd::enum_register<xtd::forms::progress_box_options> {
44 };
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
progress_box_options
Specifies options on a xtd::forms::progress_box.
Definition: progress_box_options.h:20
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
#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