Subversion Repositories Kolibri OS

Rev

Rev 6191 | Rev 7806 | 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. dword
  7.         nonset1,
  8.         taskbar_color,
  9.         work_dark,
  10.         work_light,
  11.         window_title,
  12.         work,
  13.         work_button,
  14.         work_button_text,
  15.         work_text,
  16.         work_graph;
  17.         void get();
  18. };
  19.  
  20. :void COLORS::get()
  21. {
  22.         EAX = 48;
  23.         EBX = 3;
  24.         ECX = #nonset1;
  25.         EDX = 40;
  26.         $int 0x40
  27. }
  28.  
  29. :struct SYSTEM
  30. {
  31.         COLORS color;
  32. } system;
  33.  
  34. #endif