KIV: save desktop image set by IgorA

Palitra: save desktop colors set by IgorA
Docky: no close by Alt+F4
IconNew: fix system hang when use an icon with number >99 by GerdtR
Gears (TinyGL asm): add key description to window, uncomment zoom code, add key shortcut "+" for zoom-in
TinyGL asm images: much better compression, for instance, TEXT_2.PNG from 235Kb to 106Kb without any visible degradation


git-svn-id: svn://kolibrios.org@7421 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2018-10-01 15:18:07 +00:00
parent 01ba9472ef
commit dd9e50c167
8 changed files with 243 additions and 279 deletions

View File

@@ -149,7 +149,14 @@ key:
cmp ah,27 ;Esc
je button.exit
cmp ah,61 ;+
cmp ah,43 ;+
jne @f
fld dword[scale]
fdiv dword[delt_sc]
fstp dword[scale]
call draw_3d
@@:
cmp ah,61 ;=
jne @f
fld dword[scale]
fdiv dword[delt_sc]
@@ -208,7 +215,7 @@ title1: db 'TinyGL in KolibriOS'
.end: db 0
title2: db 'F full screen'
.end: db 0
title3: db 'ESC - exit'
title3: db 'ESC - exit Arrow keys - rotate +/- zoom'
.end: db 0
fps: db 'FPS:'
.end: db 0
@@ -222,7 +229,7 @@ draw_3d:
stdcall [glClear], GL_COLOR_BUFFER_BIT + GL_DEPTH_BUFFER_BIT
stdcall [glPushMatrix]
;stdcall [glScalef], [scale], [scale], [scale]
stdcall [glScalef], [scale], [scale], [scale]
stdcall [glRotatef], [view_rotx], 1.0, 0.0, 0.0
stdcall [glRotatef], [view_roty], 0.0, 1.0, 0.0
stdcall [glRotatef], [view_rotz], 0.0, 0.0, 1.0
@@ -283,7 +290,7 @@ draw_3d:
align 4
an_9 dd 9.0
an_25 dd 25.0
scale dd 0.14 ;???
scale dd 1.0 ;???
delt_sc dd 0.85 ;???
delt_size dd 5.0