Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Show debugging information on hover

<< < (3/6) > >>

oBFusCATed:
Morten: here I've mirrored it: http://smrt.is-a-geek.org/codeblocks/DebugViz.rar (don't blame me if your computer dies in fire!)

shirsoft:

--- Quote from: oBFusCATed on May 06, 2010, 05:39:40 pm ---Can the user edit the value of variables (like in VS)?

--- End quote ---

Yes it can. Basically the control displays a textbox when ever the values are editable.
It doesn't do any validation. Ideally I would have an observer pattern which notifies the
'datamodel' to do the validation. I think MVC would fit in nicely here.

An optimization would be to share the textbox across all instance of the custom control
since only textbox can be editable at any given time.


--- Quote from: MortenMacFly on May 06, 2010, 05:49:19 pm ---I am unable to download this file (tried several computers).

--- End quote ---
Strange, I am able to access it. May be its something do with the shortened version of uploaded.to to ul.to
Anyways, I have uploaded the code to a google code http://code.google.com/p/debugviz11/source/browse/#svn/trunk

A release exe is checked in too

oBFusCATed:
Ok, have it compiled, after the addition of some wxT(), here and there.

The usage of wxDialog is a no go on linux -> the wxDialog always has a border/caption.

Also you should implement the automatic closing of the dialog yourself, wxTipWindow seems to do it for you.
I've tried to port it to wxTipWindow, but I've got a crash...

Can you try to port it to wxTipWindow, or something that is 100% sure that will have no border on linux?
Also can you make the windows to collapse/hide automatically?

This is a good start, but the harder part is to be done: making the control work  :lol:

shirsoft:
I'll play around in linux and see how it goes.

Personally I would like the main popup window to go away when it looses focus or something,
but would like the child windows to be shown or hidden only by clicking on the + icon.

shirsoft:

--- Quote from: oBFusCATed on May 06, 2010, 07:07:45 pm ---The usage of wxDialog is a no go on linux -> the wxDialog always has a border/caption.

--- End quote ---

I remember facing that issue on linux a few months ago, however running this code on ubuntu 9.10 with wxWidgets 2.8 and it works fine.
The dialog doesn't have a border!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version