News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxsmith GUI overview (draw in ascii art)

Started by ollydbg, August 30, 2012, 04:13:30 AM

Previous topic - Next topic

ollydbg



/*
      +------+--------------------------+
      |      |    +------------------+--+
      |  A   |    |        C         |  |
      |      |    |                  |D |
      +------+    |------------------|  |
      |      |    |        E         |  |
      |  B   |    +------------------+--+
      |      |                          |
      +------+--------------------------+
A: Resource browser tree (wxsResourceTree)
B: Property browser (wxsPropertyGridManager)
C: Item editor (wxsItemEditor)
D: Advanced quick properties panel (wxsAdvQPP)
E: wxsmith widget palette (wxNotebook)

*/

*/


Hope we can have such kind of comments in the code to give the reader a clear and quick understanding. ;)

I'm using this tool to draw this ascii art. It's open source, and its source is on github.
http://www.asciiflow.com/#Draw
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

stefanos_

Looks nice the way you put it, but I think with real images would be even better; that is, if you could find from other projects similar GUI elements which could be added on wxSmith or existing ones that could get tweaked a bit, that would be really helpful indeed for readers. Of course, your example is still readable so I guess that would be a start.

MortenMacFly

Quote from: stefanos_ on August 30, 2012, 11:13:51 AM
but I think with real images would be even better;
Its for documentation purposes inside source code files, so I don't think real images are usable... ;)

Quote from: ollydbg on August 30, 2012, 04:13:30 AM
Hope we can have such kind of comments in the code to give the reader a clear and quick understanding. ;)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

stefanos_

ah for class documentation for example? that would be interesting, yep! I thought you were talking about user documentation like the official manual.