xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
progress_box_options.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
22
enum class
progress_box_options
{
24
none
= 0b0,
26
show_cancel_button
= 0b1,
28
show_skip_button
= 0b10,
30
show_elapsed_time
= 0b100,
32
show_estimated_time
= 0b1000,
34
show_remaining_time
= 0b10000,
36
all
=
show_cancel_button
|
show_skip_button
|
show_elapsed_time
|
show_estimated_time
|
show_remaining_time
37
};
38
}
39
}
40
42
flags_attribute_
(
xtd::forms
, progress_box_options);
43
44
template
<>
struct
xtd::enum_register
<
xtd
::
forms::progress_box_options
> {
45
static
auto
values
() noexcept {
return
xtd::enum_collection<xtd::forms::progress_box_options>
{{
xtd::forms::progress_box_options::none
,
"none"
}, {
xtd::forms::progress_box_options::show_cancel_button
,
"show_cancel_button"
}, {
xtd::forms::progress_box_options::show_skip_button
,
"show_skip_button"
}, {
xtd::forms::progress_box_options::show_elapsed_time
,
"show_elapsed_time"
}, {
xtd::forms::progress_box_options::show_estimated_time
,
"show_estimated_time"
}, {
xtd::forms::progress_box_options::show_remaining_time
,
"show_remaining_time"
}, {
xtd::forms::progress_box_options::all
,
"all"
}};}
46
};
flags_attribute_
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition
flags_attribute.hpp:34
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::forms::progress_box_options
progress_box_options
Specifies options on a xtd::forms::progress_box.
Definition
progress_box_options.hpp:22
xtd::forms::progress_box_options::show_skip_button
@ show_skip_button
Whether skip button is shown.
Definition
progress_box_options.hpp:28
xtd::forms::progress_box_options::show_estimated_time
@ show_estimated_time
Whether estimated time is shown.
Definition
progress_box_options.hpp:32
xtd::forms::progress_box_options::none
@ none
No options.
Definition
progress_box_options.hpp:24
xtd::forms::progress_box_options::show_remaining_time
@ show_remaining_time
Whether remaining time is shown.
Definition
progress_box_options.hpp:34
xtd::forms::progress_box_options::show_elapsed_time
@ show_elapsed_time
Whether elapsed time is shown.
Definition
progress_box_options.hpp:30
xtd::forms::progress_box_options::all
@ all
All flags except none.
Definition
progress_box_options.hpp:36
xtd::forms::progress_box_options::show_cancel_button
@ show_cancel_button
Whether cancel button is shown.
Definition
progress_box_options.hpp:26
xtd::forms::anchor_styles::none
@ none
no styles.
Definition
anchor_styles.hpp:21
xtd::forms::anchor_styles::all
@ all
All flags except none.
Definition
anchor_styles.hpp:31
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.