24 lines
602 B
C
24 lines
602 B
C
|
|
/* user and group to drop privileges to */
|
||
|
|
static const char *user = "nobody";
|
||
|
|
static const char *group = "nogroup";
|
||
|
|
|
||
|
|
static const char *colorname[NUMCOLS] = {
|
||
|
|
[BG] = "black", /* background */
|
||
|
|
[INIT] = "#4f525c", /* after initialization */
|
||
|
|
[INPUT] = "#005577", /* during input */
|
||
|
|
[FAILED] = "#CC3333", /* wrong password */
|
||
|
|
};
|
||
|
|
|
||
|
|
/* treat a cleared input like a wrong password (color) */
|
||
|
|
static const int failonclear = 1;
|
||
|
|
|
||
|
|
/*
|
||
|
|
* Shapes:
|
||
|
|
* 0: square
|
||
|
|
* 1: circle
|
||
|
|
*/
|
||
|
|
static const int shape = 0;
|
||
|
|
/* size of square in px */
|
||
|
|
static const int shapesize = 50;
|
||
|
|
static const int shapegap = 35;
|