Page 1 of 3
ThumbListGadget lib [Update 18.08.08]
Posted: Fri Apr 18, 2008 8:06 am
by nicolaus
Hello all,
OK after the previews now here is the lib.
For more informations take a look into the help file
The lib is for PB 4.20
-----------------------------------------------------------------
[UPDATE] 18.08.2008
New functions and now a setup file what install the lib to PureBasic (select the path to your PureBasic installation)
For all where use the PB-IDE take a look into the help file if you want compile threadsafe
Download:
ThumbListGadget installer
[UPDATE] 23.04.20008
Fixed: the size of the images are now ok.
Fixed: bug with TLG_SetItemColor(). now the new color draws right.
Fixed: bug in the drawing functions of ThumbListGadget lib
-----------------------------------------------------------------
And here again a Screenshot
Hope you like it.
regards,
Nico
Posted: Fri Apr 18, 2008 8:25 am
by ts-soft
sry, i have only errors in your examples:
First is:
---------------------------
PureBasic
---------------------------
Zeile 26: TLG_CreatGadget(): Incorrect number of parameters.
---------------------------
OK
---------------------------
After adding the last parameter (i use 0 for this) comes a invalid memory
also i think the Subsystems a incorrect?
greetings
Thomas
(WinXP SP2)
Posted: Fri Apr 18, 2008 8:31 am
by nicolaus
Sorry my issuse, i make a new zip in the next houre and upload it. But if you test it with threadsafe it run´s ok i think.
Nico
Posted: Fri Apr 18, 2008 8:37 am
by ts-soft
nicolaus wrote:But if you test it with threadsafe it run´s ok i think.
---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Unresolved external symbol '_PB_StringBasePosition'.
POLINK: fatal error: 1 unresolved external(s).
---------------------------
OK
---------------------------
Check your files for subsystem, in the moment nothing run, but i think you
solve this problems. The Preview looks good
Thomas
Posted: Fri Apr 18, 2008 8:39 am
by nicolaus
@ts-soft
What for a PB version u use?
the lib is momently for PB 4.20 beta 4
Posted: Fri Apr 18, 2008 8:52 am
by ts-soft
I use PB 4.20 beta 4
I have loaded the new version? and it works, but the Subsystem "PureLibraries" is false!
Thomas
Posted: Fri Apr 18, 2008 9:13 am
by nicolaus
ts-soft wrote:I use PB 4.20 beta 4
I have loaded the new version? and it works, but the Subsystem "PureLibraries" is false!
Thomas
Fixed, i have upload a new zip with the right path for subsystem.
Thanks ts-soft for this tip.
Posted: Fri Apr 18, 2008 9:51 am
by Trond
Now that was buggy.
Some thumbnails goes outside their square, either on the bottom or on the right side.
Some thumbnails are stretched to the wrong proportions. (Even square ones.)
If the thumbnail isn't stretched to the wrong propertions then the preview is.
There is no canceling of previews, so if I move the cursor quickly over one image and rests it over another, I have to wait for the first preview to appear and disappear before the second one shows up.
Some pictures are stretched to be too big for their preview windows, so that they overdraw the preview border and then are clipped.
Some previews appear partially off screen.
Flickers really bad on resize.
My cursor moves jaggedly over the gadget.
No space under the last items.
TLG_CreatGadget(): It's spelled Create.
Changing the size of the items doesn't reload them, only scales the old thumbnails up, which gives a blurry appearance.
The text doesn't use ClearType even if that is selected in the control panel.
The gadget can be resized horizontally so that some image boxes are partially cut off.
Selecting an item while the gadget is still loading items made it crash.
With threadsafe it still doesn't compile.
TLG_SetItemColor() doesn't do anything and also has the wrong statusbar hint in the IDE.
With bigger item text sizes the text is cut off at the bottom.
Posted: Fri Apr 18, 2008 10:21 am
by DoubleDutch
It does look *very* nice though.

Posted: Fri Apr 18, 2008 10:59 am
by Fangbeast
Certainly does at that. And for a first effort, pretty damned good. I'm sure the kinks will be worked out in time.
Trond, I am almost afraid to ask you this question but...where were you when I was designing my Address Book software? I could have used that level of pulling apart (LOL).
As it is, I cannot get any of the 6,000 who downloaded it to say anything!!
@nicolaus What is the license on this lib? It's giving me ideas to use for future projects.
Posted: Fri Apr 18, 2008 11:14 am
by Trond
DoubleDutch wrote:It does look *very* nice though.

The screenshot looks nice, but on a lot of my pictures, it sadly doesn't look so perfect. (Probably not too hard to fix.)
Posted: Fri Apr 18, 2008 12:27 pm
by walker
as I'm working almost on Linux... will there be a Linux Version?
or did you use much API? (may you release the source?)
Posted: Fri Apr 18, 2008 6:22 pm
by kawasaki
Very nice work indeed... Good job!

Posted: Sat Apr 19, 2008 4:08 am
by nicolaus
walker wrote:as I'm working almost on Linux... will there be a Linux Version?
or did you use much API? (may you release the source?)
Well momently it is only a Windows version and it use about 80% of Win API.
If i have a stable version for windows, i take a look for a linux version.
Posted: Sat Apr 19, 2008 4:11 am
by nicolaus
Trond wrote:Now that was buggy.
Some thumbnails goes outside their square, either on the bottom or on the right side.
Some thumbnails are stretched to the wrong proportions. (Even square ones.)
If the thumbnail isn't stretched to the wrong propertions then the preview is.
There is no canceling of previews, so if I move the cursor quickly over one image and rests it over another, I have to wait for the first preview to appear and disappear before the second one shows up.
Some pictures are stretched to be too big for their preview windows, so that they overdraw the preview border and then are clipped.
Some previews appear partially off screen.
Flickers really bad on resize.
My cursor moves jaggedly over the gadget.
No space under the last items.
TLG_CreatGadget(): It's spelled Create.
Changing the size of the items doesn't reload them, only scales the old thumbnails up, which gives a blurry appearance.
The text doesn't use ClearType even if that is selected in the control panel.
The gadget can be resized horizontally so that some image boxes are partially cut off.
Selecting an item while the gadget is still loading items made it crash.
With threadsafe it still doesn't compile.
TLG_SetItemColor() doesn't do anything and also has the wrong statusbar hint in the IDE.
With bigger item text sizes the text is cut off at the bottom.
Please can you make screenshots so that i can see what you mean?
Thanks,
Nico