Subversion Repositories Kolibri OS

Rev

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

Rev 6798 Rev 6800
Line 1920... Line 1920...
1920
Remarks:
1920
Remarks:
1921
  * Scroll data is available for active window only.
1921
  * Scroll data is available for active window only.
1922
  * Values are zeroed after reading.
1922
  * Values are zeroed after reading.
1923
  * Values are signed.
1923
  * Values are signed.
Line -... Line 1924...
-
 
1924
 
-
 
1925
-------- Subfunction 8 - load cursor, specifying the encoding --------
-
 
1926
Parameters:
-
 
1927
  * eax = 37 - function number
-
 
1928
  * ebx = 8 - subfunction number
-
 
1929
  * ecx = pointer to the cursor file path string
-
 
1930
  * edx = string encoding, details can be found in function 80 description.
-
 
1931
Returned value:
-
 
1932
  * eax = cursor handle, 0 - failed
1924
 
1933
 
1925
---------------------- Constants for registers: ----------------------
1934
---------------------- Constants for registers: ----------------------
1926
  eax - SF_MOUSE_GET (37)
1935
  eax - SF_MOUSE_GET (37)
1927
  ebx - SSF_SCREEN_POSITION (0), SSF_WINDOW_POSITION (1),
1936
  ebx - SSF_SCREEN_POSITION (0), SSF_WINDOW_POSITION (1),
1928
    SSF_BUTTON (2), SSF_BUTTON_EXT (3), SSF_LOAD_CURSOR (4),
1937
    SSF_BUTTON (2), SSF_BUTTON_EXT (3), SSF_LOAD_CURSOR (4),
Line 2405... Line 2414...
2405
 
2414
 
2406
---------------------- Constants for registers: ----------------------
2415
---------------------- Constants for registers: ----------------------
2407
  eax - SF_STYLE_SETTINGS (48)
2416
  eax - SF_STYLE_SETTINGS (48)
2408
  ebx - SSF_SET_FONT_SIZE (12)
2417
  ebx - SSF_SET_FONT_SIZE (12)
-
 
2418
======================================================================
-
 
2419
== Function 48, subfunction 13 - set skin, specifying the encoding. ==
-
 
2420
======================================================================
-
 
2421
Parameters:
-
 
2422
  * eax = 48 - function number
-
 
2423
  * ebx = 13 - subfunction number
-
 
2424
  * ecx = pointer to the skin file path string
-
 
2425
  * edx = string encoding, details can be found in function 80 description.
-
 
2426
Returned value:
-
 
2427
  * eax = 0 - success
-
 
2428
  * otherwise eax = file system error code; if file does not
-
 
2429
    contain valid skin, function returns error 3
-
 
2430
    (unknown file system).
-
 
2431
Remarks:
-
 
2432
  * After successful skin loading the system sends to all windows
-
 
2433
    redraw message (the event 1).
-
 
2434
  * At booting the system reads skin from file 'default.skn'
-
 
2435
    on ramdisk.
-
 
2436
  * User can change the skin statically by creating hisself
-
 
2437
    'default.skn' or dynamically with the application 'desktop'.
-
 
2438
 
2409
======================================================================
2439
======================================================================
2410
=========== Function 49 - Advanced Power Management (APM). ===========
2440
=========== Function 49 - Advanced Power Management (APM). ===========
2411
======================================================================
2441
======================================================================
2412
Parameters:
2442
Parameters:
2413
  * eax = 49 - function number
2443
  * eax = 49 - function number