Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

User interface for project glob feature

<< < (7/8) > >>

BlueHazzard:

--- Quote ---1. The manage dialog shouldn't call Manager::Get()->GetProjectManager()->GetActiveProject(), but a project pointer should be passed to the constructor. This would make it possible to add this manage command to the context menu
2. Adding a relative path to the current project makes the path look like ../myproj instead of just '.'.
--- End quote ---
i can try to fix this.

--- Quote ---3. The ok/cancel buttons in the manage dialog must be moved at the bottom using a stdbuttonsizer. The current version looks bad.
--- End quote ---
i am really bad with UI things... I would like to let this to some one else


--- Quote ---Here are some fixes on top of yours: https://github.com/obfuscated/codeblocks_sf/tree/experiments/globs
--- End quote ---
What is this with the tabs change in the code? Do you use fewer white spaces?

in src/src/manageglobsdlg.cpp

--- Code: ---for (const cbProject::Glob &glob : m_GlobList)
--- End code ---
full c++11 support now? also with "auto"?

oBFusCATed:
The files used tabs, CB project uses 4 spaces. We're c++11 for quite a while now.
I don't understand why c++11 is associated with auto. The second worst feature added after rvalue refs and lambdas are third.
Generally it is preferable (at least by me) if auto is used as little as possible and only where the types are obvious or too long.

The_GTA:
Glad that UnitsGlob does receive GUI attention! Usually I add UnitsGlob manually to the project file...

<UnitsGlob directory="../src" recursive="1" wildcard="*.cpp" />
<UnitsGlob directory="../src" recursive="1" wildcard="*.h" />
<UnitsGlob directory="../src" recursive="1" wildcard="*.hxx" />
<UnitsGlob directory="../include" recursive="1" wildcard="*.h" />

... but a GUI way does add more reach for a wider audience. Visual Studio team would refuse but Code::Blocks community does have an eye for detail. Thank you!

oBFusCATed:
Have you tried the patches? Does they work for you?

oBFusCATed:
@BlueHazzard: This seems like another thing you haven't finished. Can you do it?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version