History: Mogre MyGUI wrapper
Source of version: 15
Copy to clipboard
{maketoc}
{img src="img/wiki_up/MyGUI_logo.png" alt="MyGUI_logo.png" align="right"}
With the Mogre MyGUI wrapper it's possible to use the ((MyGUI)) system by ((MOGRE|Mogre)).
{QUOTE(replyto="mstoyke")}I'm currently using a slightly extended version of MyGUI with their C++/CLI wrapper. It's a __very good GUI system__ and the __.NET bindings work very well__. You can even use their __layout editor__ and use the GUI layouts easily. I'm too busy right now to write detailed instructions on how to get it work but I can offer to post a patch in unified diff format with my changes and some lines of example code.{QUOTE}
More information you find at the MyGUI website [http://mygui.info|mygui.info].
Ogre related information you find in the [http://www.ogre3d.org/addonforums/viewforum.php?f=17|MyGUI forum] (section of the Ogre forum).
Related to the Mogre wrapper there is a special forum topic: [http://www.ogre3d.org/addonforums/viewtopic.php?f=17&t=9529|Managed MyGUI]
%info% For Mogre related questions you can open a thread in the [http://www.ogre3d.org/addonforums/viewforum.php?f=8|Mogre forum]. Additionally you could invite user [http://www.ogre3d.org/addonforums/memberlist.php?mode=viewprofile&u=12833|mstoyke] to answer. (Please don't discuss by message - do it in public so that it helps other people, too.)
!Videos
{YOUTUBE(movie="http://www.youtube.com/watch?v=A37iIil3T68&feature=player_embedded",width="320",height="240",allowFullScreen="y")}{YOUTUBE} {YOUTUBE(movie="http://www.youtube.com/watch?v=J-FeieAFLGM&feature=player_embedded",width="320",height="240",allowFullScreen="y")}{YOUTUBE}
%%%
!Download
The source code you can get in the [http://mygui.info/#ui-tabs-17|download area] of the MyGUI website.
The Mogre/.NET wrapper is part of the MyGUI project and can be found in the [http://sourceforge.net/projects/my-gui/|MyGUI repository].
Additionally look to the [http://sourceforge.net/projects/my-gui/files/|binary download section]. It contains the Mogre wrapper, dependencies, demos and the layout editor.
!Usage
{QUOTE(replyto="Tubulii")}
I am using MyGui in my mogre app successfully. It wasn't hard, anything you need is [http://sourceforge.net/projects/my-gui/files/Managed%20MyGUI%20for%20Mogre/MyGUI%20for%20Mogre%201.6.5/Managed_for_MogreSDK_1.6.zip/download|here] and [http://sourceforge.net/projects/my-gui/files/Managed%20MyGUI%20for%20Mogre/MyGUI%20for%20Mogre%201.6.5/MogreFramework_MyGUI_3.0.zip/download|here](all for Mogre 1.6.5.)
The second one is optional, but there is one file you need: __export.vs__ . This codefile contains some functions to init and destroy MyGui. I never tried to use the MOGREframework in that package, I used the one in the Wiki. Some classes aren't wrapped, but all basic things seams to work fine.
(Quoted from [http://www.ogre3d.org/addonforums/viewtopic.php?p=78293#p78293|this forum post] in January 2010)
{QUOTE}
%%%
!Wrapper details
The MyGUI repository has the directory [https://my-gui.svn.sourceforge.net/svnroot/my-gui/trunk/Wrappers|Wrappers]. This contains several subdirectories. For some we know the meaning:
* __MyGUI.Export (C++):__ . . . . Exports all needed functions of the native MyGui
* __MyGUI.Sharp:__ . . . . A C# Wrapper of MyGui (needs file ''MyGui.export'')
** The depencies are ''MyGUIEngine.dll'' and ''MyGui.export.dll'' (and .NET)
** For Mogre is only an indirect depency: You need Mogre for creating ''MyGui.export.dll''
* __MyGUI.OgrePlatform.Export(C++):__ . . . . Exports all needed functions of the native MyGui
* __MyGUI.Managed:__ . . . . A CLI/C++ Wrapper (needs ''MyGUI.OgrePlatform.Export'')
Note:
''MyGui.managed'' and ''MyGui.sharp'' seems to be equal. Maybe the C# one is a port of the managed one and not a build from scratch.
!Compilation
Details are here:
http://www.ogre3d.org/addonforums/viewtopic.php?f=17&t=9529
__TODO: add content here__
!See also
__MyGUI related:__
* [http://mygui.info|mygui.info] - official Website
* [http://mygui.info/docs|API reference] - documentation of MyGUI interface
* [http://www.ogre3d.org/addonforums/viewforum.php?f=17|MyGUI forum] section - (in Ogre add-ons forum)
** [http://www.ogre3d.org/addonforums/viewtopic.php?f=17&t=9529|Managed MyGUI] - Forum topic for the Mogre wrapper
* [http://sourceforge.net/projects/my-gui/|Repository] - SVN with source code
** [https://my-gui.svn.sourceforge.net/svnroot/my-gui/trunk/Wrappers/|Mogre wrapper] (part of the same repository)
** [http://sourceforge.net/projects/my-gui/files/Managed%20MyGUI%20for%20Mogre/|Managed MyGUI for Mogre] (pre-compiled binary)
** [http://sourceforge.net/projects/my-gui/files/MyGUI%20binary%20demos/|Demos] (pre-compiled)
** [http://sourceforge.net/projects/my-gui/files/MyGUI%20dependencies/|Dependencies]
** [http://sourceforge.net/projects/my-gui/files/LayoutEditor/|Layout editor]
* ((MyGUI)) - much Ogre related stuff
__Common:__
* ((-GUI|GUI)) - an overview of GUI systems
* ((Comparison of GUIs))
* ((Miyagi)) - an alternative GUI system for ((Mogre))
* ((Hikari Wrapper for MOGRE)) - embed Adobe Flash into Mogre (e.g. GUI menus)
* ((Easy Debug Text for MOGRE)) - for plain text display
* ((Prototype steps of GUI development))
* ((MQuickGUI)) - an outdated C# port of ((QuickGUI))