[Apps/Calcplus] A little bit more code polishing
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 27s
Build system / Build (pull_request) Failing after 3m5s

This commit is contained in:
2025-04-14 19:17:28 +03:00
parent 781f7b0bbb
commit 1508ac302a

View File

@@ -189,7 +189,6 @@ ev_button:
m2m [edb1.shift], [edb1.pos] m2m [edb1.shift], [edb1.pos]
jmp .redraw jmp .redraw
.not_del: .not_del:
; CALCULATE ; CALCULATE
@@ -454,7 +453,6 @@ proc draw_textbox
@@: @@:
invoke editbox.draw, edb1 invoke editbox.draw, edb1
ret ret
endp endp
@@ -635,7 +633,6 @@ proc str_len uses ebx, str
jmp @b jmp @b
@@: @@:
ret ret
endp endp
@@ -666,7 +663,7 @@ endp
if lang eq ru_RU if lang eq ru_RU
engineering_str cp866 "Инженерный режим" engineering_str cp866 "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <><E0A5A6>"
engineering_len = $ - engineering_str engineering_len = $ - engineering_str
else if lang eq es_ES else if lang eq es_ES
@@ -690,7 +687,15 @@ f70_calc:
dd 0 dd 0
db '/sys/calc', 0 db '/sys/calc', 0
; system colors internal
scn:
.gui_tb_in_shd dd 0x00CED0D0
.gui_face dd 0x00FAF8FA
.gui_text dd 0x10373C42
.gui_intext dd 0x005F5F5F
.gui_select dd 0x00C7C9C9
; ====================================================================
I_END: I_END:
@@ -718,15 +723,6 @@ txt_size rd 1
history rb 512 * LIST_ITEM_COUNT history rb 512 * LIST_ITEM_COUNT
rb 512 rb 512
struc system_colors_internal {
.gui_tb_in_shd dd 0x00CED0D0
.gui_face dd 0x00FAF8FA
.gui_text dd 0x10373C42
.gui_intext dd 0x005F5F5F
.gui_select dd 0x00C7C9C9
}
scn system_colors_internal
sc system_colors sc system_colors
MEM: MEM: