Page 1 of 4

gDesign - editor plugin v0.95

Posted: Sat May 27, 2006 8:01 pm
by Mischa
You know old gDesign is dead, but..
gDesign starts again.

The concept is new:
With g. you can directly manipulate your source.
Just mark the line with OpenWindow() and start the plugin.

Now you can edit your gadgets visual and save the result
back in the source.

At this time only existing gadgets can be manipulate and
position and size only are editable.

(But who knows what can be done..)

Download:
http://www.thinkrelative.de/gdesign.zip

Please test it and report bugs (i hope not) and feedback.
(..and make backups of your sources before testing)

Regards,
Mischa

Posted: Sat May 27, 2006 8:25 pm
by josku_x
nice work mischa! I hope you get it done soon.

Re: gDesign - newborn (..as editor plugin)

Posted: Sat May 27, 2006 10:36 pm
by chen
Mischa wrote:You know old gDesign is dead, but..
gDesign starts again.



At this time only existing gadgets can be manipulate and
position and size only are editable.

(But who knows what can be done..)
Great.... it complements the tools I have... I know menu, toolbar and status
bar are placeholders... do you have in mind do something abou this?

My Complain :wink:
Is it possible dont lock JaPBe when gDesign is Open?...
Maybe I need to add another gadget... with gDesign open and reset
gDesign and Voíla my new gadget appears... then I only resize my
new Gadget and look for its adecuate position..

Thanks Great Tool...:idea::idea:

Posted: Sat May 27, 2006 10:52 pm
by chen
Mischa:

Your manual says "Variables will be ignored or replaced with "0"."

This means if I have windows and gadgets with #PB_Any is
not possible for gDesign to be concious of. Is it? :roll:

Update

It does work with #PB_Any...


The manual says "gDesign begins gadget parsing at actual cursor position"

this means that we need to have the cursor before the first "OpenWindow()."
if not we get a message "No OpenWindow(). found" .... only making a remark :wink:

Posted: Sat May 27, 2006 11:23 pm
by chen
Mischa,

I tested you gDesign with a real application.....

When I modify one gadget (StringGadget... width) it changes
parameters in other gadgets... delete parameters (Hyperlink) and
remove (") in textGadget....making my application crash...

If I have some time I'll do some other tests.....

Update 28-May-2006

My application has more than 60 gadgets.... and when I modify the size
or position it makes the correct changes... but affect this Gadgets:

Code: Select all

Original: HyperLinkGadget(#hlink_kaizen, 15, 50, 135, 20, "http://www.kaizensoft.com", RGB(0, 0,0))

gDesign Output: HyperLinkGadget(#hlink_kaizen, 15, 50, 135, 20, "http://www.kaizensoft.com", RGB(0,  0) : one parameter, one parenthesis missing

Original: TextGadget(#Text_14, 18, 3, 500, 15, "To Edit your file,  click on it")

gDesign Outpup: TextGadget(#Text_14, 18, 3, 500, 15, "To Edit your file,  click on it) : closing double quotes missing
Goog Luck
I tested several times and always affects those two Gadgets

I correct them manualy... and my app works again with the changes
made by gDesign... Hope you can detect whats heppenig[/code]

Posted: Sun May 28, 2006 12:07 pm
by Mischa
Sorry!

I meant 'actual Line' not cursor position.

The parser is very bad at this time.
I'm working on a better way. Will be ready in 2-4 days. :wink:

Regards,
Mischa

Posted: Sun May 28, 2006 10:43 pm
by Mischa
Update:

-bugfix: negative input now possible
-bugfix: parsing fixed and improved

Donload:
http://www.thinkrelative.de/gdesign.zip


Regards,
Mischa

Posted: Mon May 29, 2006 12:41 am
by chen
Mischa wrote:Update:

-bugfix: negative input now possible
-bugfix: parsing fixed and improved

Donload:
http://www.thinkrelative.de/gdesign.zip
Tested and working....

This is the tool I need... no more GUIs...
and Im sure you are coming out with usuful surprises :wink:

Hope you keep this application for a long time(years).....

Thanks... Mischa

Posted: Mon May 29, 2006 12:07 pm
by Inner
Brilliant, one of those tools that makes you think.. "Why didn't I think of that!"

Posted: Mon May 29, 2006 5:57 pm
by blueznl
well, i actually WAS thinking of that...

but who believes me?!? :-(

:-)

Posted: Mon May 29, 2006 6:20 pm
by thefool
I do :) (you mentioned this a lot earlier than this thread).

and nice work, Mischa

Posted: Mon May 29, 2006 7:21 pm
by benny
Had a quick look at it - looks great and seems to become very handy :!:

Thx Mischa ...

Posted: Mon May 29, 2006 11:07 pm
by ABBKlaus
great tool :wink:
just a note : when in UTF-8 mode the Header is destroyed

Code: Select all

; gPreferences[462-5-1-1]
*Buffer = AllocateMemory(7812)
UTF-8 Header is $EF $BB $BF

Posted: Tue May 30, 2006 1:52 am
by Amundo
Thanks Mischa,

Very groovy!

Posted: Tue May 30, 2006 12:50 pm
by Berikco
blueznl wrote:well, i actually WAS thinking of that...

but who believes me?!? :-(

:-)
I believe you ;)

BTW, a tool like this was coded about 3 years ago by Cr0wn, a user from holland. Your not that guy??