GridGadget

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: GridGadget

Post by Polo »

Image

Loads of improvements on the Grid Gadget, added combo box and checkbox support.
Fixed quite a few things as well as improved the API, too!
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: GridGadget

Post by mk-soft »

File not found... :cry:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: GridGadget

Post by Polo »

mk-soft wrote:File not found... :cry:
Sorry the example might not be available anymore, you never know with those free hosting services :)
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: GridGadget

Post by Joris »

Polo wrote:
mk-soft wrote:File not found... :cry:
Sorry the example might not be available anymore, you never know with those free hosting services :)
Can someone post this file back please ?
(so that newbees don't have to reinvent all...)

Thanks.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: GridGadget

Post by Polo »

This was just an executable anyway :)
michel
Enthusiast
Enthusiast
Posts: 141
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

Re: GridGadget

Post by michel »

Hello Polo,

Do you intend to publish the code and when would it be possible ?

michel
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: GridGadget

Post by Polo »

No, the source code is commercial, sorry!
User avatar
jdooley
New User
New User
Posts: 3
Joined: Sun Jun 05, 2011 8:05 pm
Location: Switzerland
Contact:

Re: GridGadget

Post by jdooley »

Sorry to dig up an old thread, but I was just wondering where the story ends... Can one acquire this control kit now? Thanks.
"There is no passion to be found playing small - in settling for a life that is less than the one you are capable of living." - Nelson Mandela
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: GridGadget

Post by Polo »

I still haven't found a way to package it easily as a lib or dll without having to sell the source code I'm afraid!
Henry00
User
User
Posts: 88
Joined: Thu Jul 12, 2012 7:00 pm
Location: Germany
Contact:

Re: GridGadget

Post by Henry00 »

Polo wrote:I still haven't found a way to package it easily as a lib or dll without having to sell the source code I'm afraid!
Difference between a header and the source code. If you create an interface of important functions using ProcedureDLL : EndProcedureDLL you can use various pointers that need to be added to each call.

This is your secret source code:

Code: Select all

;
; GridGadget Source Example:
;
ProcedureDLL GridGadget(x, y, Width, Height)
    MessageRequester("GridGadget", "Noone knows what is happening here!")
    ...
    ; install secret bitcoin mining software.
    ...
    ProcedureReturn *result
EndProcedure
You would release this header together with the .dll and .obj (for simple importing) to the public:

Code: Select all

;
; GridGadget Header Example:
;
Import "GridGadget.obj"
    GridGadget(x, y, Width, Height, ...)
    SetGridGadgetText(*MyGridGadget, ...)
EndImport

#GRIDGADGET_UGLY = 0
#GRIDGADGET_DETAILED = 1
And the public can then begin using it without knowing about the bitcoin miner:

Code: Select all

;
; Random code by users:
;
IncludeFile "GridGadget.pb"

*MyGridGadget = GridGadget(x, y, Width, Height, #GRIDGADGET_DETAILED, ...)
SetGridGadgetText(*MyGridGadget, ...)
We would have all the procedures, important constants and be able to use the library while your product remains closed-source.
I would be very interested in this gadget too if you ever decide to release a library as the quality is outstanding and looks very impressive.

Edit:
Although I am pretty sure you are well aware of this already by looking at your post count and product =]
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: GridGadget

Post by Polo »

I don't mind selling the source but it's obviously at a high price considering the hundreds of hours I put into it!
The problem with doing what you described is that it does not work, as I use Purebasic canvas and it does not work properly when put into a DLL or library on OS X :(
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: GridGadget

Post by mk-soft »

Most of Gadget functions work only on main scope.

The best way is to draw and update owner gadget with canvas to use BindEvent and BindGadgetEvent...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: GridGadget

Post by es_91 »

I'm a bit sad 'cause it was inplicitly stated that the code could be sold for Windows... but it ain't?

...
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: GridGadget

Post by Polo »

es_91 wrote:I'm a bit sad 'cause it was inplicitly stated that the code could be sold for Windows... but it ain't?

...
I haven't had much time to work on it recently - the grid is used in the Purebasic IDE for the form designer properties panel to see an example in action (it's fully crossplatform, not just for Windows).
I did sell the source to one or two users who were interested.
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: GridGadget

Post by Rinzwind »

The way all grid gadgets of PB go... dodo vanished. About time PB includes a decent one out of the box instead of reinventing the wheel squarely every time.
Post Reply