Recent

Author Topic: Analogue scissors windows  (Read 2909 times)

GetMem

  • Hero Member
  • *****
  • Posts: 3621
Re: Analogue scissors windows
« Reply #15 on: November 20, 2021, 07:59:04 pm »
@jamie
Quote
I was under the impression that he wanted a ROUND clipping view port ?
I will quote the OP:
Quote
I am trying to make an analog of windows scissors (Screenshot of part of the screen).
If I understood correctly, he would like to create an application similar to Window's SnippingTool(Win Key + Shift + S)

loaded

  • Sr. Member
  • ****
  • Posts: 430
Re: Analogue scissors windows
« Reply #16 on: November 20, 2021, 07:59:27 pm »
I made a few improvement + now the project is cross platform. Tested on Win10, Linux Mint 20.02. It works on macOS too, but instead of the form, you have to draw the bitmap to a TImage. If needed I can make the necessary adjustments for macOS.
Wow, good luck with your hands. It was very nice work.
Couldn't figure out why, but sometimes there is a black screen problem.
Still successful. In the meantime, crazy ideas came to my mind.
Automatic start at computer startup.
Ability to work with the "Print Screen" key.
Ability to save png
With a little brainstorming like location remembering, it would be great.
If Ide=Lazarus 2.0.10 32 Bit and Os=Win 10 Home 64 Bit then Get up and do something useful! Because God is the helper of those who start again;

GetMem

  • Hero Member
  • *****
  • Posts: 3621
Re: Analogue scissors windows
« Reply #17 on: November 20, 2021, 08:06:19 pm »
@loaded
Quote
Wow, good luck with your hands. It was very nice work.
Thanks.

Quote
Couldn't figure out why, but sometimes there is a black screen problem.
I fixed the black screen bug, please test attached project.

Quote
Automatic start at computer startup.
Ability to work with the "Print Screen" key.
Ability to save png
With a little brainstorming like location remembering, it would be great.
Yes, it can be implemented if needed.

loaded

  • Sr. Member
  • ****
  • Posts: 430
Re: Analogue scissors windows
« Reply #18 on: November 20, 2021, 08:22:37 pm »
Yes, the problem seems to be fixed. Congratulations.
We use the screen copy function a lot at work. If I can, I'll add my suggested ideas as I get the chance.
Thanks again.
If Ide=Lazarus 2.0.10 32 Bit and Os=Win 10 Home 64 Bit then Get up and do something useful! Because God is the helper of those who start again;

BIT

  • Full Member
  • ***
  • Posts: 126
Re: Analogue scissors windows
« Reply #19 on: November 23, 2021, 04:08:14 pm »
I made a few improvement + now the project is cross platform. Tested on Win10, Linux Mint 20.02. It works on macOS too, but instead of the form, you have to draw the bitmap to a TImage. If needed I can make the necessary adjustments for macOS.
Thanks!

 

TinyPortal © 2005-2018