Subversion Repositories Kolibri OS

Rev

Rev 6456 | Rev 6500 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6456 Rev 6495
Line 1... Line 1...
1
#ifndef KOLIBRI_KMENU_H
1
#ifndef KOLIBRI_KMENU_H
2
#define KOLIBRI_KMENU_H
2
#define KOLIBRI_KMENU_H
Line -... Line 3...
-
 
3
 
-
 
4
#define KMENUITEM_NORMAL    0
3
 
5
#define KMENUITEM_SUBMENU   1
Line 4... Line -...
4
extern int init_kmenu_asm(void); 
-
 
5
 
-
 
6
int kolibri_kmenu_init(void)
6
#define KMENUITEM_SEPARATOR 2
7
{
-
 
8
  int asm_init_status = init_kmenu_asm();
-
 
9
  
-
 
10
  /* just return asm_init_status? or return init_boxlib_asm() ?*/
-
 
11
 
-
 
12
  if(asm_init_status == 0)
-
 
13
    return 0;
-
 
14
  else
-
 
Line -... Line 7...
-
 
7
 
-
 
8
#define KMENUITEM_MAINMENU   0x80000000
Line -... Line 9...
-
 
9
 
-
 
10
#define KMENUITEM_SEPARATOR_WIDTH 10//170
-
 
11
#define KMENUITEM_SEPARATOR_HEIGHT 2
-
 
12
 
Line 15... Line 13...
15
    return 1;
13
#define KMENU_LBORDER_SIZE 2
16
}
14
#define KMENU_DBORDER_SIZE 1
17
 
15
 
18
 
16
extern int kolibri_kmenu_init(void);