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

Show debugging information on hover

<< < (2/6) > >>

shirsoft:
I gave it shot without using the tip window base and property grid. I don't think property grid would support icons.
The file can be found here : http://ul.to/6tthfi

The app shows a piece of code in an inactive textbox. When you click on 'Hover Test' button, it simulates as if the mouse has been hovering the variable 'sph'. Rest is somewhat like visual studio.
Additionally one can edit values of variables which don't have any childs, similar to visual studio.

oBFusCATed:
Can't run (and wouldn't run if I was) exe files (I'm on linux).
Can you provide some compilable source code or a simple screenshot?

shirsoft:
Sure, I have uploaded the screenshot to imageshack: http://img695.imageshack.us/i/debugo.png/

I don't have a makefile for the linux version of the code (I am still used to VS) but I can upload the code
if you wish to see.

There's not much to the code. I use a custom control in place of a property grid and frameless dialog instead of
the 'tip window base'

The custom control has these properties
1. bool suggesting whether its expandable or not
2. Name of the attribute being displayed.
3. Icon for the attribute
4. Value of the attribute as a string

The dialog window has a list of these custom controls, one for each attribute

oBFusCATed:
Ah, looks good :)

Can the user edit the value of variables (like in VS)?
For example can he/she make x to be equal to 100, y = 21?

If the control can do that I can test it on linux (don't worry for the compilation :) )

MortenMacFly:

--- Quote from: shirsoft on May 06, 2010, 11:43:19 am ---The file can be found here : http://ul.to/6tthfi

--- End quote ---
I am unable to download this file (tried several computers).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version