mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibGUI: Allow specifying GUI::Statusbar segment count in GML
This commit is contained in:
parent
b2576b7e45
commit
ee1a4a06e0
2 changed files with 24 additions and 16 deletions
|
@ -28,6 +28,8 @@ protected:
|
|||
virtual void resize_event(ResizeEvent&) override;
|
||||
|
||||
private:
|
||||
size_t label_count() const { return m_segments.size(); }
|
||||
void set_label_count(size_t label_count);
|
||||
NonnullRefPtr<Label> create_label();
|
||||
struct Segment {
|
||||
NonnullRefPtr<GUI::Label> label;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue