Recent

Author Topic: BGRA Controls  (Read 241810 times)

lainz

  • Hero Member
  • *****
  • Posts: 4608
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #495 on: March 17, 2024, 12:22:50 pm »
New BGRAControls v9.0
https://github.com/bgrabitmap/bgracontrols/releases/tag/v9.0

Changelog:
- TBCMaterialDesignButton ClickMe
- New BGRAVirtualScreen test 'blur panels with shadows'
- Added custom drawn package back
- BCExpandedPanels (thanks to maxm74)
- Fix BCPaperPanel
- Keeps EOL in SVG Image List
- Added bcfluentprogressring by hedgehog
- ImageManipulation fixes

hedgehog

  • New Member
  • *
  • Posts: 48
Re: BGRA Controls
« Reply #496 on: May 03, 2024, 12:29:42 pm »
Hi all.

I have developed a small Slider component (like WinUI3 Slider).
Maybe someone is interested in this

bobby100

  • Sr. Member
  • ****
  • Posts: 260
    • Malzilla
Re: BGRA Controls
« Reply #497 on: May 03, 2024, 01:52:22 pm »
Hi all.

I have developed a small Slider component (like WinUI3 Slider).
Maybe someone is interested in this
Hi hedgehog, a nice one.
Could you specify a license to the component?
I would like to add some functions.

hedgehog

  • New Member
  • *
  • Posts: 48
Re: BGRA Controls
« Reply #498 on: May 03, 2024, 02:01:40 pm »
Hi

I'm not a license specialist)
Something like:
1) You can use it in any way you like, including in commercial projects.
2) If the source code is modified, leave a mention of the author, that is
   //  2024 by Hedgehog
   //  2025 by Bobby100

lainz

  • Hero Member
  • *****
  • Posts: 4608
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #499 on: May 03, 2024, 02:36:33 pm »
Hi all.

I have developed a small Slider component (like WinUI3 Slider).
Maybe someone is interested in this

hi, we can add it to bgracontrols

about license, maybe LGPL with linking exception, same as bgracontrols.

hedgehog

  • New Member
  • *
  • Posts: 48
Re: BGRA Controls
« Reply #500 on: May 03, 2024, 03:26:35 pm »
hi, we can add it to bgracontrols

Hi lainz.
If you decide to do this, then here are the icons for the component

bobby100

  • Sr. Member
  • ****
  • Posts: 260
    • Malzilla
Re: BGRA Controls
« Reply #501 on: May 04, 2024, 08:05:06 pm »
Hi

I'm not a license specialist)
Something like:
1) You can use it in any way you like, including in commercial projects.
2) If the source code is modified, leave a mention of the author, that is
   //  2024 by Hedgehog
   //  2025 by Bobby100
I am trying to add a caption containing the current value, but without luck. I can't set the font size for Bitmap.TextOut.
The next step would be a double-click on the slider, opening something like a TEdit to input the value from the keyboard.

lainz

  • Hero Member
  • *****
  • Posts: 4608
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #502 on: May 04, 2024, 08:09:24 pm »
hi, we can add it to bgracontrols

Hi lainz.
If you decide to do this, then here are the icons for the component

Thanks.

I will do it when I have time and will to do it. Thanks for your contribution is very appreciated.

hedgehog

  • New Member
  • *
  • Posts: 48
Re: BGRA Controls
« Reply #503 on: May 05, 2024, 08:57:35 am »
I am trying to add a caption containing the current value, but without luck. I can't set the font size for Bitmap.TextOut.
The next step would be a double-click on the slider, opening something like a TEdit to input the value from the keyboard.

Hi, Bobby

I have published the DblClick property.

And also added two new properties:
Code: Pascal  [Select][+][-]
  1.   public
  2.     property ThumbPosition: TPoint read GetThumbPosition;
  3.     property ThumbRadius: integer read GetThumbRadius;  
  4.  

Here's what I got

lainz

  • Hero Member
  • *****
  • Posts: 4608
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #504 on: May 05, 2024, 03:54:45 pm »
New release:
https://github.com/bgrabitmap/bgracontrols/releases/tag/v9.0.1

News
- Added slider component by hedgehog
- Added icons for slider and progress ring (by hedgehog)

petevick

  • Sr. Member
  • ****
  • Posts: 419
Re: BGRA Controls
« Reply #505 on: May 05, 2024, 08:57:48 pm »
The new slider component doesn't display well in Linux as can be seen in the attached GIF
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Windows 10, Lazarus 3.2, FPC 3.2.2

lainz

  • Hero Member
  • *****
  • Posts: 4608
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #506 on: May 06, 2024, 12:22:27 am »
The new slider component doesn't display well in Linux as can be seen in the attached GIF

Hi, I fixed it in dev-bgracontrols. Please test and say if it works for you. I tested on Linux Mint 32 bit-
https://github.com/bgrabitmap/bgracontrols/tree/dev-bgracontrols

If you dont' want to download all again, just modify this line:
https://github.com/bgrabitmap/bgracontrols/commit/b76022db1492fca81bcdae786dc8f4012084d078
« Last Edit: May 06, 2024, 12:24:24 am by lainz »

petevick

  • Sr. Member
  • ****
  • Posts: 419
Re: BGRA Controls
« Reply #507 on: May 06, 2024, 09:58:57 am »
The new slider component doesn't display well in Linux as can be seen in the attached GIF

Hi, I fixed it in dev-bgracontrols. Please test and say if it works for you. I tested on Linux Mint 32 bit-
https://github.com/bgrabitmap/bgracontrols/tree/dev-bgracontrols

If you dont' want to download all again, just modify this line:
https://github.com/bgrabitmap/bgracontrols/commit/b76022db1492fca81bcdae786dc8f4012084d078
I don't have a bcfluentslider.pas, I do have a bcfluentprogressring.pas, but the RedrawBitmapContent procedure is nothing like the one in bcfluentslider.pas. I installed bgracontrols 9.0 from the Online Package Manager.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Windows 10, Lazarus 3.2, FPC 3.2.2

lainz

  • Hero Member
  • *****
  • Posts: 4608
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #508 on: May 06, 2024, 02:33:43 pm »
The new slider component doesn't display well in Linux as can be seen in the attached GIF

Hi, I fixed it in dev-bgracontrols. Please test and say if it works for you. I tested on Linux Mint 32 bit-
https://github.com/bgrabitmap/bgracontrols/tree/dev-bgracontrols

If you dont' want to download all again, just modify this line:
https://github.com/bgrabitmap/bgracontrols/commit/b76022db1492fca81bcdae786dc8f4012084d078
I don't have a bcfluentslider.pas, I do have a bcfluentprogressring.pas, but the RedrawBitmapContent procedure is nothing like the one in bcfluentslider.pas. I installed bgracontrols 9.0 from the Online Package Manager.

So youy downloaded the demo project only? In the demo project there's the file...

petevick

  • Sr. Member
  • ****
  • Posts: 419
Re: BGRA Controls
« Reply #509 on: May 06, 2024, 03:18:34 pm »

So youy downloaded the demo project only? In the demo project there's the file...
Ah, didn't think about that  :D and yes, that works just fine.  8)
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Windows 10, Lazarus 3.2, FPC 3.2.2

 

TinyPortal © 2005-2018