Creating Gadgets?

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Creating Gadgets?

Post by Xombie »

Howdy,

I'd like to try this out with creating PB compatible gadgets. Is there an example or small tutorial on how to do it?

Thanks for all the hard work!
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

ABBKlaus wrote:
Mistrel wrote:Tailbite is also missing the TB helper library for creating gadgets, the TB_GadgetExtension.res file, and the example described in the Tailbite documentation.
They where removed because they won´t work in all PureBasic Versions and i cannot guarantee that they work in future versions of PB.
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Your link to the source in the post is dead.
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post by Xombie »

Interesting code, Progi. I'll definitely dig through that later.

Another question - how can I load information from a resource file? I have cursors that I use from a resource file.
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 »

Here: http://www.purebasic.fr/english/viewtop ... 940#140940
is an old code for creating gadgets in PB4 +

i think, you can't put res in a userlib.
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
Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post by Xombie »

Is it possible somehow with a DataSection? Maybe even some way other than using residents?
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 think, the best way is, the programm, using your gadgets, imports the *.res
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
Post Reply