ThumbListGadget lib [Update 18.08.08]

Developed or developing a new product in PureBasic? Tell the world about it.
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

ThumbListGadget lib [Update 18.08.08]

Post 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
Image

Hope you like it.

regards,
Nico
Last edited by nicolaus on Tue Aug 19, 2008 9:27 am, edited 6 times in total.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post 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)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post 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
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post 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
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

@ts-soft

What for a PB version u use?
the lib is momently for PB 4.20 beta 4
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post 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
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post 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.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post 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.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

It does look *very* nice though. ;)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post 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.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post 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.)
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post 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?)
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

Very nice work indeed... Good job! :)
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post 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.
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post 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
Post Reply