~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to libmenu/menu_list.h

  • Committer: Reinhard Tartler
  • Date: 2006-07-08 08:47:54 UTC
  • Revision ID: siretart@tauware.de-20060708084754-c3ff228cc9c2d8de
upgrade to pre8

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
  list_entry_t* next;
12
12
 
13
13
  char* txt;
 
14
  char hide;
14
15
};
15
16
 
16
17
 
28
29
  int w,h;
29
30
  int vspace, minb;
30
31
  char* ptr;
 
32
  int title_bg,title_bg_alpha;
 
33
  int item_bg,item_bg_alpha;
 
34
  int ptr_bg,ptr_bg_alpha;
31
35
} menu_list_priv_t;
32
36
 
33
37
typedef void (*free_entry_t)(list_entry_t* entry);
51
55
  -1,-1, \
52
56
  0,0, \
53
57
  5, 3, \
54
 
  ">" \
 
58
  NULL, \
 
59
  0xE0, 0x20, \
 
60
  0x80, 0x50, \
 
61
  0xC0, 0x50 \
55
62
}
56
63
  
57
64
 
62
69
  { "y", M_ST_OFF(menu_list_priv_t,y), CONF_TYPE_INT, M_OPT_MIN, 0, 0, NULL }, \
63
70
  { "w", M_ST_OFF(menu_list_priv_t,w), CONF_TYPE_INT, M_OPT_MIN, 0, 0, NULL }, \
64
71
  { "h", M_ST_OFF(menu_list_priv_t,h), CONF_TYPE_INT, M_OPT_MIN, 0, 0, NULL }, \
65
 
  { "ptr", M_ST_OFF(menu_list_priv_t,ptr), CONF_TYPE_STRING, 0, 0, 0, NULL }
 
72
  { "ptr", M_ST_OFF(menu_list_priv_t,ptr), CONF_TYPE_STRING, 0, 0, 0, NULL }, \
 
73
  { "title-bg", M_ST_OFF(menu_list_priv_t,title_bg), CONF_TYPE_INT, M_OPT_RANGE, -1, 255, NULL }, \
 
74
  { "title-bg-alpha", M_ST_OFF(menu_list_priv_t,title_bg_alpha), \
 
75
    CONF_TYPE_INT, M_OPT_RANGE, 0, 255, NULL }, \
 
76
  { "item-bg", M_ST_OFF(menu_list_priv_t,item_bg), CONF_TYPE_INT, M_OPT_RANGE, -1, 255, NULL }, \
 
77
  { "item-bg-alpha", M_ST_OFF(menu_list_priv_t,item_bg_alpha), \
 
78
    CONF_TYPE_INT, M_OPT_RANGE, 0, 255, NULL }, \
 
79
  { "ptr-bg", M_ST_OFF(menu_list_priv_t,ptr_bg), CONF_TYPE_INT, M_OPT_RANGE, -1, 255, NULL }, \
 
80
  { "ptr-bg-alpha", M_ST_OFF(menu_list_priv_t,ptr_bg_alpha), \
 
81
    CONF_TYPE_INT, M_OPT_RANGE, 0, 255, NULL } \
 
82
  
66
83