Boost.UI
User Interface Boost library
|
Go to the documentation of this file.
8 #ifndef BOOST_UI_PROGRESS_BAR_HPP
9 #define BOOST_UI_PROGRESS_BAR_HPP
13 #ifdef BOOST_HAS_PRAGMA_ONCE
46 void detail_create(
widget& parent,
bool horizontal, value_type initial,
51 void check_range(value_type value)
const
52 { check_range(value, max()); }
53 static void check_range(value_type value, value_type max);
56 detail_impl* get_impl();
57 const detail_impl* get_impl()
const;
72 { create(parent, initial, max); }
75 { detail_create(parent,
true, initial, max);
return *
this; }
91 { create(parent, initial, max); }
94 { detail_create(parent,
false, initial, max);
return *
this; }
101 #endif // BOOST_UI_PROGRESS_BAR_HPP
int value_type
Progress bar value type.
Definition: progress_bar.hpp:30
vprogress_bar(widget &parent, value_type initial=0, value_type max=100)
Creates vertical progress bar.
Definition: progress_bar.hpp:89
vprogress_bar & create(widget &parent, value_type initial=0, value_type max=100)
Creates vertical progress bar.
Definition: progress_bar.hpp:92
Boost C++ libraries namespace.
Definition: window.hpp:19
hprogress_bar(widget &parent, value_type initial=0, value_type max=100)
Creates horizontal progress bar.
Definition: progress_bar.hpp:70
Progress bar widget base class.
Definition: progress_bar.hpp:26
Vertical progress bar widget.
Definition: progress_bar.hpp:82
Horizontal progress bar widget.
Definition: progress_bar.hpp:63
hprogress_bar & create(widget &parent, value_type initial=0, value_type max=100)
Creates horizontal progress bar.
Definition: progress_bar.hpp:73