File: theme.in

package info (click to toggle)
usplash-theme-debian 4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 672 kB
  • ctags: 31
  • sloc: sh: 148; ansic: 124; makefile: 116
file content (20 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (3)
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 */
};