Subversion Repositories Kolibri OS

Rev

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

Rev 5201 Rev 5565
Line 834... Line 834...
834
  * Usually there is no necessity to minimize/restore a window
834
  * Usually there is no necessity to minimize/restore a window
835
    explicitly: minimization of a window is carried out by the system
835
    explicitly: minimization of a window is carried out by the system
836
    at pressing the minimization button (for skinned windows
836
    at pressing the minimization button (for skinned windows
837
    it is defined automatically by function 0,
837
    it is defined automatically by function 0,
838
    for other windows it can be defined manually by function 8),
838
    for other windows it can be defined manually by function 8),
839
    restore of a window is done by the application '@panel'.
839
    restore of a window is done by the application '@taskbar'.
Line 840... Line 840...
840
 
840
 
841
======================================================================
841
======================================================================
842
 Function 18, subfunction 11 - get information on the disk subsystem.
842
 Function 18, subfunction 11 - get information on the disk subsystem.
843
======================================================================
843
======================================================================
Line 1211... Line 1211...
1211
    layout is used and then from the code is subtracted 0x60;
1211
    layout is used and then from the code is subtracted 0x60;
1212
    if no control key is pressed, the normal layout is used.
1212
    if no control key is pressed, the normal layout is used.
1213
  * To get layout and country identifier use
1213
  * To get layout and country identifier use
1214
    subfunction 2 of function 26.
1214
    subfunction 2 of function 26.
1215
  * Country identifier is global system variable, which is not used
1215
  * Country identifier is global system variable, which is not used
1216
    by the kernel itself; however the application '@panel' displays
1216
    by the kernel itself; however the application '@taskbar' displays
1217
    the corresponding icon.
1217
    the corresponding icon.
1218
  * The application @panel switches layouts on user request.
1218
  * The application @taskbar switches layouts on user request.
Line 1219... Line 1219...
1219
 
1219
 
1220
======================================================================
1220
======================================================================
1221
========== Function 21, subfunction 5 - set system language. =========
1221
========== Function 21, subfunction 5 - set system language. =========
1222
======================================================================
1222
======================================================================
Line 1226... Line 1226...
1226
  * ecx = system language (1=eng, 2=fi, 3=ger, 4=rus)
1226
  * ecx = system language (1=eng, 2=fi, 3=ger, 4=rus)
1227
Returned value:
1227
Returned value:
1228
  * eax = 0
1228
  * eax = 0
1229
Remarks:
1229
Remarks:
1230
  * System language is global system variable and is not used
1230
  * System language is global system variable and is not used
1231
    by the kernel itself, however application @panel draws the
1231
    by the kernel itself, however application @taskbar draws the
1232
    appropriate icon.
1232
    appropriate icon.
1233
  * Function does not check for correctness, as the kernel does not
1233
  * Function does not check for correctness, as the kernel does not
1234
    use this variable.
1234
    use this variable.
1235
  * To get system language use subfunction 5 of function 26.
1235
  * To get system language use subfunction 5 of function 26.
Line 1420... Line 1420...
1420
    layout is used and then from the code is subtracted 0x60;
1420
    layout is used and then from the code is subtracted 0x60;
1421
    if no control key is pressed, the normal layout is used.
1421
    if no control key is pressed, the normal layout is used.
1422
  * To set layout and country identifier use
1422
  * To set layout and country identifier use
1423
    subfunction 2 of function 21.
1423
    subfunction 2 of function 21.
1424
  * Country identifier is global system variable, which is not used
1424
  * Country identifier is global system variable, which is not used
1425
    by the kernel itself; however the application '@panel' displays
1425
    by the kernel itself; however the application '@taskbar' displays
1426
    the corresponding icon (using this function).
1426
    the corresponding icon (using this function).
1427
  * The application @panel switches layouts on user request.
1427
  * The application @taskbar switches layouts on user request.
Line 1428... Line 1428...
1428
 
1428
 
1429
======================================================================
1429
======================================================================
1430
========== Function 26, subfunction 5 - get system language. =========
1430
========== Function 26, subfunction 5 - get system language. =========
1431
======================================================================
1431
======================================================================
Line 1434... Line 1434...
1434
  * ebx = 5 - subfunction number
1434
  * ebx = 5 - subfunction number
1435
Returned value:
1435
Returned value:
1436
  * eax = system language (1=eng, 2=fi, 3=ger, 4=rus)
1436
  * eax = system language (1=eng, 2=fi, 3=ger, 4=rus)
1437
Remarks:
1437
Remarks:
1438
  * System language is global system variable and is not used
1438
  * System language is global system variable and is not used
1439
    by the kernel itself, however application @panel draws the
1439
    by the kernel itself, however application @taskbar draws the
1440
    appropriate icon (using this function).
1440
    appropriate icon (using this function).
1441
  * To set system language use subfunction 5 of function 21.
1441
  * To set system language use subfunction 5 of function 21.
Line 1442... Line 1442...
1442
 
1442
 
1443
======================================================================
1443
======================================================================
Line 1994... Line 1994...
1994
  * ebx = [top]*65536 + [bottom]
1994
  * ebx = [top]*65536 + [bottom]
1995
Remarks:
1995
Remarks:
1996
  * The screen working area defines position and coordinates of
1996
  * The screen working area defines position and coordinates of
1997
    a maximized window.
1997
    a maximized window.
1998
  * The screen working area in view of normal work is all screen
1998
  * The screen working area in view of normal work is all screen
1999
    without system panel (the application '@panel').
1999
    without taskbar ('@taskbar' application).
2000
  * (left,top) are coordinates of the left upper corner,
2000
  * (left,top) are coordinates of the left upper corner,
2001
    (right,bottom) are coordinates of the right lower one.
2001
    (right,bottom) are coordinates of the right lower one.
2002
    Thus the size of working area on x axis can be calculated by
2002
    Thus the size of working area on x axis can be calculated by
2003
    formula right-left+1, on y axis - by formula bottom-right+1.
2003
    formula right-left+1, on y axis - by formula bottom-right+1.
2004
  * See also function 14,
2004
  * See also function 14,
Line 2016... Line 2016...
2016
Returned value:
2016
Returned value:
2017
  * function does not return value
2017
  * function does not return value
2018
Remarks:
2018
Remarks:
2019
  * The screen working area defines position and coordinates of
2019
  * The screen working area defines position and coordinates of
2020
    a maximized window.
2020
    a maximized window.
2021
  * This function is used only by the application '@panel',
2021
  * This function is used only by the application '@taskbar',
2022
    which set working area to all screen without system panel.
2022
    which set working area to all screen without taskbar.
2023
  * (left,top) are coordinates of the left upper corner,
2023
  * (left,top) are coordinates of the left upper corner,
2024
    (right,bottom) are coordinates of the right lower one.
2024
    (right,bottom) are coordinates of the right lower one.
2025
    Thus the size of working area on x axis can be calculated by
2025
    Thus the size of working area on x axis can be calculated by
2026
    formula right-left+1, on y axis - by formula bottom-right+1.
2026
    formula right-left+1, on y axis - by formula bottom-right+1.
2027
  * If 'left'>='right', x-coordinate of working area is not changed.
2027
  * If 'left'>='right', x-coordinate of working area is not changed.