blob: ae8c4dd26c64d6290b5368652098543774ddbd90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#define PALETTE_BG 0
#define PALETTE_PROGRESS_FG 0
#define PALETTE_PROGRESS_BG 0
#define PALETTE_TEXT_BG 251
#define PALETTE_TEXT_FG 0
#define PALETTE_TEXT_SUCCESS 67
#define PALETTE_TEXT_FAILURE 134
#define TEXT_BORDER_PX 1
#define TEXT_PADDING_PX 9
#define TEXT_EXTRA_PX (TEXT_BORDER_PX + TEXT_PADDING_PX)
#define TEXT_MARGIN 30
/* Horrible hack */
struct private_hack {
struct usplash_pixmap *pixmap; /* Background image */
struct usplash_pixmap *progress_fg; /* Progress bar foreground */
struct usplash_pixmap *progress_bg; /* Progress bar background */
};
|