[Apps/Magnify] Codebase, logic and display rework #194
Reference in New Issue
Block a user
No description provided.
Delete Branch "magnify-show-grid"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
now it is similar to Pipet (Burer);
Based on the screenshot, it’s not very clear to me what it fixes. Could you describe what has changed?
If I understand correct, Leency just added display of visual grid between magnified pixels (previously, the program did not display grid).
Also, he mentioned some improvements that can be done in this program. I will commit them later, so let's keep this PR WIP for now.
magnify: just show gridto WIP: [Apps/Magnify] Just show gridThis is WIP
Now Magnify has better display with higher "FPS" and refactored codebase.
Magnification algorithm works similar to Pipet.
WIP: [Apps/Magnify] Just show gridto [Apps/Magnify] Codebase, logic and display rework@@ -3,2 +2,3 @@
;
; Version for KolibriOS 2005-2011
; Magnify - Screen Magnifier
; Copyright (C) 2005-2025 MenuetOS, KolibriOS team
Please correct to:
It is preferable to have most current Copyright details first, with older notices last.
@ace-dent
Please justify. For example, here I see that this is not so https://github.com/ARM-software/u-boot/blob/master/include/clk.h
I corrected to first variant.
Can correct to second, if community decide on this.
@@ -157,0 +230,4 @@
align 512
STACKTOP:
WIN_INFO rb 1024
it's not a constant. Let's not use upper case.
Also, the name does not at all reflect what this structure is for.
What is your proposition for name here?
Return it to
procinfo
, as this label is used for app proc_info?Yes, the old label name seems better.
@@ -44,1 +45,3 @@
jmp wtevent
mcall SF_WAIT_EVENT_TIMEOUT, DELAY
cmp eax, 1
you can put constants EV_REDRAW, EV_BUTTON,
EV_MOUSE
@@ -81,2 +106,2 @@
inc eax
mov [size_x], eax
mcall SF_THREAD_INFO, procinfo, -1
mov al, byte [procinfo + 70]
mov al, byte [procinfo + process_information.wnd_state]
or
mov al, byte [procinfo.wnd_state]
@@ -157,0 +231,4 @@
align 512
STACKTOP:
procinfo rb 1024
procinfo process_information
@@ -1,156 +1,234 @@
;---------------------------------------------------------------------
; MAGNIFY SCREEN v1.0
; SPDX-License-Identifier: GPL-2.0-only
If this code has been rewritten, are you sure it should be GPL2? Was it licensed before?
Where the license is unknown, it should be marked as
NOASSERTION
, until determined by the authors and/or copyright holders, or other sources. Do not mark the file as GPL without absolute certainty.This program is over 19 years old and I haven't been able to find the source code anywhere else. I am absolutely sure that this program was written specifically for KolibriOS in the days when KolibriOS was still called MenuetRE. Hence the copyright text.
The fact that you suggest inserting this stub leads the source code into an incomprehensible state.
@@ -22,3 +7,1 @@
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
include '..\..\..\macros.inc'
delay equ 20
; Contributor MenuetOS - Main code
Please delete this information. It is in the history of changes. In addition, if you look at the file history, there are clearly not enough contributors.
[Apps/Magnify] Codebase, logic and display reworkto WIP: [Apps/Magnify] Codebase, logic and display reworkNew commits pushed, approval review dismissed automatically according to repository settings
@@ -32,0 +26,4 @@
;---------------------------------------------------------------------
START:
mcall SF_SET_EVENTS_MASK, 0x00000027
the constants for event flags are in macros.inc.
И зачем тут сетевые события, а?delete dir "trunk" and change bitmask for events.
Done. Hope I didn't break anything.
@@ -0,0 +67,4 @@
mcall SF_MOUSE_GET, SSF_BUTTON
test ax, 0x0001
jz .move
jmp still
not a very successful sequence of commands
New commits pushed, approval review dismissed automatically according to repository settings
WIP: [Apps/Magnify] Codebase, logic and display reworkto [Apps/Magnify] Codebase, logic and display rework87dacf1193
to9328b1d79a
New commits pushed, approval review dismissed automatically according to repository settings
9328b1d79a
toda1c067d66
fcaba668e4
to8cbed751a3
8cbed751a3
to4550e15838