Subversion Repositories Kolibri OS

Rev

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

Rev 8665 Rev 8669
Line 27... Line 27...
27
    unsigned char blue;
27
    unsigned char blue;
28
    unsigned char green;
28
    unsigned char green;
29
    unsigned char red;
29
    unsigned char red;
30
}rgb_t;
30
}rgb_t;
Line -... Line 31...
-
 
31
 
-
 
32
typedef unsigned int ksys_color_t; 
31
 
33
 
32
#pragma pack(push,1)
34
#pragma pack(push,1)
33
typedef union{
35
typedef union{
34
    unsigned val;
36
    unsigned val;
35
    struct{
37
    struct{
Line 117... Line 119...
117
  int clientheight;          //+66
119
  int clientheight;          //+66
118
  unsigned char window_state;//+70
120
  unsigned char window_state;//+70
119
  char reserved3[1024-71];   //+71
121
  char reserved3[1024-71];   //+71
120
}ksys_proc_table_t;
122
}ksys_proc_table_t;
Line 121... Line -...
121
 
-
 
122
typedef unsigned int ksys_color_t;
-
 
123
 
123
 
124
typedef struct{
124
typedef struct{
125
    ksys_color_t frame_area;
125
    ksys_color_t frame_area;
126
    ksys_color_t grab_bar;
126
    ksys_color_t grab_bar;
127
    ksys_color_t grab_bar_button; 
127
    ksys_color_t grab_bar_button; 
Line 784... Line 784...
784
    );
784
    );
785
    return val;
785
    return val;
786
}
786
}
Line 787... Line 787...
787
 
787
 
788
static inline 
788
static inline 
789
int not_optimized _ksys_process_info(ksys_proc_table_t* table, int pid)
789
int _ksys_process_info(ksys_proc_table_t* table, int pid)
790
{
790
{
791
    int val;
791
    int val;
792
    asm_inline(
792
    asm_inline(
793
        "int $0x40"
793
        "int $0x40"