xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Toggle main menu visibility
Home
Categories
Documentation
Namespaces
Classes
Class List
Class Index
Class Hierarchy
Files
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
progress_bar_style.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
18
enum class
progress_bar_style
{
20
blocks
= 0,
22
continuous
= 1,
24
marquee
= 2,
25
};
26
28
inline
std::ostream& operator<<(std::ostream& os,
progress_bar_style
value) {
return
os <<
to_string
(value, {{
progress_bar_style::blocks
,
"blocks"
}, {
progress_bar_style::continuous
,
"continuous"
}, {
progress_bar_style::marquee
,
"marquee"
}});}
29
inline
std::wostream& operator<<(std::wostream& os,
progress_bar_style
value) {
return
os <<
to_string
(value, {{
progress_bar_style::blocks
, L
"blocks"
}, {
progress_bar_style::continuous
, L
"continuous"
}, {
progress_bar_style::marquee
, L
"marquee"
}});}
31
}
32
}
xtd::to_string
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition:
to_string.h:37
xtd::forms::progress_bar_style
progress_bar_style
Specifies the progress_bar_style of controls or elements of controls.
Definition:
progress_bar_style.h:18
xtd::forms::progress_bar_style::marquee
@ marquee
Indicates progress by continuously scrolling a block across a progress_bar in a marquee fashion.
xtd::forms::progress_bar_style::continuous
@ continuous
Indicates progress by increasing the size of a smooth, continuous bar in a progress_bar.
xtd::forms::progress_bar_style::blocks
@ blocks
Indicates progress by increasing the number of segmented blocks in a progress_bar.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition:
about_box.h:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
ustring.h
Contains xtd::ustring class.
Generated on Sat Jan 28 2023 18:12:26 for xtd - Reference Guide by
Gammasoft
. All rights reserved.