mirror of
https://github.com/polybar/polybar.git
synced 2025-11-06 22:34:39 -05:00
refactor: Construction methods
This commit is contained in:
parent
08be86fbe1
commit
1a2a6e5fab
51 changed files with 299 additions and 243 deletions
|
|
@ -4,12 +4,17 @@
|
|||
#include "components/builder.hpp"
|
||||
#include "components/config.hpp"
|
||||
#include "components/types.hpp"
|
||||
#include "drawtypes/label.hpp"
|
||||
#include "utils/mixins.hpp"
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
namespace drawtypes {
|
||||
// fwd
|
||||
class label;
|
||||
using label_t = shared_ptr<label>;
|
||||
using icon = label;
|
||||
using icon_t = label_t;
|
||||
|
||||
class progressbar : public non_copyable_mixin<progressbar> {
|
||||
public:
|
||||
explicit progressbar(const bar_settings& bar, int width, string format);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue