does MyGUI depend on Ogre Camera?

mrmclovin

29-12-2008 17:54:05

I've done some refactoring in my code. Now Im creating a viewport with a Null camera, then I initialize MyGui but no widgets can be viewed on the screen. Must there be a Camera attached to the viewport before mygui is initialized? Or is it something else ..?

Here's the log:
----------------------------------------------------------------------------------------------------------------------------------
loging report for : 12/29/2008 18:39:34
----------------------------------------------------------------------------------------------------------------------------------

18:39:34 | General | Info | * Initialise: Gui | c:\development\sdk\mygui\myguiengine\src\mygui_gui.cpp | 39
18:39:34 | General | Info | * MyGUI version 2.2.0 | c:\development\sdk\mygui\myguiengine\src\mygui_gui.cpp | 43
18:39:34 | General | Info | Viewport : 1024 768 | c:\development\sdk\mygui\myguiengine\src\mygui_gui.cpp | 51
18:39:34 | General | Info | * Initialise: ResourceManager | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 45
18:39:34 | General | Info | ResourceManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 57
18:39:34 | General | Info | * Initialise: LayerManager | c:\development\sdk\mygui\myguiengine\src\mygui_layermanager.cpp | 26
18:39:34 | General | Info | LayerManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_layermanager.cpp | 46
18:39:34 | General | Info | * Initialise: WidgetManager | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 43
18:39:34 | General | Info | * Register widget factory 'Widget' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'Button' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'Window' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'List' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'HScroll' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'VScroll' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'Edit' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'ComboBox' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'StaticText' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'Sheet' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'Tab' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'Progress' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'ItemBox' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'MultiList' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'StaticImage' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'Message' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | Register value : 'Ok' = 1 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 176
18:39:34 | General | Info | Register value : 'Yes' = 2 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 177
18:39:34 | General | Info | Register value : 'No' = 4 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 178
18:39:34 | General | Info | Register value : 'Abort' = 8 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 179
18:39:34 | General | Info | Register value : 'Retry' = 16 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 180
18:39:34 | General | Info | Register value : 'Ignore' = 32 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 181
18:39:34 | General | Info | Register value : 'Cancel' = 64 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 182
18:39:34 | General | Info | Register value : 'Try' = 128 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 183
18:39:34 | General | Info | Register value : 'Continue' = 256 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 184
18:39:34 | General | Info | Register value : 'OkCancel' = 65 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 185
18:39:34 | General | Info | Register value : 'YesNo' = 6 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 186
18:39:34 | General | Info | Register value : 'YesNoCancel' = 70 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 187
18:39:34 | General | Info | Register value : 'RetryCancel' = 80 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 188
18:39:34 | General | Info | Register value : 'AbortRetryIgnore' = 56 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 189
18:39:34 | General | Info | Register value : 'CancelTryContinue' = 448 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 190
18:39:34 | General | Info | Register value : 'IconDefault' = 65536 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 192
18:39:34 | General | Info | Register value : 'IconInfo' = 65536 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 194
18:39:34 | General | Info | Register value : 'IconQuest' = 131072 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 195
18:39:34 | General | Info | Register value : 'IconError' = 262144 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 196
18:39:34 | General | Info | Register value : 'IconWarning' = 524288 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 197
18:39:34 | General | Info | Register value : 'Icon1' = 65536 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 199
18:39:34 | General | Info | Register value : 'Icon2' = 131072 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 200
18:39:34 | General | Info | Register value : 'Icon3' = 262144 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 201
18:39:34 | General | Info | Register value : 'Icon4' = 524288 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 202
18:39:34 | General | Info | Register value : 'Icon5' = 1048576 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 203
18:39:34 | General | Info | Register value : 'Icon6' = 2097152 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 204
18:39:34 | General | Info | Register value : 'Icon7' = 4194304 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 205
18:39:34 | General | Info | Register value : 'Icon8' = 8388608 | c:\development\sdk\mygui\myguiengine\src\mygui_messagefactory.cpp | 206
18:39:34 | General | Info | * Register widget factory 'RenderBox' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'FooBar' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'PopupMenu' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'MenuBar' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | * Register widget factory 'ScrollView' | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 95
18:39:34 | General | Info | WidgetManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_widgetmanager.cpp | 70
18:39:34 | General | Info | * Initialise: InputManager | c:\development\sdk\mygui\myguiengine\src\mygui_inputmanager.cpp | 34
18:39:34 | General | Info | InputManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_inputmanager.cpp | 55
18:39:34 | General | Info | * Initialise: SubWidgetManager | c:\development\sdk\mygui\myguiengine\src\mygui_subwidgetmanager.cpp | 17
18:39:34 | General | Info | SubWidgetManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_subwidgetmanager.cpp | 33
18:39:34 | General | Info | * Initialise: SkinManager | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 25
18:39:34 | General | Info | SkinManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 31
18:39:34 | General | Info | * Initialise: FontManager | c:\development\sdk\mygui\myguiengine\src\mygui_fontmanager.cpp | 25
18:39:34 | General | Info | FontManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_fontmanager.cpp | 29
18:39:34 | General | Info | * Initialise: ControllerManager | c:\development\sdk\mygui\myguiengine\src\mygui_controllermanager.cpp | 20
18:39:34 | General | Info | ControllerManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_controllermanager.cpp | 24
18:39:34 | General | Info | * Initialise: PointerManager | c:\development\sdk\mygui\myguiengine\src\mygui_pointermanager.cpp | 25
18:39:34 | General | Info | PointerManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_pointermanager.cpp | 34
18:39:34 | General | Info | * Initialise: ClipboardManager | c:\development\sdk\mygui\myguiengine\src\mygui_clipboardmanager.cpp | 19
18:39:34 | General | Info | ClipboardManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_clipboardmanager.cpp | 26
18:39:34 | General | Info | * Initialise: LayoutManager | c:\development\sdk\mygui\myguiengine\src\mygui_layoutmanager.cpp | 25
18:39:34 | General | Info | LayoutManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_layoutmanager.cpp | 31
18:39:34 | General | Info | * Initialise: DynLibManager | c:\development\sdk\mygui\myguiengine\src\mygui_dynlibmanager.cpp | 18
18:39:34 | General | Info | DynLibManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_dynlibmanager.cpp | 20
18:39:34 | General | Info | * Initialise: PluginManager | c:\development\sdk\mygui\myguiengine\src\mygui_pluginmanager.cpp | 21
18:39:34 | General | Info | PluginManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_pluginmanager.cpp | 25
18:39:34 | General | Info | * Initialise: DelegateManager | c:\development\sdk\mygui\myguiengine\src\mygui_delegatemanager.cpp | 17
18:39:34 | General | Info | DelegateManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_delegatemanager.cpp | 21
18:39:34 | General | Info | * Initialise: LanguageManager | c:\development\sdk\mygui\myguiengine\src\mygui_languagemanager.cpp | 21
18:39:34 | General | Info | LanguageManager successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_languagemanager.cpp | 28
18:39:34 | General | Info | Load ini file 'core.lang' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:34 | General | Info | Load ini file 'core.language' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:34 | General | Info | Load ini file 'core.layer' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:34 | General | Info | Load ini file 'core.skin' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:35 | General | Info | Register value : 'ALIGN_HCENTER' = 0 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 39
18:39:35 | General | Info | Register value : 'ALIGN_VCENTER' = 0 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 40
18:39:35 | General | Info | Register value : 'ALIGN_CENTER' = 0 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 41
18:39:35 | General | Info | Register value : 'ALIGN_LEFT' = 2 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 43
18:39:35 | General | Info | Register value : 'ALIGN_RIGHT' = 4 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 44
18:39:35 | General | Info | Register value : 'ALIGN_HSTRETCH' = 6 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 45
18:39:35 | General | Info | Register value : 'ALIGN_TOP' = 8 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 46
18:39:35 | General | Info | Register value : 'ALIGN_BOTTOM' = 16 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 47
18:39:35 | General | Info | Register value : 'ALIGN_VSTRETCH' = 24 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 48
18:39:35 | General | Info | Register value : 'ALIGN_STRETCH' = 30 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 49
18:39:35 | General | Info | Register value : 'ALIGN_DEFAULT' = 10 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 50
18:39:35 | General | Info | Register value : 'HCenter' = 0 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 53
18:39:35 | General | Info | Register value : 'VCenter' = 0 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 54
18:39:35 | General | Info | Register value : 'Center' = 0 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 55
18:39:35 | General | Info | Register value : 'Left' = 2 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 57
18:39:35 | General | Info | Register value : 'Right' = 4 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 58
18:39:35 | General | Info | Register value : 'HStretch' = 6 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 59
18:39:35 | General | Info | Register value : 'Top' = 8 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 60
18:39:35 | General | Info | Register value : 'Bottom' = 16 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 61
18:39:35 | General | Info | Register value : 'VStretch' = 24 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 62
18:39:35 | General | Info | Register value : 'Stretch' = 30 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 63
18:39:35 | General | Info | Register value : 'Default' = 10 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 64
18:39:35 | General | Info | Register value : 'LeftTop' = 10 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 65
18:39:35 | General | Info | Register value : 'RightTop' = 12 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 66
18:39:35 | General | Info | Register value : 'RightBottom' = 20 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 67
18:39:35 | General | Info | Register value : 'LeftBottom' = 18 | c:\development\sdk\mygui\myguiengine\src\mygui_align.cpp | 68
18:39:35 | General | Info | Load ini file 'core.font' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:35 | General | Info | Load ini file 'core.pointer' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:35 | General | Info | Load ini file 'core_new.skin' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:36 | General | Warning | Skin with name 'CheckBox' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'RadioBox' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'ButtonSmall' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'Button' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'Edit' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'ComboBoxButton' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'ComboBox' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'TabButton' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'Tab' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'DefaultClient' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'List' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'WindowCaption' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'WindowC' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'WindowCS' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'WindowCSX' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'Message' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'MessageIcon' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'MenuBar' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'MenuBarButton' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'PopupMenu' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'PanelSmall' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'List' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'MultiList' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'MultiListButton' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'MultiListButtonIcon' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'PopupMenuLine' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'PopupMenuLineIcon' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'VScrollTrack' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'VScrollTop' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'VScrollBottom' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'VScrollTopPart' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'VScrollBottomPart' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'VScroll' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'HScrollTrack' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'HScrollLeft' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'HScrollRight' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'HScrollLeftPart' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'HScrollRightPart' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'HScroll' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'HSlider' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'VSlider' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'ProgressTrack' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Warning | Skin with name 'Progress' already exist | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 69
18:39:36 | General | Info | Load ini file 'core_new.pointer' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:36 | General | Warning | pointer 'arrow' exist, erase old data | c:\development\sdk\mygui\myguiengine\src\mygui_pointermanager.cpp | 83
18:39:36 | General | Warning | pointer 'beam' exist, erase old data | c:\development\sdk\mygui\myguiengine\src\mygui_pointermanager.cpp | 83
18:39:36 | General | Warning | pointer 'size_left' exist, erase old data | c:\development\sdk\mygui\myguiengine\src\mygui_pointermanager.cpp | 83
18:39:36 | General | Warning | pointer 'size_right' exist, erase old data | c:\development\sdk\mygui\myguiengine\src\mygui_pointermanager.cpp | 83
18:39:36 | General | Warning | pointer 'hand' exist, erase old data | c:\development\sdk\mygui\myguiengine\src\mygui_pointermanager.cpp | 83
18:39:36 | General | Info | Load ini file 'core_resource.xml' from resource group : General | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 155
18:39:36 | General | Error | resource type 'ImageSet' not found | c:\development\sdk\mygui\myguiengine\src\mygui_resourcemanager.cpp | 97
18:39:36 | General | Info | Gui successfully initialized | c:\development\sdk\mygui\myguiengine\src\mygui_gui.cpp | 95
18:39:38 | General | Info | load layout '../media/MyGUI_Media/debug.layout' | c:\development\sdk\mygui\myguiengine\src\mygui_layoutmanager.cpp | 56
18:39:38 | General | Warning | Skin '' not found, set Default | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 58
18:39:39 | General | Info | Font 'Comic.18' using texture size 1024 x 128 | c:\development\sdk\mygui\myguiengine\src\mygui_font.cpp | 172
18:39:39 | General | Info | Font 'Comic.18' using real height 18 pixels | c:\development\sdk\mygui\myguiengine\src\mygui_font.cpp | 173
18:39:39 | General | Info | Font 'MyGUI_CoreFont.18' using texture size 1024 x 128 | c:\development\sdk\mygui\myguiengine\src\mygui_font.cpp | 172
18:39:39 | General | Info | Font 'MyGUI_CoreFont.18' using real height 18 pixels | c:\development\sdk\mygui\myguiengine\src\mygui_font.cpp | 173
18:39:39 | General | Info | load layout '../media/MyGUI_Media/lvleditor.layout' | c:\development\sdk\mygui\myguiengine\src\mygui_layoutmanager.cpp | 56
18:39:39 | General | Warning | Skin '' not found, set Default | c:\development\sdk\mygui\myguiengine\src\mygui_skinmanager.cpp | 58
18:39:39 | General | Info | load layout '../media/MyGUI_Media/objectlist.layout' | c:\development\sdk\mygui\myguiengine\src\mygui_layoutmanager.cpp | 56

Those warnings and error occurred before the refactoring and it worked, so I dont think that's the problem?

Seregvan

29-12-2008 19:30:40

Just update myGUI resources... It's Media folder on the sourceforge.

Altren

29-12-2008 22:04:43

Yes, you need to have at least one camera to see MyGUI.

mrmclovin

29-12-2008 22:41:48

And that Camera must be set before MyGUI is initialised? Or can I set it after the mygui initialisation?

jacmoe

30-12-2008 00:47:12

Is that a problem?
There's no point in having a GUI without a camera. :!: :)

mrmclovin

30-12-2008 01:14:07

Yes, but I'd like to get MyGUI fully initilaised before the scene/camera is allocated, therefore I asked if it's possible to createViewport(0) (Null camera) then mygui->initialise(), then viewport->setCamera(mCamera) ?

my.name

30-12-2008 10:28:18

Ogre::Camera * fake_camera = mSceneMgr->createCamera("FakeCamera");
mWindow->addViewport(fake_camera);

mGUI = new MyGUI::Gui();
mGUI->initialise(mWindow);

...
...
...
...
...


Ogre::Camera * camera = mSceneMgr->createCamera("NormalCamera");
camera->setNearClipDistance(5);
camera->setPosition(Ogre::Vector3(200, 200, 200));
camera->lookAt(Ogre::Vector3(0.0, 0.0, 0.0));

mWindow->removeAllViewports();
mWindow->addViewport(camera);

mrmclovin

30-12-2008 14:06:07

It works to do like:
Ogre::Root::getSingleton().getAutoCreatedWindow()->removeAllViewports();
vp = Ogre::Root::getSingleton().getAutoCreatedWindow()->addViewport(0);

mygui->initialise();
Ogre::Root::getSingleton().getAutoCreatedWindow()->removeAllViewports();
Viewport* vp = Ogre::Root::getSingleton().getAutoCreatedWindow()->addViewport(mCamera);
vp->setCamera(mCamera);

But it only works if I do it like this in the same function. If I do it in spread-out functions (but still the same order) the widgets won't show up. The scene and the camera, however works perfectly. Guess it is something in my code then ..

mrmclovin

30-12-2008 23:21:46

I solved it by calling gui->setSceneManager(mSceneMgr) when I have actually created the scenemanager.

jacmoe

31-12-2008 00:15:46

I solved it by calling gui->setSceneManager(mSceneMgr) when I have actually created the scenemanager.
Hehe. :)

my.name

31-12-2008 09:38:10

=)

Fred

08-01-2009 18:56:32

I solved it by calling gui->setSceneManager(mSceneMgr) when I have actually created the scenemanager.
and now you don't call gui->initialise(window) or what are you doing?

mrmclovin

11-01-2009 17:51:05

1. Create viewport (with null camera)
2. Initialise mygui
3. create scenemanager
4. create camera
4. mygui->setSceneManager()