mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +00:00
parent
b696439a67
commit
c4b8fae563
@ -67,11 +67,11 @@ class Child_entry : public Scout::Parent_element,
|
|||||||
|
|
||||||
friend class Genode::List<Child_entry<PT> >;
|
friend class Genode::List<Child_entry<PT> >;
|
||||||
|
|
||||||
enum { _IW = 16 }; /* icon width */
|
static constexpr int _IW = 16; /* icon width */
|
||||||
enum { _IH = 16 }; /* icon height */
|
static constexpr int _IH = 16; /* icon height */
|
||||||
enum { _PTW = 100 }; /* program text width */
|
static constexpr int _PTW = 100; /* program text width */
|
||||||
enum { _PADX = 10 }; /* horizontal padding */
|
static constexpr int _PADX = 10; /* horizontal padding */
|
||||||
enum { _NAME_LEN = 64 }; /* max length of child name */
|
static constexpr int _NAME_LEN = 64; /* max length of child name */
|
||||||
|
|
||||||
Scout::Block _block;
|
Scout::Block _block;
|
||||||
Kbyte_loadbar<PT> _loadbar;
|
Kbyte_loadbar<PT> _loadbar;
|
||||||
|
@ -29,9 +29,9 @@ class Launch_entry : public Scout::Parent_element, public Loadbar_listener
|
|||||||
Scout::Launcher _launcher;
|
Scout::Launcher _launcher;
|
||||||
int _lh = 0; /* launch entry height */
|
int _lh = 0; /* launch entry height */
|
||||||
|
|
||||||
enum { _PTW = 100 }; /* program text width */
|
static constexpr int _PTW = 100; /* program text width */
|
||||||
enum { _PADX = 10 }; /* program text width */
|
static constexpr int _PADX = 10; /* program text width */
|
||||||
enum { _PADR = 16 }; /* right padding */
|
static constexpr int _PADR = 16; /* right padding */
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ class Section : public Scout::Parent_element
|
|||||||
Section(Section const &);
|
Section(Section const &);
|
||||||
Section &operator = (Section const &);
|
Section &operator = (Section const &);
|
||||||
|
|
||||||
enum { _SH = 8 }; /* shadow height */
|
static constexpr int _SH = 8; /* shadow height */
|
||||||
enum { _STH = 20 }; /* shadow height */
|
static constexpr int _STH = 20; /* shadow height */
|
||||||
|
|
||||||
Scout::Horizontal_shadow<PT, 40> _bg;
|
Scout::Horizontal_shadow<PT, 40> _bg;
|
||||||
Scout::Horizontal_shadow<PT, 160> _shadow;
|
Scout::Horizontal_shadow<PT, 160> _shadow;
|
||||||
|
@ -25,9 +25,9 @@ class Status_entry : public Scout::Parent_element
|
|||||||
Kbyte_loadbar<PT> _loadbar;
|
Kbyte_loadbar<PT> _loadbar;
|
||||||
int _lh = 0; /* launch entry height */
|
int _lh = 0; /* launch entry height */
|
||||||
|
|
||||||
enum { _PTW = 100 }; /* program text width */
|
static constexpr int _PTW = 100; /* program text width */
|
||||||
enum { _PADX = 10 }; /* horizontal padding */
|
static constexpr int _PADX = 10; /* horizontal padding */
|
||||||
enum { _PADR = 16 }; /* right padding */
|
static constexpr int _PADR = 16; /* right padding */
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user