Recent

Author Topic: BGRA Controls  (Read 222305 times)

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: BGRA Controls
« Reply #465 on: May 26, 2022, 09:28:29 pm »
Hi

I have ben developing an Expanding Button control v0.1.18 Alpha, based on BCButton, It is in Alpha stage, so hopefully some people can test it out and report back any issues or improvement suggestion.
it allows you to supply via a csv string, the captions, hints and anwers for various buttons that will appear in a panel when you click the button/ or rollover the button. the panel can look like a callout bubble, you can specify left,riggh alignment.... lots of other parameters.

If you install the package it will appear in the BGRA Buttons package.

https://github.com/josh65github/BGRACONTROLS-Expanding-Buttons/releases/tag/V0.1.18A

video
https://github.com/josh65github/BGRACONTROLS-Expanding-Buttons/blob/main/Vids/exp_but.mp4

Picture attached is of the Example 3 project, included in the package.
« Last Edit: May 26, 2022, 09:36:27 pm by Josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: BGRA Controls
« Reply #466 on: May 27, 2022, 05:40:58 pm »
I quite like the triangular shape that joins the bubble to the button.  :)
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #467 on: May 27, 2022, 10:48:49 pm »
Please test on macos and linux, if I remember well the panel transparency was working only under Windows.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: BGRA Controls
« Reply #468 on: May 28, 2022, 07:58:42 pm »
Indeed, transparency doesn't work on MacOS:
Conscience is the debugger of the mind

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: BGRA Controls
« Reply #469 on: May 28, 2022, 10:38:47 pm »
Hi

It captures the image underneath the panel, then copies it to the panel canvas, maybe MacOs does not like the copyscreen routine?.

Lubuntu seems ok.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: BGRA Controls
« Reply #470 on: May 28, 2022, 11:47:02 pm »
Oh in fact, it is not transparent, but the content copied. That solves the problem of transparency indeed.

So, I come to the same conclusion, that on MacOS, the part the copies the background is not doing so.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #471 on: May 29, 2022, 03:29:25 am »
We can publish this control with bgracontrols Josh?

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: BGRA Controls
« Reply #472 on: May 29, 2022, 09:08:20 am »
I've added (on dev) a property "TargetRasterImageList" to the TBGRASVGImageList to automatically populate a TImageList. Whenever the size or the items are modified, the target list is updated, which can be used at design time for controls using the raster image list.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #473 on: May 30, 2022, 11:10:04 pm »
New release BGRAControls v7.5
-Fix TabStop setting it to false in object inspector
-Update bctrackbarupdown.pas
-avoid hint
-populate ImageList automatically
-clearing raster imagelist, avoid rasterize on loading
-TBCMaterialProgressBarMarquee

Josh please add your controls in dev-bgracontrols branch if you wish, add the examples in the examples folder, so we can make another release with your controls.
« Last Edit: May 30, 2022, 11:11:53 pm by lainz »

AFFRIZA 亜風実

  • Full Member
  • ***
  • Posts: 144
Re: BGRA Controls
« Reply #474 on: May 31, 2022, 04:47:36 am »
Hello, everyone. I am using BC 7.4, seems rounding on BCPanel doesn't work as expected but BCButton works fine. Also, when I assigned a style macos-highsierra.bcpnl, the width and height always 0, I can't modify them. Sorry for my bad English.
« Last Edit: May 31, 2022, 04:49:32 am by Dio Affriza »
Kyoukai Framework: https://github.com/afuriza/kyoukai_framework

Dukung kemerdekaan Donetsk dan Lugansk! Tidak membalas profil berbendera biru-kuning apalagi ber-Bandera.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: BGRA Controls
« Reply #475 on: June 05, 2022, 09:31:36 am »
I've tried TBCMaterialProgressBarMarquee. That works well on MacOS. An interesting way of showing progression when we don't know how much time it is going to take.  :)
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #476 on: June 12, 2022, 01:52:01 am »
I've tried TBCMaterialProgressBarMarquee. That works well on MacOS. An interesting way of showing progression when we don't know how much time it is going to take.  :)

Thanks. I did my best to keep much as posible as the Android progress bar animation.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #477 on: August 06, 2022, 04:43:20 pm »
BGRAControls v7.6

## What's Changed
* Dev bgracontrols by @lainz in https://github.com/bgrabitmap/bgracontrols/pull/131
**Full Changelog**: https://github.com/bgrabitmap/bgracontrols/compare/v7.5...v7.6

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #478 on: June 17, 2023, 06:00:22 pm »
New BGRAControls v7.7 (release made by @circular)
https://github.com/bgrabitmap/bgracontrols/releases/tag/v7.7
  • use new ** notation for scalar product of vectors
  • fix memory leak

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #479 on: November 29, 2023, 10:32:06 pm »
New BGRAControls v8.0
https://github.com/bgrabitmap/bgracontrols/releases/tag/v8.0

  • Added TBCCheckComboBox
  • Fixed showing of icons in the IDE (thanks to paweld)
  • Added bcpanel color property
  • A lot of improvements in TBGRAImageManipulaton (thanks to maxm74)
  • Added TCheckListBox theming demo


 

TinyPortal © 2005-2018