2021-12-25 23:13:48 +01:00
;#___________________________________________________________________________________________________
;****************************************************************************************************|
; Program Palitra (c) Sergei Steshin (Akyltist) |
;----------------------------------------------------------------------------------------------------|
;; Charset:DOS-866 Font:Courier New Size:9pt |
;.....................................................................................................
;; compiler: FASM 1.69.31 |
;; version: 0.3.0 |
;; last update: 08/11/2012 |
;; e-mail: dr.steshin@gmail.com |
;.....................................................................................................
;; History: |
;; 0.1.0 - <20> <> ࢠ<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ணࠬ<E0AEA3> <E0A0AC> . |
;; 0.2.0 - <20> <> <EFBFBD> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 訩 <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ᥫ<EFBFBD> . |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> , <20> <> <EFBFBD> ॣ㫨<E3ABA8> <E0AEA2> <EFBFBD> <EFBFBD> rgb <20> <> <EFBFBD> ⠢<EFBFBD> <E2A0A2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 梥<> <E6A2A5> <20> <20> 뢮<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ⠢<EFBFBD> <E2A0A2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . |
;; - <20> <> ࠭ <20> 뢮<EFBFBD> 梥<> <E6A2A5> <20> <20> <> <EFBFBD> <EFBFBD> ୮<EFBFBD> <20> <> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <20> <> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <20> <> <EFBFBD> 㠫쭮<E3A0AB> <ECADAE> <EFBFBD> <EFBFBD> ). |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ᬥ⨪<E1ACA5> . |
;; 0.3.0 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ४<EFBFBD> <E0A5AA> 祭<EFBFBD> <E7A5AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 梥⮢<E6A2A5> <E2AEA2> <20> 奬 (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> NEXT) |
;; - <20> <> <EFBFBD> <EFBFBD> 襭<EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> , <20> ந<EFBFBD> <E0AEA8> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ࠡ<EFBFBD> ⪠ <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> 冷<EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> <E3ADAA> . |
;; - <20> <> <20> <> ⮪ <20> 梥⮢<E6A2A5> <E2AEA2> <20> 奬<EFBFBD> 㬥<> <E3ACA5> 襭<EFBFBD> <20> 6 <20> <> 4 (<28> <> <EFBFBD> ⭮<EFBFBD> <E2ADAE> <EFBFBD> 256, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> 㡫<EFBFBD> <EFBFBD> <E0AEA2> <EFBFBD> <EFBFBD> 梥<> <E6A2A5> ).|
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ᬥ⨪<E1ACA5> . |
;; 0.4.0 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ४<EFBFBD> <E0A5AA> 祭<EFBFBD> <E7A5AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 梥⠬<E6A2A5> |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㭮<EFBFBD> ॣ㫨<E3ABA8> <E0AEA2> <EFBFBD> <EFBFBD> <20> <EFBFBD> <E0AEA7> 筮<EFBFBD> <E7ADAE> <EFBFBD> (<28> <> <EFBFBD> <20> <> <EFBFBD> 㠫<EFBFBD> <E3A0AB> <EFBFBD> 樨). |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 祭<EFBFBD> <E7A5AD> rgba <20> <> 業<> <E6A5AD> <EFBFBD> , <20> <20> <> <EFBFBD> <EFBFBD> ᨬ<EFBFBD> <E1A8AC> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . |
;; - <20> <> ᬥ<EFBFBD> <E1ACA5> <EFBFBD> <EFBFBD> ᪨<EFBFBD> <20> ࠢ<EFBFBD> <E0A0A2> . |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ⨬<EFBFBD> <E2A8AC> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . |
;; 0.5.0 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᬥ<> <E1ACA5> 䮭<> ࠡ<> 祣<EFBFBD> <20> ⮫<EFBFBD> (<28> <> Leency). |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䮭<> ࠡ<> 祣<EFBFBD> <20> ⮫<EFBFBD> <20> ࠤ<EFBFBD> <E0A0A4> <EFBFBD> ⭮<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . |
;; - <20> <> ᬥ<EFBFBD> <E1ACA5> <EFBFBD> <EFBFBD> ᪨<EFBFBD> <20> ࠢ<EFBFBD> <E0A0A2> . |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ⨬<EFBFBD> <E2A8AC> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . |
;; 0.6.0 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ᪠ <20> <20> <> ࠬ<EFBFBD> <E0A0AC> ࠬ<EFBFBD> |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ० <> <E0A5A6> H (hidden) <20> ந<EFBFBD> <E0AEA8> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䮭<> ࠡ<> 祣<EFBFBD> <20> ⮫<EFBFBD> <20> ࠤ<EFBFBD> <E0A0A4> <EFBFBD> ⭮<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ⨬<EFBFBD> <E2A8AC> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . |
;; 0.7.0 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ⪠ - <20> 롮<EFBFBD> <20> <> <20> ।<EFBFBD> <E0A5A4> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> |
;; 0.7.5 - <20> <> <EFBFBD> <EFBFBD> ⨥ <20> ࠢ<EFBFBD> <E0A0A2> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 襩 <20> <> <EFBFBD> <EFBFBD> <20> <> <20> 祩<EFBFBD> <E7A5A9> <20> 梥⮬ <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> ᭮<EFBFBD> <E1ADAE> <EFBFBD> , <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . 梥<> |
;; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 襭<EFBFBD> <20> <> <EFBFBD> 栭<EFBFBD> <E6A0AD> <20> <> <EFBFBD> ࠡ<> <E0A0A1> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ⪨ |
;; 0.7.6 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ० <> <E0A5A6> B, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ந<EFBFBD> <E0AEA8> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䮭<> ࠡ<> 祣<EFBFBD> <20> ⮫<EFBFBD> <20> 㬭<EFBFBD> <E3ACAD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> (e-andrew)|
;.....................................................................................................
;; All rights reserved. |
;; |
;; Redistribution and use in source and binary forms, with or without modification, are permitted |
;; provided that the following conditions are met: |
;; * Redistributions of source code must retain the above copyright notice, this list of |
;; conditions and the following disclaimer. |
;; * Redistributions in binary form must reproduce the above copyright notice, this list of |
;; conditions and the following disclaimer in the documentation and/or other materials |
;; provided with the distribution. |
;; * Neither the name of the <organization> nor the names of its contributors may be used to |
;; endorse or promote products derived from this software without specific prior written |
;; permission. |
;; |
;; THIS SOFTWARE IS PROVIDED BY Sergei Steshin ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
;; INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
;; PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY DIRECT, |
;; INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED |
;; TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
;; LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
;....................................................................................................|
;#___________________________________________________________________________________________________
;****************************************************************************************************|
; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> |
;----------------------------------------------------------------------------------------------------/
use32
org 0
db 'MENUET01'
dd 1 , START , I_END , I_MEM , stacktop , params , sys_path
include '../../../macros.inc'
include '../../../proc32.inc'
include '../../../KOSfuncs.inc'
include '../../../dll.inc'
2021-12-31 21:07:08 +01:00
include 'draw_sliders.inc'
include 'draw_utils.inc'
include 'draw_palitra.inc'
2022-01-01 15:48:03 +01:00
WIN_W = 374 ; <20> <> ਭ<EFBFBD> <20> <> <EFBFBD> <EFBFBD>
2021-12-26 01:49:38 +01:00
WIN_H = 251 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
WIN_X = 250 ; <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD>
WIN_Y = 190 ; <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD>
2021-12-31 21:07:08 +01:00
Left_Border = 4
SliderPanel_W = 110
2021-12-26 01:49:38 +01:00
DRAWY = 9
2021-12-31 21:07:08 +01:00
CELLW = 11 ; 11 ; not used yet, but has to be :)
2022-01-01 15:48:03 +01:00
ICONX = WIN_W - 39
ICONS = 18 ; icon size
2021-12-26 01:49:38 +01:00
SLIDEW = 25
2021-12-25 23:13:48 +01:00
2021-12-31 21:07:08 +01:00
palitra_x = Left_Border + SliderPanel_W + 12
palitra_w = CELLW * ( 8 ) + 8 + 1
palitra_xw = palitra_x shl 16 + palitra_w
palitra_yw = DRAWY shl 16 + palitra_w
2021-12-25 23:13:48 +01:00
START:
mcall SF_SYS_MISC , SS F_HEAP_INIT ; <20> <> <EFBFBD> 樠<EFBFBD> <E6A8A0> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
2021-12-26 01:49:38 +01:00
mcall SF_SYS_MISC , SS F_MEM_OPEN , i18_name
mov [ icons18 ], eax
mcall SF_SYS_MISC , SS F_MEM_OPEN , i18bg_name
mov [ icons18bg ], eax
2021-12-25 23:13:48 +01:00
stdcall dl l.Load , @ IMPORT
or eax , eax
jnz bexit
2021-12-26 01:49:38 +01:00
mcall SF_SET_EVENTS_MASK , EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE ; <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ᮡ<> ⨩
2021-12-25 23:13:48 +01:00
include 'params_init.inc' ; <20> <> ࠡ<EFBFBD> ⪠ <20> <> ࠬ<EFBFBD> <E0A0AC> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ப<EFBFBD>
;#___________________________________________________________________________________________________
;****************************************************************************************************|
; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
;----------------------------------------------------------------------------------------------------/
red:
call draw_main ; <20> <> <EFBFBD> 뢠<EFBFBD> <EBA2A0> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> <20> <> <EFBFBD> <EFBFBD> <20> ਫ<EFBFBD> <E0A8AB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
still:
mcall SF_WAIT_EVENT ; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 10 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
2021-12-26 01:49:38 +01:00
cmp eax , EV_REDRAW ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ?
2021-12-25 23:13:48 +01:00
je red ; <20> <20> <> - <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> red
2021-12-26 01:49:38 +01:00
cmp eax , EV_KEY ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ?
2021-12-25 23:13:48 +01:00
je key ; <20> <20> <> - <20> <> key
2021-12-26 01:49:38 +01:00
cmp eax , EV_BUTTON ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ?
2021-12-25 23:13:48 +01:00
je button ; <20> <20> <> - <20> <> button
2021-12-26 01:49:38 +01:00
cmp eax , EV_MOUSE ; ᮡ<> ⨥ <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
2021-12-25 23:13:48 +01:00
je mouse ; <20> <20> <> - <20> <> button
jmp still ; <20> <20> <> 㣮<EFBFBD> ᮡ<> ⨥ - <20> <20> <> 砫<EFBFBD> 横<> <E6A8AA>
;end_still
key: ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
mcall SF_GET_KEY ; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 2 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ᨬ<> <E1A8AC> <EFBFBD> <EFBFBD> (<28> ah) (<28> <> <EFBFBD> <20> <20> ਭ樯<E0A8AD> <20> <> <20> 㦭<EFBFBD> )
jmp still ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> 砫<EFBFBD> 横<> <E6A8AA>
;end_key
mouse:
cmp [ renmode ], 2
jne left
call cyrcle_draw
jmp center
left:
mcall SF_MOUSE_GET , SS F_BUTTON
cmp al , 1b
jne right
mov [ mouse_f ], 1
jmp still
right:
cmp al , 10b
jne still
mov [ mouse_f ], 2
jmp still
center:
mcall SF_MOUSE_GET , SS F_BUTTON
cmp al , 100b
jne still
mov [ mouse_f ], 3
mov [ color ], edx
call draw_result
jmp still ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> 砫<EFBFBD> 横<> <E6A8AA>
;end_mouse
button:
mcall SF_GET_BUTTON ; 17 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䨪<EFBFBD> <E4A8AA> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ⮩ <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
cmp ah , 1 ; <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> 1,
jz bexit ; <20> <> 室<EFBFBD> <E5AEA4>
;<3B> <> ࠡ<EFBFBD> ⪠ <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Next
cmp ah , 12 ; <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> NEXT
jne next_bg ; <20> <> 室<EFBFBD> <E5AEA4>
inc [ pnext ] ; 㢥<> <E3A2A5> 稢<EFBFBD> <E7A8A2> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ⨨ <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
mov [ renmode ], 0 ; <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> 梥⮢<E6A2A5> <E2AEA2> <20> 奬<EFBFBD>
mov eax ,[ pnext ] ; <20> <> <EFBFBD> <EFBFBD> ᨬ <20> <> <EFBFBD> 祭<EFBFBD> <E7A5AD> <20> <20> <> <EFBFBD>
cmp al , 6 ; <20> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFA2AB> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ⢮<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
jne next_redraw ; <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ᨬ㬠 <20> <> <20> <> <20> 맮<EFBFBD> <20> <> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2>
xor eax , eax ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 塞 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> default
mov [ pnext ], eax ; <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ᨫ<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> default
next_redraw:
call draw_palitra ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
jmp still ; <20> 室<EFBFBD> <E5AEA4> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 㣮<EFBFBD> <E3A3AE> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
next_bg:
cmp ah , 14 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> BACKGROUND
jne next_bg2 ; <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> 室<EFBFBD> <E5AEA4>
call set_background ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䮭
jmp still ; <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
next_bg2:
cmp ah , 16 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> BACKGROUND
jne circle_bg ; <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> 室<EFBFBD> <E5AEA4>
call set_background2 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䮭
jmp still ; <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
circle_bg:
cmp ah , 15 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 㣮<EFBFBD> <E3A3AE> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
jne next_end ; <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> 室<EFBFBD> <E5AEA4>
mov [ renmode ], 2 ; <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> <20> <> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> <20> <> 㣮<EFBFBD> <E3A3AE> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
call draw_palitra ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
jmp still ; <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
next_end:
cmp ah , 13 ; COLOR SWAP
jne color_swap_end
push [ color2 ]
push [ color ]
pop [ color2 ]
pop [ color ]
call draw_result
jmp still ; <20> <20> 室<EFBFBD> <E5AEA4> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 㣮<EFBFBD> <E3A3AE> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
color_swap_end:
cmp ah , 7 ; <20> <EFBFBD> <E0AEA2> 塞 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ID=7
jne color_button ; <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
call mouse_get ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> <20> <> ࠡ<EFBFBD> <E0A0A1> 稪 <20> <> <EFBFBD> <EFBFBD> , <20> ⮡<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 祭<EFBFBD> <E7A5AD> 梥<> <E6A2A5> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
jmp still ; <20> <20> 室<EFBFBD> <E5AEA4> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 㣮<EFBFBD> <E3A3AE> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
color_button: ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> <E3ADAA> RGBA
push eax ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD>
call mouse_local ; <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD>
mov ebx , 188 ;137 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ࠭<EFBFBD> <E0A0AD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> <20> <> <20>
mov ecx ,[ mouse_y ] ; <20> <> <EFBFBD> <EFBFBD> ᨬ <20> <20> <> <EFBFBD> <20> <> <EFBFBD> 祭<EFBFBD> <E7A5AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20>
sub ebx , ecx ; <20> <> 室<EFBFBD> <E5AEA4> ࠧ<> <E0A0A7> <EFBFBD> <EFBFBD> <EFBFBD> (<28> .<2E> . <20> 㤠 ᬥ頥<E1ACA5> <E9A0A5> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㭮<EFBFBD> )
mov ecx , 2 ;3 ; <20> <> <EFBFBD> <EFBFBD> ᨬ <20> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 3 (256/3=85, <20> <> <EFBFBD> 85-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> <E3ADAA> )
imul ecx , ebx ; <20> <> 室<EFBFBD> <E5AEA4> <20> <> ⨭<EFBFBD> <E2A8AD> <EFBFBD> <20> <> ࠬ<EFBFBD> <E0A0AC> <EFBFBD> 梥<> <E6A2A5> <20> <20> <> <EFBFBD> ⮬ <20> <> <EFBFBD> <EFBFBD> ⠡<EFBFBD> <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> ---+
pop eax ; <20> <> <EFBFBD> <EFBFBD> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> :
;red_button: ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ४<EFBFBD> <E0A5AA> <EFBFBD> :
cmp ah , 8 ; ID=8 :
jne green_button ; <20> <20> <> <EFBFBD> , <20> <> <20> <EFBFBD> <E0AEA2> 塞 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ४<EFBFBD> <E0A5AA> <EFBFBD> :
mov [ cred ], cl ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ᢠ<EFBFBD> <E1A2A0> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 祭<EFBFBD> <E7A5AD> , <20> <> <EFBFBD> ᭮<EFBFBD> <E1ADAE> 梥<> <E6A2A5> ᯥ<> <E1AFA5> <EFBFBD> <EFBFBD> <------+
call set_spectr ; <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᯥ<> <E1AFA5> <EFBFBD>
jmp still ; <20> 室<EFBFBD> <E5AEA4> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 㣮<EFBFBD> <E3A3AE> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
green_button:
cmp ah , 9
jne bl ue_button
mov [ cgreen ], cl
call set_spectr
jmp still ; <20> 室<EFBFBD> <E5AEA4> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 㣮<EFBFBD> <E3A3AE> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
blue_button:
cmp ah , 10
jne al pha_button
mov [ cblue ], cl
call set_spectr
jmp still ; <20> 室<EFBFBD> <E5AEA4> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 㣮<EFBFBD> <E3A3AE> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
alpha_button:
cmp ah , 11
jne still
mov [ calpha ], cl
call set_spectr
jmp still ; <20> 室<EFBFBD> <E5AEA4> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 㣮<EFBFBD> <E3A3AE> ᮡ<> <E1AEA1> <EFBFBD> <EFBFBD>
bexit:
mcall SF_TERMINATE_PROCESS ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> ணࠬ<E0AEA3> <E0A0AC>
;end_button
;#___________________________________________________________________________________________________
;****************************************************************************************************|
; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
;----------------------------------------------------------------------------------------------------/
draw_main:
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 12: <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> , <20> <> <EFBFBD> <20> 㤥<EFBFBD> <20> <> ᮢ<EFBFBD> <E1AEA2> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
mcall SF_REDRAW , SS F_BEGIN_DRAW
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 48 - <20> ⨫<EFBFBD> <20> ⮡ࠦ<E2AEA1> <E0A0A6> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
mcall SF_STYLE_SETTINGS , SS F_GET_COLORS , sc , si zeof.system_colors
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 48 - <20> ⨫<EFBFBD> <20> ⮡ࠦ<E2AEA1> <E0A0A6> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
mcall SF_STYLE_SETTINGS , SS F_GET_SKIN_HEIGHT
mov ecx , eax ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᪨<> <E1AAA8>
mov edi ,[ runmode ]
cmp edi , 2
jne no_hiddenmode
mov edi , hidden
jmp set_title
no_hiddenmode:
cmp edi , 3
jne no_dialogmode
mov edi , hidden
jmp set_title
no_dialogmode:
mov edi , title ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
set_title:
xor eax , eax ; <20> <> <EFBFBD> 頥<EFBFBD> eax (mov eax,0) (<28> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 0)
mov ebx , WIN_X shl 16 + WIN_W ; [<5B> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> x]*65536 + [ࠧ<> <E0A0A7> <EFBFBD> <20> <> <20> <> <EFBFBD> x]
add ecx , WIN_Y shl 16 + WIN_H ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᪨<> <E1AAA8> + [<5B> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <> y]*65536 + [ࠧ<> <E0A0A7> <EFBFBD> <20> <> y] (168 <20> <> <EFBFBD> <20> <> <EFBFBD> ᨨ 0.2)
mov edx ,[ sc.work ] ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ⨫<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <20> <> 䮫<EFBFBD> <E4AEAB>
or edx , 0x34000000 ; <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> ᪨<> <E1AAA8> <EFBFBD> 䨪<> <E4A8AA> <EFBFBD> <E0AEA2> <EFBFBD> <EFBFBD> <EFBFBD> ࠧ<> <E0A0A7>
int 0x40 ; <20> <> <EFBFBD> <EFBFBD> 뢠<EFBFBD> <EBA2A0> <EFBFBD>
call draw_palitra ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
call draw_result ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-01-01 15:48:03 +01:00
mcall SF_DEFINE_BUTTON , < palitra_x , palitra_w * 2 + 1 > , < DRAWY , palitra_w * 2 + 2 > , 7 + BT_HIDE ; palitra
2021-12-25 23:13:48 +01:00
2022-01-01 15:48:03 +01:00
inc edx
mcall , < 10 , 22 > , < 56 , 128 > ; <20> <> <EFBFBD> 㥬 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <> <E1ABA0> <EFBFBD> red
2021-12-26 01:49:38 +01:00
add ebx , 25 * 65536 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 塞
2021-12-25 23:13:48 +01:00
inc edx ; ID = 9
int 0x40 ; <20> <> <EFBFBD> 㥬 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <> <E1ABA0> <EFBFBD> green
2021-12-26 01:49:38 +01:00
add ebx , 25 * 65536 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 塞
2021-12-25 23:13:48 +01:00
inc edx ; ID = 10
int 0x40 ; <20> <> <EFBFBD> 㥬 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <> <E1ABA0> <EFBFBD> blue
2021-12-26 01:49:38 +01:00
add ebx , 25 * 65536 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 塞
2021-12-25 23:13:48 +01:00
inc edx ; ID = 11
int 0x40 ; <20> <> <EFBFBD> 㥬 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <> <E1ABA0> <EFBFBD> alpha
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 8 - <20> <> ।<EFBFBD> <E0A5A4> <EFBFBD> <EFBFBD> <EFBFBD> /㤠<> <E3A4A0> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> )
2021-12-26 01:49:38 +01:00
mcall , < 13 , 19 > , < 20 , 18 > , 0x0D + BT_HIDE
2021-12-25 23:13:48 +01:00
call draw_bottom_panel
call draw_left_panel
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 12: <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> , <20> <> <EFBFBD> <20> 㤥<EFBFBD> <20> <> ᮢ<EFBFBD> <E1AEA2> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
mcall SF_REDRAW , SS F_END_DRAW
ret
2021-12-31 21:07:08 +01:00
2021-12-26 01:49:38 +01:00
2021-12-25 23:13:48 +01:00
;#___________________________________________________________________________________________________
;****************************************************************************************************|
; <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
;----------------------------------------------------------------------------------------------------/
;------------------------------------------------------------------------------------------------+
draw_left_panel: ; <20> <> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> SL97: <20> <> ᠬ<> <E1A0AC> <20> <> <EFBFBD> <EFBFBD> <20> ࠢ<EFBFBD> <E0A0A2> .
;.................................................................................................
; button_next_colorsheme
2022-01-01 15:48:03 +01:00
mcall SF_DEFINE_BUTTON , < ICONX , ICONS + 3 > , < DRAWY , ICONS + 3 > , 12 + BT_HIDE
2021-12-31 21:07:08 +01:00
; palitra button ; ID = 14
2022-01-01 15:48:03 +01:00
mcall , ,( DRAWY + 150 ) shl 16 + ICONS + 3 , 14 + BT_HIDE
2021-12-31 21:07:08 +01:00
; pipet button ; ID = 15
2022-01-01 15:48:03 +01:00
mcall , , ( DRAWY + 150 ) shl 16 + ICONS + 3 , 15 + BT_HIDE
2021-12-26 01:49:38 +01:00
mov ebx ,[ icons18bg ]
2022-01-01 15:48:03 +01:00
add ebx , ICONS * ICONS * 4 * 53
mcall SF_PUT_IMAGE_EXT , ebx , < ICONS , ICONS > , < ICONX + 2 , DRAWY + 2 > , 32 , 0 , 0
2021-12-26 01:49:38 +01:00
2022-01-01 15:48:03 +01:00
add ebx , ICONS * ICONS * 4 * ( 39 - 53 )
2021-12-31 21:07:08 +01:00
mov edx ,( ICONX + 2 ) * 65536 + WIN_H - 90
2021-12-26 01:49:38 +01:00
mcall
2021-12-31 21:07:08 +01:00
2021-12-26 01:49:38 +01:00
mov ebx ,[ icons18 ]
2022-01-01 15:48:03 +01:00
add ebx , ICONS * ICONS * 4 * ( 53 - 1 )
2021-12-26 01:49:38 +01:00
sub edx , 40
mcall
2021-12-31 21:07:08 +01:00
2022-01-01 15:48:03 +01:00
stdcall DrawDeepRectangle , ICONX - 1 , DRAWY - 1 , ICONS + 5 , ICONS + 5 , [ sc.work_graph ], [ sc.work_graph ]
stdcall DrawDeepRectangle , ICONX , DRAWY , ICONS + 3 , ICONS + 3 , [ sc.work_light ], [ sc.work_dark ]
2021-12-31 21:07:08 +01:00
2022-01-01 15:48:03 +01:00
stdcall DrawDeepRectangle , ICONX - 1 , DRAWY + 109 , ICONS + 5 , ICONS + 5 , [ sc.work_graph ], [ sc.work_graph ]
stdcall DrawDeepRectangle , ICONX , DRAWY + 110 , ICONS + 3 , ICONS + 3 , [ sc.work_dark ], [ sc.work_light ]
stdcall DrawDeepRectangle , ICONX + 1 , DRAWY + 111 , ICONS + 1 , ICONS + 1 , 0xFFFfff , 0xFFFfff
2021-12-31 21:07:08 +01:00
2022-01-01 15:48:03 +01:00
stdcall DrawDeepRectangle , ICONX - 1 , DRAWY + 149 , ICONS + 5 , ICONS + 5 , [ sc.work_graph ], [ sc.work_graph ]
stdcall DrawDeepRectangle , ICONX , DRAWY + 150 , ICONS + 3 , ICONS + 3 , [ sc.work_light ], [ sc.work_dark ]
2021-12-31 21:07:08 +01:00
;stdcall DrawRectangle3D, ICONX, DRAWY, 22, 22, [sc.work_light], [sc.work_dark] ;Leency: draw rectangle around the button, buggy now
2021-12-25 23:13:48 +01:00
;mov eax,13 ; draw rect
;mov ebx,266 shl 16+16 ; [x] + [size]
;mov ecx,9 shl 16+16 ; [y] + [size]
;mov edx,0x666666 ; RGB
;push esi ; backup esi
;mov esi,8 ; counter=8
;draw_lpanel: ; loop label
; int 0x40 ; call draw black rect
; add ecx,19 shl 16 ; move rect
; dec esi ; decrement counter
; cmp esi,0 ; if counter!=zero
; jne draw_lpanel ; then goto label
; mov esi,8 ; else counter=8
; mov ebx,267 shl 16+14 ; [x] + [size]
; mov ecx,10 shl 16+14 ; [y] + [size]
; mov edx,0xF3F3F3 ; RGB
;draw_lpanel2: ; 2 loop label
; int 0x40 ; call draw white rect
; add ecx,19 shl 16 ; move rect
; dec esi ; decrement counter
; cmp esi,0 ; if counter!=0
; jne draw_lpanel2 ; then goto label2
;pop esi ; restore esi
; draw_left_arrow for button_next_colorsheme
;mov eax,4 ; Write string
;mov ebx,272 shl 16+13 ; [x] + [y]
;mov ecx,0x0 ; RGB
;mov edx,larrow ; string pointer
;mov esi,1 ; count symbol
;int 0x40 ; call
;mov eax,38 ; draw line
;mov ebx,270 shl 16+272 ; [start x] + [end x]
;mov ecx,16 shl 16+16 ; [start y] + [end y]
;mov edx,0x0 ; RGB
;int 0x40 ; call
ret ; return
;.................................................................................................
;------------------------------------------------------------------------------------------------+
draw_bottom_panel: ; <20> <> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
;.................................................................................................
2022-01-01 15:48:03 +01:00
mcall SF_DEFINE_BUTTON , < 129 , 90 > , < WIN_H - 27 , 16 > , 16 , [ sc.work_button ]
2021-12-25 23:13:48 +01:00
add ebx , 100 shl 16
add edx , 2
int 0x40
; Write string
mov ecx ,[ sc.work_text ] ; RGB
2022-01-01 15:48:03 +01:00
add ecx , 0x90000000
mcall SF_DRAW_TEXT , < 35 , WIN_H - 26 > , , bground
2021-12-25 23:13:48 +01:00
mov ecx , [ sc.work_button_text ]
2022-01-01 15:48:03 +01:00
add ecx , 0x90000000
add ebx , 107 shl 16
2021-12-25 23:13:48 +01:00
mov edx , bground1
2022-01-01 15:48:03 +01:00
mcall
2021-12-25 23:13:48 +01:00
2022-01-01 15:48:03 +01:00
add ebx , 113 shl 16
2021-12-25 23:13:48 +01:00
mov edx , bground2
2022-01-01 15:48:03 +01:00
mcall
2021-12-25 23:13:48 +01:00
2022-01-01 15:48:03 +01:00
mcall SF_DRAW_LINE , < 4 , WIN_W - 14 > , < WIN_H - 35 , WIN_H - 35 > , [ sc.work_graph ]
ret
2021-12-25 23:13:48 +01:00
;.................................................................................................
mouse_global:
;.................................................................................................
; <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
;.................................................................................................
mcall SF_MOUSE_GET , SS F_SCREEN_POSITION
; eax = x*65536 + y, (x,y)=<3D> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
mov ecx , eax ;
shr ecx , 16 ; ecx = x+1
movzx edx , ax ; edx = y+1
dec ecx ; ecx = x
dec edx ; edx = y
mov [ mouse_x ], ecx ; mouse_x = x
mov [ mouse_y ], edx ; mouse_y = y
ret ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
;end_mouse_global
mouse_local:
;.................................................................................................
; <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> ⭮<EFBFBD> <E2ADAE> ⥫쭮 <20> <> <EFBFBD> <EFBFBD>
;.................................................................................................
mcall SF_MOUSE_GET , SS F_WINDOW_POSITION
; eax = x*65536 + y, (x,y)=<3D> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
mov ecx , eax ;
shr ecx , 16 ; ecx = x+1
movzx edx , ax ; edx = y+1
dec ecx ; ecx = x
dec edx ; edx = y
mov [ mouse_x ], ecx ; mouse_x = x
mov [ mouse_y ], edx ; mouse_y = y
ret ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
;end_mouse_local
set_background:
;.................................................................................................
; <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䮭 ࠡ<> 祣<EFBFBD> <20> ⮫<EFBFBD>
;.................................................................................................
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 15 - ࠡ<> <E0A0A1> <EFBFBD> <20> 䮭<> <E4AEAD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 䨪<EFBFBD> <E4A8AA>
; <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 4 - <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> ० <> <E0A5A6> <20> <> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> 䮭<> .
; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> (1), <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> (2)
mcall SF_BACKGROUND_SET , SS F_MODE_BG , 2
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 15 - ࠡ<> <E0A0A1> <EFBFBD> <20> 䮭<> <E4AEAD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 䨪<EFBFBD> <E4A8AA>
; <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 1 - <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> ࠧ<> <E0A0A7> <EFBFBD> 䮭<> <E4AEAD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ࠦ<EFBFBD> <E0A0A6> <EFBFBD> <EFBFBD> .
mcall SF_BACKGROUND_SET , SS F_SIZE_BG , 2 , 2
mov eax ,[ color ]
mov [ cm + 0 ], al
mov [ cm + 9 ], al
shr eax , 8
mov [ cm + 1 ], al
mov [ cm + 10 ], al
shr eax , 8
mov [ cm + 2 ], al
mov [ cm + 11 ], al
mov eax ,[ color2 ]
mov [ cm + 3 ], al
mov [ cm + 6 ], al
shr eax , 8
mov [ cm + 4 ], al
mov [ cm + 7 ], al
shr eax , 8
mov [ cm + 5 ], al
mov [ cm + 8 ], al
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 15 - ࠡ<> <E0A0A1> <EFBFBD> <20> 䮭<> <E4AEAD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 䨪<EFBFBD> <E4A8AA>
; <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 5 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ᥫ<EFBFBD> <E1A5AB> <20> <> 䮭.
; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ⥫<EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> ଠ <EFBFBD> <E0ACA0> BBGGRRBBGGRR
; - C<> <43> 饭<EFBFBD> <E9A5AD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䮭<> <E4AEAD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ࠦ<EFBFBD> <E0A0A6> <EFBFBD> <EFBFBD>
; - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> = 3 * <20> <> <20> <> <EFBFBD> ᥫ<EFBFBD> <E1A5AB>
mcall SF_BACKGROUND_SET , SS F_IMAGE_BG , cm , 0 , 3 * 4
; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 15 - ࠡ<> <E0A0A1> <EFBFBD> <20> 䮭<> <E4AEAD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 䨪<EFBFBD> <E4A8AA>
; <20> <> <EFBFBD> <EFBFBD> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 3 - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> <EFBFBD> 䮭.
mcall SF_BACKGROUND_SET , SS F_REDRAW_BG
stdcall save_eskin_ini , 'H '
ret
;end_set_background
desktop_get:
;.................................................................................................
; <20> <> ।<EFBFBD> <E0A5A4> 塞 <20> <> ਭ<EFBFBD> <20> <> ࠭<EFBFBD>
;.................................................................................................
; <20> <> ।<EFBFBD> <E0A5A4> 塞 <20> <> ਭ<EFBFBD> <20> <> ࠭<EFBFBD> (eax = [xsize]*65536 + [ysize])
mcall SF_GET_SCREEN_SIZE ; xsize = ࠧ<> <E0A0A7> <EFBFBD> <20> <> <20> <> ਧ<EFBFBD> <E0A8A7> ⠫<EFBFBD> - 1
mov ebx , eax ;
shr ebx , 16 ; ebx = xsize-1
movzx edx , ax ; edx = ysize-1 (<28> <> 譨<EFBFBD> <20> <> <EFBFBD> )
inc ebx ; ebx = xsize
inc edx ; edx = ysize (<28> <> 譨<EFBFBD> <20> <> <EFBFBD> )
mov [ desctop_w ], ebx
mov [ desctop_h ], edx
ret
;end_desktop_get
mouse_get:
mov esi , 2 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : 䫠<> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 横<EFBFBD> <E6A8AA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
call mouse_global
call desktop_get
re_mouse_loop: ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <> ⪠ <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
mov ebx ,[ desctop_w ]
imul ebx ,[ mouse_y ] ; ebx = y*xsize
add ebx ,[ mouse_x ] ; ebx = y*xsize+x
;.................................................................................................
; <20> <> ६ 梥<> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> ६<EFBFBD> <E0A5AC> <EFBFBD> <EFBFBD> <EFBFBD>
;.................................................................................................
;mov ebx,ecx ;; ebx = y*xsize+x (<28> <> 譨<EFBFBD> <20> <> <EFBFBD> )
mcall SF_GET_PIXEL ; <20> <> <EFBFBD> <EFBFBD> 砥<EFBFBD> 梥<> <20> eax
cmp eax ,[ sc.work ] ; <20> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> 䮭<> <E4AEAD> <20> ਫ<EFBFBD> <E0A8AB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
je mouse_err ; <20> <20> <> <EFBFBD> <20> <> - <20> <> <20> <> 祣<EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
cmp eax , 0x222222 ; <20> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> 梥⮬ <20> <> ⪨
je mouse_err ; <20> <20> <> <EFBFBD> <20> <> - <20> <> <20> <> 祣<EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
jmp mouse_set ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <> 룠<EFBFBD> <EBA3A0> <20> ⮡<EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 梥<> <20> <> ⪨
mouse_err: ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 䮭
inc [ mouse_y ] ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : ᬥ頥<E1ACA5> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᭠砫<E1ADA0> <20> <> <20>
inc [ mouse_x ] ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : ᬥ頥<E1ACA5> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ⮬ <20> <> <20>
dec esi ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 蠥<EFBFBD> 䫠<>
cmp esi , 0 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> 㫥<EFBFBD>
jz mouse_exit ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <20> <> <EFBFBD> <EFBFBD> <20> <> ᤥ<> <E1A4A5> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
jmp re_mouse_loop ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <20> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> 㥬 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ᥫ<EFBFBD> <E1A5AB> <EFBFBD> <20> <> <EFBFBD> ᥫ<EFBFBD>
mouse_set: ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 梥<>
cmp [ mouse_f ], 1
jne was_right
mov [ color ], eax
call draw_result
jmp mouse_exit
was_right:
cmp [ mouse_f ], 2
jne mouse_exit
mov [ color2 ], eax
call draw_result ; <20> 뢮<EFBFBD> <EBA2AE> <EFBFBD> १<> <E0A5A7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
mouse_exit:
ret ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
;end_mouse_get----------------------------------------------------------------------------------------
draw_value:
;.................................................................................................
; <20> 뢮<EFBFBD> <20> <> <20> <> <20> <> ப<EFBFBD> <20> 㪠<> <E3AAA0> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
;.................................................................................................
push ebx ; <20> <> <EFBFBD> ࠭塞 <20> <> <EFBFBD> <EFBFBD> <E1ABA0> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD>
mov ebx , 10 ; <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ᭮<EFBFBD> <E1ADAE> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ⥬<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <E1ABA5> <EFBFBD>
mov edi , buff ; 㪠<> <E3AAA0> ⥫<EFBFBD> <20> <> <20> <> ப<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
call int2ascii ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 㥬 <20> <> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> ப<EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> + esi <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
mov eax , SF_DRAW_TEXT ; <20> 㭪<EFBFBD> <E3ADAA> <EFBFBD> 4: <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ⥪<> <E2A5AA> <20> <20> <> <EFBFBD> <EFBFBD>
pop ebx ; <20> <> <EFBFBD> ⠥<EFBFBD> <20> <> <20> ⥪<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <E1ABA0> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD>
cmp esi , 2 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
jne draw_value_1
add ebx , 4 shl 16
jmp draw_value_e
draw_value_1:
cmp esi , 1
jne draw_value_e
add ebx , 7 shl 16
draw_value_e:
2021-12-26 01:49:38 +01:00
mov ecx , 0x0 ;0x10000000 ; 梥<> ⥪<> <E2A5AA> <EFBFBD> RRGGBB
add ecx ,[ sc.work_text ]
2021-12-25 23:13:48 +01:00
mov edx , buff ; 㪠<> <E3AAA0> ⥫<EFBFBD> <20> <> <20> <> 砫<EFBFBD> ⥪<> <E2A5AA> <EFBFBD>
int 0x40
ret ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
;end_draw_value
_read_params:
mov eax , dword [ params + 2 ]
mov dword [ params_c + 0 ], eax
mov eax , dword [ params + 6 ]
mov dword [ params_c + 4 ], eax
mov esi , params_c
mov ecx , 16
call ascii2int
mov [ color ], eax
mov eax , dword [ params + 11 ]
mov dword [ params_c + 0 ], eax
mov eax , dword [ params + 15 ]
mov dword [ params_c + 4 ], eax
mov esi , params_c
mov ecx , 16
call ascii2int
mov [ color2 ], eax
ret
hex_digit:
;.................................................................................................
; <20> ८<EFBFBD> ࠧ<EFBFBD> <E0A0A7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ASCII (<28> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ᨬ<EFBFBD> <E1A8AC> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> ⥬<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <E1ABA5> <EFBFBD> )
;.................................................................................................
cmp dl , 10 ; <20> dl <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> 0 <20> <> 15
jb .less ; <20> dl<10 <20> <> <20> <> <EFBFBD> <EFBFBD> 室<EFBFBD> <E5AEA4>
add dl , 'A' - 10 ; 10->A 11->B 12->C ...
ret ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
.less:
or dl , '0' ; <20> <20> <> <EFBFBD> ⥬<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <E1ABA5> <EFBFBD> 10-<2D> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
ret ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
;end_hex_digit
int2ascii:
;.................................................................................................
; <20> ८<EFBFBD> ࠧ<EFBFBD> <E0A0A7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <20> <> ப<EFBFBD>
;.................................................................................................
; eax - 32-<2D> <20> <> <EFBFBD> 筮<EFBFBD> <20> <>
; ebx - <20> ᭮<EFBFBD> <E1ADAE> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ⥬<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <E1ABA5> <EFBFBD>
; edi - 㪠<> <E3AAA0> ⥫<EFBFBD> <20> <> <20> <> ப<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> esi - <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ப<EFBFBD>
push edi
xor esi , esi ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 塞 <20> <> <EFBFBD> <EFBFBD> 稪 ᨬ<> <E1A8AC> <EFBFBD> <EFBFBD> <EFBFBD>
convert_loop:
xor edx , edx ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 塞 ॣ<> <E0A5A3> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ⮪
div ebx ; eax/ebx - <20> <> <EFBFBD> <EFBFBD> ⮪ <20> edx
call hex_digit ; <20> ८<EFBFBD> ࠧ㥬 ᨬ<> <E1A8AC> <EFBFBD>
push edx ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> ⥪
inc esi ; 㢥<> <E3A2A5> 稢<EFBFBD> <E7A8A2> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 稪
test eax , eax ; <20> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
jnz convert_loop ; <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD>
cld ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 뢠<EFBFBD> <EBA2A0> 䫠<> <20> <> <EFBFBD> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD> DF (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )
write_loop: ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
pop eax ; <20> <> <EFBFBD> ⠥<EFBFBD> <20> <> <20> ⥪<EFBFBD> <20> <20> <> <EFBFBD>
stosb ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 뢠<EFBFBD> <EBA2A0> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ES:(E)DI
dec esi ; 㬥<> <E3ACA5> 蠥<EFBFBD> <20> <> <EFBFBD> <EFBFBD> 稪
test esi , esi ; <20> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> ⠢<EFBFBD> <E2A0A2> <EFBFBD> <20> <> <20> ⥪<EFBFBD>
jnz write_loop ; <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
mov byte [ edi ], 0 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 뢠<EFBFBD> <EBA2A0> <20> 㫥<EFBFBD> <E3ABA5> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
pop edi
; <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 祣<EFBFBD> <20> <> 饣<EFBFBD> <20> <20> 㭪樨, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> 祭<EFBFBD> <E7A5AD> <EFBFBD> <20> <> ப<EFBFBD>
call str_len
mov esi , eax
ret ; <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
;end_int2ascii
char2byte:
sub al , '0'
cmp al , 10
jb done
add al , '0'
and al , 0x5f
sub al , 'A' - 10
and al , 0x0f
done:
ret
;end_char2byte
ascii2int:
;.................................................................................................
; <20> ८<EFBFBD> ࠧ<EFBFBD> <E0A0A7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ப<EFBFBD> <20> <20> <>
;.................................................................................................
; esi - 㪠<> <E3AAA0> ⥫<EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ନ<EFBFBD> <E0ACA8> <EFBFBD> <E0AEA2> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ப<EFBFBD>
; ecx - <20> ᭮<EFBFBD> <E1ADAE> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ⥬<EFBFBD> <20> <> <EFBFBD> <EFBFBD> <E1ABA5> <EFBFBD>
; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> eax - <20> <>
push esi
xor eax , eax
xor ebx , ebx
cmp byte [ esi ], '-'
jnz .next
inc esi
.next:
lodsb
or al , al
jz .done
call ch ar2byte
imul ebx , ecx
add ebx , eax
jmp .next
.done:
xchg ebx , eax
pop esi
cmp byte [ esi ], '-'
jz .negate
ret
.negate:
neg eax
ret
;end_ascii2int
get_spectr:
;.................................................................................................
; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> r,g,b <20> <> <EFBFBD> ⮢<EFBFBD> <E2AEA2> <EFBFBD> 騥 梥<> <E6A2A5>
;.................................................................................................
mov ecx ,[ color ]
mov [ cblue ], cl
shr ecx , 8
mov [ cgreen ], cl
shr ecx , 8
mov [ cred ], cl
shr ecx , 8
mov [ calpha ], cl
ret ; <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
;end_get_spectr
set_spectr:
;.................................................................................................
; <20> <> ⠭<EFBFBD> <E2A0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> r,g,b 梥<>
;.................................................................................................
movzx eax ,[ calpha ]
shl eax , 8
mov al ,[ cred ]
shl eax , 8
mov al ,[ cgreen ]
shl eax , 8
mov al ,[ cblue ]
mov [ color ], eax
call draw_result ; <20> 뢮<EFBFBD> <EBA2AE> <EFBFBD> १<> <E0A5A7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
ret ; <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 頥<EFBFBD> <20> <> ࠢ<EFBFBD> <E0A0A2> <EFBFBD> <EFBFBD> <EFBFBD>
;end_get_spectr
str_len:
;.................................................................................................
; <20> <> ।<EFBFBD> <E0A5A4> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ப<EFBFBD> (<28> 室->EDI ZS offset ; <20> <> 室->EAX ZS length)
;.................................................................................................
push ecx esi edi
cld
xor al , al
mov ecx , 0FFFFFFFFh
mov esi , edi
repne scasb
sub edi , esi
mov eax , edi
dec eax
pop edi esi ecx
ret
;end_str_len
;-------------------------------
proc random uses ebx ecx edx , max_value
mov ebx , 0
mov eax , ebx
or eax , eax
jnz @ f
rdtsc
xor eax , edx
mov ebx , eax
@ @ :
xor edx , edx
mov ecx , 127773
div ecx
mov ecx , eax
mov eax , 16807
mul edx
mov edx , ecx
mov ecx , eax
mov eax , 2836
mul edx
sub ecx , eax
xor edx , edx
mov eax , ecx
mov ebx , ecx
mov ecx , 100000
div ecx
mov eax , edx
xor edx , edx
mov ebx , [ max_value ]
div ebx
mov eax , edx
ret
endp
set_background2:
mcall SF_SYS_MISC , SS F_HEAP_INIT
mcall SF_SYS_MISC , SS F_MEM_ALLOC , 256 * 256 * 3
2021-12-26 01:49:38 +01:00
mov [ bgimg_buf ], eax
2021-12-25 23:13:48 +01:00
mov edx , eax
mov ecx , 256 * 256
@ @ :
stdcall random , 15 + 1
sub al , 15 / 2
mov bh , byte [ color + 0 ]
add bh , al
mov [ edx + 0 ], bh
mov bh , byte [ color + 1 ]
add bh , al
mov [ edx + 1 ], bh
mov bh , byte [ color + 2 ]
add bh , al
mov [ edx + 2 ], bh
add edx , 3
loop @ b
mcall SF_BACKGROUND_SET , SS F_SIZE_BG , 256 , 256
mcall SF_BACKGROUND_SET , SS F_MODE_BG , 1
2021-12-26 01:49:38 +01:00
mcall SF_BACKGROUND_SET , SS F_IMAGE_BG , [ bgimg_buf ], 0 , 256 * 256 * 3
2021-12-25 23:13:48 +01:00
mcall SF_BACKGROUND_SET , SS F_REDRAW_BG
2021-12-26 01:49:38 +01:00
mcall SF_SYS_MISC , SS F_MEM_FREE , [ bgimg_buf ]
2021-12-25 23:13:48 +01:00
stdcall save_eskin_ini , 'B '
ret
align 4
proc save_eskin_ini , opt_HB : dword
;save to file eskin.ini
xor al , al
mov ecx , 1024
mov edi , sys_path + 2
repne scasb
sub edi , sys_path + 3
invoke ini_set_str , inifileeskin , amain , aprogram , sys_path + 2 , edi
;add param 'H '
mov eax ,[ opt_HB ]
mov word [ params ], ax
mov eax ,[ color ]
or eax , 0xf ;<3B> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 筮<EFBFBD> <E7ADAE> 横<> <E6A8AA> <20> eax=0
mov edi , params + 2
@ @ :
rol eax , 8
or al , al
jnz @ f
mov word [ edi ], '00' ;<3B> 㫨 <20> <> । <20> <> <EFBFBD>
add edi , 2
jmp @ b
@ @ :
and al , 0xf0
jnz @ f
mov byte [ edi ], '0'
inc edi
@ @ :
mov eax ,[ color ]
mov ebx , 16
call int2ascii
mov byte [ params + 10 ], ' '
;add color2
mov eax ,[ color2 ]
or eax , 0xf ;<3B> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 筮<EFBFBD> <E7ADAE> 横<> <E6A8AA> <20> eax=0
mov edi , params + 11
@ @ :
rol eax , 8
or al , al
jnz @ f
mov word [ edi ], '00' ;<3B> 㫨 <20> <> । <20> <> <EFBFBD>
add edi , 2
jmp @ b
@ @ :
and al , 0xf0
jnz @ f
mov byte [ edi ], '0'
inc edi
@ @ :
mov eax ,[ color2 ]
mov ebx , 16
call int2ascii
invoke ini_set_str , inifileeskin , amain , aparam , params , 19
ret
endp
;#___________________________________________________________________________________________________
;****************************************************************************************************|
; <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
;----------------------------------------------------------------------------------------------------/
circle:
2021-12-26 01:49:38 +01:00
title db 'Palitra v0.77' , 0 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> <20> ணࠬ<E0AEA3> <E0A0AC>
2021-12-25 23:13:48 +01:00
hidden db 'Hidden' , 0
2021-12-26 01:49:38 +01:00
; hex db '#',0 ; <20> <> <EFBFBD> <20> 뢮<EFBFBD> <EBA2AE> <20> <> <EFBFBD> <EFBFBD> ⪨ <20> <> <EFBFBD> ⥪<> <E2A5AA> <EFBFBD>
2021-12-25 23:13:48 +01:00
cname db 'RGBAx' ; <20> ࠭<EFBFBD> <E0A0AD> ࠧ<> <E0A0A7> <EFBFBD> <EFBFBD> 梥⮢ (red,green,blue) x-<2D> <> ⪠ <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
larrow db 0x1A , 0
buff db '000' , 0
2022-01-01 15:48:03 +01:00
bground db 'Background' , 0 ; <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> - 14
2021-12-26 01:49:38 +01:00
bground1 db 'Gradient' , 0 ; <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> - 15
bground2 db 'Noisy' , 0 ; <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> - 16
2021-12-25 23:13:48 +01:00
runmode dd 1 ; ० <> <E0A5A6> <20> <> <EFBFBD> <EFBFBD> ᪠ (1-normal, 2-hidden, 3-colordialog)
color2 dd 00FFFFFFh ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> 祭<EFBFBD> <E7A5AD> <20> <> <EFBFBD> ண<EFBFBD> <20> <> <EFBFBD> ࠭<EFBFBD> <E0A0AD> <EFBFBD> <EFBFBD> 梥<> <E6A2A5>
inifileeskin db '/sys/settings/system.ini' , 0
amain db 'style' , 0
aprogram db 'bg_program' , 0
aparam db 'bg_param' , 0
2021-12-31 21:07:08 +01:00
2021-12-26 01:49:38 +01:00
i18_name db 'ICONS18' , 0
i18bg_name db 'ICONS18W' , 0
2021-12-25 23:13:48 +01:00
align 16
@ IMPORT:
library \
libini , 'libini.obj'
import libini , \
ini_set_str , 'ini_set_str'
I_END:
cm rb 12
color rd 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> 祭<EFBFBD> <E7A5AD> <20> <> <EFBFBD> ࠭<EFBFBD> <E0A0AD> <EFBFBD> <EFBFBD> 梥<> <E6A2A5>
mouse_x rd 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
mouse_y rd 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> न<EFBFBD> <E0A4A8> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD>
mouse_f rd 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ⮬ <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> 뫠 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
desctop_w rd 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> ਭ<EFBFBD> <20> <> ࠭<EFBFBD>
desctop_h rd 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ࠭<EFBFBD>
sc system_colors ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ⥬<EFBFBD> <E2A5AC> <EFBFBD> 梥⮢ ᪨<> <E1AAA8>
2021-12-26 01:49:38 +01:00
cred rb 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᯥ<> <E1AFA5> <EFBFBD>
2021-12-25 23:13:48 +01:00
cgreen rb 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᯥ<> <E1AFA5> <EFBFBD>
cblue rb 1 ; <20> ࠭<EFBFBD> <E0A0AD> ᨭ<> <E1A8AD> ᯥ<> <E1AFA5> <EFBFBD>
calpha rb 1 ; <20> ࠭<EFBFBD> <E0A0AD> <20> <EFBFBD> <E0AEA7> 筮<EFBFBD> <E7ADAE> <EFBFBD>
pnext rd 1 ; <20> <> <EFBFBD> <EFBFBD> 稪 <20> <> ४<EFBFBD> <E0A5AA> 祭<EFBFBD> <E7A5AD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
renmode rd 1 ; ० <> <E0A5A6> <20> <> <EFBFBD> <EFBFBD> ᮢ<EFBFBD> <E1AEA2> (1-梥⮢<E6A2A5> <E2AEA2> <20> 奬<EFBFBD> ,2-<2D> <> <EFBFBD> <EFBFBD> ⪠,3-<2D> <> 㣮<EFBFBD> <E3A3AE> <EFBFBD> )
params rb 20 ; <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ࠬ<EFBFBD> <E0A0AC>
params_c rb 9 ; <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> 梥<> <E6A2A5>
2021-12-26 01:49:38 +01:00
bgimg_buf rd 1 ; buffer for a generated image
icons18 dd ? ; pointer to a shared memory of icons18.png
icons18bg dd ? ; pointer to a shared memory of icons18.png with filled bg
2021-12-25 23:13:48 +01:00
rd 1024
stacktop:
sys_path rb 1024
I_MEM: