PureCOLOR library : coloring gadgets (and much more)
Moderator: gnozal
- DoubleDutch
- Addict
- Posts: 3219
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: PureCOLOR library : coloring gadgets (and much more)
Hopefully 5.20 versions of his libs will be available soon.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: PureCOLOR library : coloring gadgets (and much more)
I have used PureCOLOR in the past successfully, however presently I'm trying to use the correct version with PB 4.60, and am getting a PO Linker error upon compile. Any advice or guidance?
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: PureCOLOR library : coloring gadgets (and much more)
I'm sure we can help but we need to know the exact POLINK error reported. Usually it is either because the lib version does not match the PB version or the sub-system has not been input (e.g. UserLibUnicodeThreadSafe) or that subsystem is incompatible with another PB setting.
Note that PB5.xx has a little bit more colouring ability, it might already cover your requirements without needing a 3rd Party Lib.
Note that PB5.xx has a little bit more colouring ability, it might already cover your requirements without needing a 3rd Party Lib.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: PureCOLOR library : coloring gadgets (and much more)
The error message is :"Unresolved external symbol: _PB_StringBasePosition" and it is in fact only occurring when I have Threadsafe Executable mode enabled (which I need for my program). I may try moving it over to the latest PB version.. I've just stuck with 4.60 so far because I've tested fully under it, and didn't want to take the chance something is different/broken under 5.2 that I don't realize, and someone else discovers for me later on down the line.IdeasVacuum wrote:I'm sure we can help but we need to know the exact POLINK error reported. Usually it is either because the lib version does not match the PB version or the sub-system has not been input (e.g. UserLibUnicodeThreadSafe) or that subsystem is incompatible with another PB setting.
Note that PB5.xx has a little bit more colouring ability, it might already cover your requirements without needing a 3rd Party Lib.
EDIT: Enabling the UserLibThreadSafe setting in the PB IDE compiler options did the trick and suppressed the error message successfully. I am still expeiencing a minor quirk where an enlarged font on a ButtonGadget is not properly vertically centered on the gadget when using PureCOLOR, but there is probably a solution to this too...
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: PureCOLOR library : coloring gadgets (and much more)
Well, possibly the best work-around for the button is to use a ButtonImageGadget().
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: PureCOLOR library : coloring gadgets (and much more)
That may in fact still be the most viable option, since PB 5.2 still does not natively provide for easily colouring ButtonGadgets, and the PureCOLOR library has the quirk that I mentioned regarding vertical misplacement of larger-font text. It seems to assume that the default system font will always be used, and decides the Y-coordinate based on that value, without being able to check whether a different, larger font has been brought into play. The #SS_CENTERIMAGE flag doesn't help or behave as expected in this scenario either.IdeasVacuum wrote:Well, possibly the best work-around for the button is to use a ButtonImageGadget().
Using a ButtonImageGadget to simulate coloured text is probably indeed the easiest approach, though a little cumbersome in instances where the displayed text needs to change back and forth between a few variants.
Re: PureCOLOR library : coloring gadgets (and much more)
Hi, I have a little problem with Explorergadget..
I have a PureCOLOR_SetCellColorCallback(Window, @MyCellColorCallback()) to chenge listicon colors, fonts.. and work verywell.
But the explorergadget no change the font because is influded by PureCOLOR_SetCellColorCallback(Window, @MyCellColorCallback())..
Is this a bug, or only happend to me?. Can helpme?
Thanks for the library Gnozal, is really fantastic!
I have a PureCOLOR_SetCellColorCallback(Window, @MyCellColorCallback()) to chenge listicon colors, fonts.. and work verywell.
But the explorergadget no change the font because is influded by PureCOLOR_SetCellColorCallback(Window, @MyCellColorCallback())..
Is this a bug, or only happend to me?. Can helpme?
Thanks for the library Gnozal, is really fantastic!
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: PureCOLOR library : coloring gadgets (and much more)
The website is down. Is anybody can upload Pure Color? Thank
➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti
Sorry for my bad english and the Dunning–Kruger effect.
Re: PureCOLOR library : coloring gadgets (and much more)
Archiv Search Done :
PureColor PB 3.94
PureColor PB 4.60
PureColor PB 5.00
And Gnozal-like : all x86. other versions are not avaible at my archiv.
Edit: Links Changed to RSBasic Backup Site
PureColor PB 3.94
PureColor PB 4.60
PureColor PB 5.00
And Gnozal-like : all x86. other versions are not avaible at my archiv.
Edit: Links Changed to RSBasic Backup Site
Last edited by Bisonte on Wed May 04, 2016 9:30 am, edited 1 time in total.
Re: PureCOLOR library : coloring gadgets (and much more)
Thanks for your help bisonte
➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti
Sorry for my bad english and the Dunning–Kruger effect.
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: PureCOLOR library : coloring gadgets (and much more)
The website is probably down because Gnozal is no longer supporting his libs (Generally not working with latest version PB)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: PureCOLOR library : coloring gadgets (and much more)
Further versions can be found on RSBasic's backup page.
Two growing code-collections: WinApi-Lib by RSBasic ~ LinuxAPI-Lib by Omi
Missing a download-file on the forums? ~ check out this backup page.
Missing a download-file on the forums? ~ check out this backup page.
Re: PureCOLOR library : coloring gadgets (and much more)
http://gnozal.ucoz.com/IdeasVacuum wrote:The website is probably down because Gnozal is no longer supporting his libs
No comment ...Website blocked
Blocking reason: Malware
Download-Link: http://gnozal.ucoz.com/PureLVSORT_510.zip
Antivirus-Result: Malware.QVM17.Gen
If you are the owner of the website, you may contact the uCoz Support Team via the Control Panel of your website to find out the details.
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: PureCOLOR library : coloring gadgets (and much more)
Hi, Purecolor work correct with PB 5.31? or what is the latest version of PB under purecolor work correct?
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: PureCOLOR library : coloring gadgets (and much more)
I believe the most recent version of PB supported by PureColor was 5.10 32bit.
There seems very little point in using it now. Some of the capability of PureColor is now in PB, there are work-arounds for the rest on the forum. Perhaps the most obvious is colouring buttons, but you can use a ButtonImageGadget() instead.
There seems very little point in using it now. Some of the capability of PureColor is now in PB, there are work-arounds for the rest on the forum. Perhaps the most obvious is colouring buttons, but you can use a ButtonImageGadget() instead.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.