Subversion Repositories Kolibri OS

Rev

Rev 5676 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef INCLUDE_SYSTEM_H
  2. #define INCLUDE_SYSTEM_H
  3.  
  4. :struct COLORS
  5. {
  6.         dword frame,grab,grab_button,grab_button_text,grab_text,
  7.               work,work_button,work_button_text,work_text,work_graph;
  8.         void get();
  9. };
  10.  
  11. :void COLORS::get()
  12. {
  13.         EAX = 48;
  14.         EBX = 3;
  15.         ECX = #frame;
  16.         EDX = 40;
  17.         $int 0x40
  18. }
  19.  
  20. :struct SYSTEM
  21. {
  22.         COLORS color;
  23. } system;
  24.  
  25. #endif