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

Move some GUI code from sdk to src

<< < (4/10) > >>

MortenMacFly:

--- Quote from: oBFusCATed on May 12, 2013, 08:58:53 pm ---In fact if you like it could be made as a single commit (I suppose).

--- End quote ---
No, please don't. If what you described works I am surely fine with it.

oBFusCATed:
Anyone willing to test if the branch compiles (and works) on Windows?

MortenMacFly:

--- Quote from: oBFusCATed on May 29, 2013, 09:31:37 am ---Anyone willing to test if the branch compiles (and works) on Windows?

--- End quote ---
Compiling requires some more patching (i.-e. the CodeSnippets plugin). I can tell you where once I've got it completed...

Concerning the interface: Is there a reason why GetUI() returns a reference and not a pointer? It looks a bit weird, especially things like this:
Manager::Get()->GetProjectManager()->GetUI().GetTree()->Whatever();

MortenMacFly:
...turns out it wasn't much in the end - the most places were due to my local changes.

So, attached is a patch to fix the build errors on Windows. Starting C::B and (little) working with it seems to be normal... anything special one should test?

oBFusCATed:

--- Quote from: MortenMacFly on May 29, 2013, 09:58:37 pm ---anything special one should test?

--- End quote ---
Virtual folders, I never use them :)

GetUI returns reference to document that the result is always valid :)
I'll probably move it to the Manager class.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version