Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A little demo for camera and zoomer on image
#2
+1... but I would suggest looking into using hardware acceleration for the mouse movement. It's too laggy as is. By keeping the original image on a screen and copying the window image, you can then use hardware acceleration to _putimage at the new coordinates. Now this app uses 36% CPU on my resource poor little laptop system. Looping apps without _limit, especially when hardware acceleration is involved, should have a system idle routine employed.

This reminded me of a time before hardware acceleration was available. I made a window that could be moved in a graphics gui app but even with my best efforts of optimization, I could not move the mouse, without experiencing lag, as quickly as I could in similar Windows applications.

Pete

PS I do like the color scheme. I have a similar one, as I like the yellow for remarks, but I don't do pink are any different color for numbers.
Reply


Messages In This Thread
RE: A little demo for camera and zoomer on image - by Pete - 03-13-2025, 07:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WinAPI Mouse Demo Pete 0 196 12-20-2025, 06:40 PM
Last Post: Pete
  NEW IMAGE CONVERTOR FOR THE COMMANDER X16 Platform ahenry3068 0 246 11-30-2025, 02:08 PM
Last Post: ahenry3068
Photo symmetric craziness out of one image hsiangch_ong 1 310 11-07-2025, 09:35 PM
Last Post: bplus
  Hyperlink Demo in SCREEN 0 Pete 2 389 11-02-2025, 07:13 PM
Last Post: madscijr
  pan around a large image for video creation hsiangch_ong 0 517 01-09-2025, 01:32 AM
Last Post: hsiangch_ong

Forum Jump:


Users browsing this thread: 1 Guest(s)