Subversion Repositories Kolibri OS

Rev

Rev 5674 | Rev 6167 | 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. #print "[include <system.h>]\n"
  4.  
  5. :struct COLORS
  6. {
  7.         dword frame,grab,grab_button,grab_button_text,grab_text,
  8.               work,work_button,work_button_text,work_text,work_graph;
  9.         void get();
  10. };
  11.  
  12. :void COLORS::get()
  13. {
  14.         EAX = 48;
  15.         EBX = 3;
  16.         ECX = #frame;
  17.         EDX = 40;
  18.         $int 0x40
  19. }
  20.  
  21. :struct SYSTEM
  22. {
  23.         COLORS color;
  24. } system;
  25.  
  26. #endif