[SOLVED] Resize, scrollbar, title graphic, key input issues

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

[SOLVED] Resize, scrollbar, title graphic, key input issues

Postby agamemnus » Sun Mar 21, 2010 18:10

http://flyingsoft.phatcode.net/startwinbad.JPG
http://flyingsoft.phatcode.net/endwinbad.JPG

That was the windows look.

No title bar...
"X" doesn't work in Taharez....
Scroll bars don't update with the layout that had the "anti-alias" and "resize font" checkbox. (forgot layout name)
Crash when I enter text input into right window "VanillaWindows.layout"; just passing all event pointers via event irrlicht injection system to CEGUI.

Error when loading "VanillaWindows.layout":
21/03/2010 14:08:24 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
21/03/2010 14:08:24 (Std) + Crazy Eddie's GUI System - Event log +
21/03/2010 14:08:24 (Std) + (http://www.cegui.org.uk/) +
21/03/2010 14:08:24 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

21/03/2010 14:08:24 (Std) CEGUI::Logger singleton created. (014E53C0)
21/03/2010 14:08:24 (Std)
21/03/2010 14:08:24 (Std) ********************************************************************************
21/03/2010 14:08:24 (Std) * Important: *
21/03/2010 14:08:24 (Std) * To get support at the CEGUI forums, you must post _at least_ the section *
21/03/2010 14:08:24 (Std) * of this log file indicated below. Failure to do this will result in no *
21/03/2010 14:08:24 (Std) * support being given; please do not waste our time. *
21/03/2010 14:08:24 (Std) ********************************************************************************
21/03/2010 14:08:24 (Std) ********************************************************************************
21/03/2010 14:08:24 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
21/03/2010 14:08:24 (Std) ********************************************************************************
21/03/2010 14:08:24 (Std) ---- Version 0.7.1 (Build: Mar 17 2010 Microsoft Windows MSVC++ 9.0 32 bit) ----
21/03/2010 14:08:24 (Std) ---- Renderer module is: CEGUI::IrrlichtRenderer - Official Irrlicht based 2nd generation renderer module. RenderTarget support is enabled. ----
21/03/2010 14:08:24 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
21/03/2010 14:08:24 (Std) ---- Image Codec module is: IrrlichtImageCodec - Integrated ImageCodec using the Irrlicht engine. ----
21/03/2010 14:08:24 (Std) ---- Scripting module is: None ----
21/03/2010 14:08:24 (Std) ********************************************************************************
21/03/2010 14:08:24 (Std) * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
21/03/2010 14:08:24 (Std) ********************************************************************************
21/03/2010 14:08:24 (Std)
21/03/2010 14:08:24 (Std) ---- Begining CEGUI System initialisation ----
21/03/2010 14:08:24 (Std) CEGUI::ImagesetManager singleton created (01502328)
21/03/2010 14:08:24 (Std) CEGUI::FontManager singleton created. (01502518)
21/03/2010 14:08:24 (Std) CEGUI::WindowFactoryManager singleton created
21/03/2010 14:08:24 (Std) CEGUI::WindowManager singleton created (01501330)
21/03/2010 14:08:24 (Std) CEGUI::SchemeManager singleton created. (01502FD0)
21/03/2010 14:08:24 (Std) CEGUI::MouseCursor singleton created. (01503250)
21/03/2010 14:08:24 (Std) CEGUI::GlobalEventSet singleton created. (014FFAB0)
21/03/2010 14:08:24 (Std) CEGUI::WidgetLookManager singleton created. (014FE830)
21/03/2010 14:08:24 (Std) CEGUI::WindowRendererManager singleton created (014FF408)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'DefaultWindow' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'DefaultWindow' windows added. (01502798)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'DragContainer' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'DragContainer' windows added. (01503BB8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'ScrolledContainer' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'ScrolledContainer' windows added. (01503D28)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'ClippedContainer' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'ClippedContainer' windows added. (015041E8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Checkbox' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Checkbox' windows added. (01504418)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/PushButton' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/PushButton' windows added. (015045B8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/RadioButton' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/RadioButton' windows added. (015047D0)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Combobox' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Combobox' windows added. (01504878)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/ComboDropList' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/ComboDropList' windows added. (015049D8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Editbox' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Editbox' windows added. (01504C00)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/FrameWindow' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/FrameWindow' windows added. (01504CA8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/ItemEntry' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/ItemEntry' windows added. (01505100)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Listbox' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Listbox' windows added. (01505318)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/ListHeader' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/ListHeader' windows added. (015053C0)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (015055D8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Menubar' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Menubar' windows added. (015058E8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/PopupMenu' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/PopupMenu' windows added. (015059E8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/MenuItem' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/MenuItem' windows added. (01505B48)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/MultiColumnList' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/MultiColumnList' windows added. (01505BF0)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (01505E40)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/ProgressBar' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/ProgressBar' windows added. (01505FA0)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/ScrollablePane' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/ScrollablePane' windows added. (01506100)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Scrollbar' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Scrollbar' windows added. (01506260)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Slider' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Slider' windows added. (01506308)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Spinner' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Spinner' windows added. (01506520)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/TabButton' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/TabButton' windows added. (015065C8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/TabControl' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/TabControl' windows added. (01506898)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Thumb' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Thumb' windows added. (015069F8)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Titlebar' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Titlebar' windows added. (01506AA0)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Tooltip' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Tooltip' windows added. (01506B48)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/ItemListbox' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/ItemListbox' windows added. (01506E10)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/GroupBox' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/GroupBox' windows added. (01506F70)
21/03/2010 14:08:24 (Std) Created WindowFactory for 'CEGUI/Tree' windows.
21/03/2010 14:08:24 (Std) WindowFactory for 'CEGUI/Tree' windows added. (015070D0)
21/03/2010 14:08:24 (Std) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
21/03/2010 14:08:24 (Std) CEGUI::System singleton created. (014E5BD0)
21/03/2010 14:08:24 (Std) ---- CEGUI System initialisation completed ----
21/03/2010 14:08:24 (Std)
21/03/2010 14:08:24 (Std) Started creation of Scheme from XML specification:
21/03/2010 14:08:24 (Std) ---- CEGUI GUIScheme name: VanillaSkin
21/03/2010 14:08:24 (Std) Started creation of Imageset from XML specification:
21/03/2010 14:08:24 (Std) ---- CEGUI Imageset name: Vanilla-Images
21/03/2010 14:08:24 (Std) ---- Source texture file: vanilla.tga in resource group: (Default)
21/03/2010 14:08:24 (Std) ===== Falagard 'root' element: look and feel parsing begins =====
21/03/2010 14:08:24 (Std) ===== Look and feel parsing completed =====
21/03/2010 14:08:24 (Std) No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Button' added. (01568D98)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Default' added. (01568EE8)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Editbox' added. (01509588)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/FrameWindow' added. (01580970)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/ItemEntry' added. (01512A18)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/ListHeader' added. (01573AA0)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/ListHeaderSegment' added. (01543230)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Listbox' added. (015432D8)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Menubar' added. (01543380)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/MenuItem' added. (01543428)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/MultiColumnList' added. (01543588)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/MultiLineEditbox' added. (015437A0)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/PopupMenu' added. (01543900)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/ProgressBar' added. (0150DB20)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/ScrollablePane' added. (0150DDF0)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Scrollbar' added. (0150DE98)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Slider' added. (0150DF40)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Static' added. (0150E0A0)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/StaticImage' added. (0150E148)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/StaticText' added. (0150E2A8)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/SystemButton' added. (0150B520)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/TabButton' added. (0150B5C8)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/TabControl' added. (0150B670)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Titlebar' added. (0150B940)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/ToggleButton' added. (0150B9E8)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Tooltip' added. (0150BA90)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/ItemListbox' added. (0150BBF0)
21/03/2010 14:08:24 (Std) Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
21/03/2010 14:08:24 (Std) WindowRendererFactory 'Falagard/Tree' added. (0150BC98)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' and Look'N'Feel 'Vanilla/Titlebar'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/Button'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' and Look'N'Feel 'Vanilla/FrameWindow'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'Vanilla/Editbox'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/VerticalScrollbarThumb'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'Vanilla/VerticalScrollbar'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/HorizontalScrollbarThumb'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'Vanilla/HorizontalScrollbar'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' and Look'N'Feel 'Vanilla/StaticImage'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' and Look'N'Feel 'Vanilla/StaticText'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' and Look'N'Feel 'Vanilla/Listbox'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' and Look'N'Feel 'Vanilla/MultiLineEditbox'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' and Look'N'Feel 'Vanilla/ComboDropList'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' and Look'N'Feel 'Vanilla/Combobox'. (0012D110)
21/03/2010 14:08:24 (Std) Creating falagard mapping for type 'Vanilla/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'Vanilla/ProgressBar'. (0012D110)
21/03/2010 14:08:24 (Error) CEGUI::UnknownObjectException in file c:\se\oldstuff\irrlichtwrapper\irrlichtwrapper_source\cegui-0.7.1\cegui\include\CEGUINamedXMLResourceManager.h(264) : NamedXMLResourceManager::get: No object of type 'Imageset' named 'Backdrop-Images' is present in the collection.
21/03/2010 14:08:24 (Error) CEGUI::UnknownObjectException in file ..\..\..\cegui\src\CEGUIPropertySet.cpp(124) : There is no Property named 'WindowPosition' available in the set.
21/03/2010 14:08:24 (Std) ---- Successfully completed loading of GUI layout from 'VanillaWindows.layout' ----
Last edited by agamemnus on Thu May 13, 2010 20:40, edited 2 times in total.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Resizing, scrollbar, window title graphic issues, key input

Postby CrazyEddie » Mon Mar 22, 2010 07:11

... windows look.

No title bar...

This happens when there is no font loaded / no default font set.

"X" doesn't work in Taharez....

Doesn't work in what way? If you mean it doesn't do anything, such as close the window, this is by design. You must subscribe a handler to the event in order for action to be taken.

Scroll bars don't update with the layout that had the "anti-alias" and "resize font" checkbox. (forgot layout name)

Not sure what this means.

Crash when I enter text input into right window "VanillaWindows.layout";

What is this layout? This is not part of the CEGUI distribution, how am I supposed to know what is wrong based on some layout name I've never heard of?

CE.

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

Re: Resizing, scrollbar, window title graphic issues, key input

Postby agamemnus » Mon Mar 22, 2010 08:12

CrazyEddie wrote:
... windows look. No title bar...

This happens when there is no font loaded / no default font set.

For some crazy reason, I thought loading the scheme was supposed to do that.

"X" doesn't work in Taharez....

Doesn't work in what way? If you mean it doesn't do anything, such as close the window, this is by design. You must subscribe a handler to the event in order for action to be taken.

OK.

Scroll bars don't update with the layout that had the "anti-alias" and "resize font" checkbox. (forgot layout name)

Not sure what this means.

When I move a scrollbar, it doesn't update its position until I resize the window a few times.

Crash when I enter text input into right window "VanillaWindows.layout";

What is this layout? This is not part of the CEGUI distribution, how am I supposed to know what is wrong based on some layout name I've never heard of?

CE.


It's part of the SDK...

Please come around to IRC in about 9 or so hours...

Edit: Another major part is the error with the border. What could be causing this?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Resizing, scrollbar, window title graphic issues, key input

Postby CrazyEddie » Tue Mar 23, 2010 11:01

This happens when there is no font loaded / no default font set.

For some crazy reason, I thought loading the scheme was supposed to do that.

The scheme can do it, though traditionally we did not have fonts specified in the example schemes. TaharezLook had the font added between 0.5.0 and 0.6.0 - during an extended period of absence for me.

When I move a scrollbar, it doesn't update its position until I resize the window a few times.

I still don't know where you mean for this. As far as I can tell the layouts and samples all seem to work fine. There were a couple of issues with the FontDemo, though these were fixed for the 0.7.1 release.

Crash when I enter text input into right window "VanillaWindows.layout";

What is this layout? This is not part of the CEGUI distribution, how am I supposed to know what is wrong based on some layout name I've never heard of?

It's part of the SDK...[/quote]
Yes, sorry about that. The error in the log you posted - and having looked at the layout - relates to an imageset that does not exist, I'm not sure what that's all about, even though I wrote the file. As far as crashing when inputting text, this layout is used in the FalagardDemo1 sample, and it's working fine for me. Again you have just said 'crash' which is meaningless. Without a proper description of the issue perhaps with a backtrace or with other suitable debugging information there is virtually no way to know why it does not work correctly.

Please come around to IRC in about 9 or so hours...

:lol: I don't do requests, sorry. The help I give is given willingly and freely, though the intention is not that my time be monopolised by a single individual day after day after day. It kind of knocks the arse out of it for me when this happens - so I go off and do more interesting things instead ;)

Edit: Another major part is the error with the border. What could be causing this?

You'll have to describe what is happening there. It looks like a clipping issue from the pictures, but I can't be certain how that happens. What interaction causes this?

CE.

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

Re: Resizing, scrollbar, window title graphic issues, key input

Postby agamemnus » Tue Mar 23, 2010 18:21

CrazyEddie wrote:
This happens when there is no font loaded / no default font set.

For some crazy reason, I thought loading the scheme was supposed to do that.

The scheme can do it, though traditionally we did not have fonts specified in the example schemes. TaharezLook had the font added between 0.5.0 and 0.6.0 - during an extended period of absence for me.

Ok.


When I move a scrollbar, it doesn't update its position until I resize the window a few times.

I still don't know where you mean for this. As far as I can tell the layouts and samples all seem to work fine. There were a couple of issues with the FontDemo, though these were fixed for the 0.7.1 release.

For instance: In "Demo8.layout", the left window has sliders. When I MOVE the sliders with my mouse, there is no update of the slider position!! The slider position ONLY updates when I resize its window, and ONLY when I resize it up (when I INCREASE the size of the window), and ONLY when I resize it to a bigger size than it had ever been. Just resizing down and then up to the same size does not update the window.


As far as crashing when inputting text, this layout is used in the FalagardDemo1 sample, and it's working fine for me. Again you have just said 'crash' which is meaningless. Without a proper description of the issue perhaps with a backtrace or with other suitable debugging information there is virtually no way to know why it does not work correctly.

Okay, it no longer crashes. Could be related to a very specific schema/font/imageset configuration, not sure. However, THE TEXT DOES NOT APPEAR. The only way to make it appear is to increase the size of the screen as I mentioned previously.


Edit: Another major part is the error with the border. What could be causing this?

You'll have to describe what is happening there. It looks like a clipping issue from the pictures, but I can't be certain how that happens. What interaction causes this?
CE.

Again, this is the same as the other two issues above. When I resize (DOWN) the window, the border does not redraw around the smaller window. It only redraws when I resize the window up again. (to a size bigger than I had before at any point)

Edit: I have a feeling that the cause of all this might be a faulty code in "CEGUIIrrlichtEventPusher.h", but I am not sure. What is the command that updates the window information?



Please come around to IRC in about 9 or so hours...

:lol: I don't do requests, sorry. The help I give is given willingly and freely, though the intention is not that my time be monopolised by a single individual day after day after day. It kind of knocks the arse out of it for me when this happens - so I go off and do more interesting things instead ;)

:| The tone of my request was intentionally made so you wouldn't think I am trying to force you to appear in IRC. I thought you wanted to better your GUI. I know it's not fun, but that (ie: bugs, version issues) is reality. I am sure that 99/100 people who try to use this GUI and cannot because of some issue or other just simply forget about even trying to use it instead of asking for help like I am. Furthermore, you know I am making a wrapper to expand usage base of your GUI. Don't you want more people to use your GUI?

That said, I look forward to your glorious return to IRC.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Resizing, scrollbar, window title graphic issues, key input

Postby CrazyEddie » Tue Mar 23, 2010 19:37

The fact that all of the issues appear related to the screen or windows not being refreshed properly seems to indicate that there is something you're doing that is not correct. For example, the Demo8.layout as used in Demo8 functions perfectly within that demo when using the IrrlichtRenderer, as do all the other demos.

I have a feeling that the cause of all this might be a faulty code in "CEGUIIrrlichtEventPusher.h", but I am not sure. What is the command that updates the window information?

You seem to be under some illusion that you're the only person to have ever used this code; you're not ;) Again, the fact the demo apps all use this code successfully indicates that it does - amazingly - actually work.

:| The tone of my request was intentionally made so you wouldn't think I am trying to force you to appear in IRC.

The intention doesn't particularly worry me one way or another ;) I'll just carry on as I please :P

I thought you wanted to better your GUI.

How does solving your usage issues better CEGUI? Because this is what they are - your usage issues. While CEGUI is certainly not bug free, indeed there have been bugs found that had been lurking for many years - but the key point is that on the whole, for most common uses, CEGUI is pretty solid. It may not seem that way for you, because you're having so many issues, but that is the case for a majority of users. Do you think the Torchlight guys had all these issues when they used CEGUI? (I dunno, maybe they did :lol:)

I know it's not fun, but that's reality.

No. It's not. If this were my job, then it would be reality. This is not my job, and yes, for me it is, actually, supposed to be 'fun' - that's the only reason I do it, for my own amusement. When it's not fun, I don't bother with it.

I am sure that 99/100 people who try to use this GUI and cannot because of some issue or other just simply forget about even trying to use it instead of asking for help like I am.

If this is the case (and I'm neither agreeing nor disagreeing), do you think this would worry me at all? Do you think this would keep me awake at night? Do you think a loss of 99% of potential uses costs me anything at all? I can tell you - for all cases - it does not. If people wish to use CEGUI and find it useful, I'm happy for them, and I'm happy to help them as and were I can. If people look and decide that either CEGUI is not for them, or that CEGUI is 'crap' or whatever their opinion may be, then this is fine - it's their choice and it's their opinion.

Don't you want more people to use your GUI?

To be quite frank, I don't particularly care one way or the other. As far as people asking for help on here, and on IRC, it depends on the attitude of those people. Over the years there have been many people come and go, and in certain cases - a tiny minority, for sure - we all would have been better off if those people had decided to be one of the 99% from above.

I have never said that CEGUI was easy to use. Some people find it easy, some people find it hard - to me this speaks volumes. CEGUI is definitely not a beginners library. CEGUI is definitely not aimed at people without experience in C++. It's not that I would wish to exclude those people, but offering help for CEGUI is not the same as trying to teach people how to use their computer, or how to set up and use their chosen programming environment, or how to program C++, or how to program in general.

Now, above I mention the 'attitude' of people. You might think that's slightly ironic given that certain people might consider my own attitude to be poor. Well, all I will say about that is, again, I don't really give a hoot! People can take me as they find me, and if that's not to their liking; if that's not good enough, well, to be honest, it's not my problem. I don't owe any of you guys anything - nothing what so ever. You can take this code, the project, whatever, and use it or not, but don't expect anything in addition from me.

CE.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Resizing, scrollbar, window title graphic issues, key input

Postby CrazyEddie » Tue Mar 23, 2010 20:01

ONLY updates when I resize its window, and ONLY when I resize it up (when I INCREASE the size of the window), and ONLY when I resize it to a bigger size than it had ever been. Just resizing down and then up to the same size does not update the window.

This is related to the underlying texture target surface. Basically what you describe - making a window bigger than it had been at any point previously - is when that underlying texture gets re-allocated due to the existing one not being big enough. That's what's happening, but I can't explain why it only updates when that happens :?

CE.

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

Re: Resizing, scrollbar, window title graphic issues, key input

Postby agamemnus » Tue Mar 23, 2010 21:25

CrazyEddie wrote:
ONLY updates when I resize its window, and ONLY when I resize it up (when I INCREASE the size of the window), and ONLY when I resize it to a bigger size than it had ever been. Just resizing down and then up to the same size does not update the window.

This is related to the underlying texture target surface. Basically what you describe - making a window bigger than it had been at any point previously - is when that underlying texture gets re-allocated due to the existing one not being big enough. That's what's happening, but I can't explain why it only updates when that happens :?

CE.


In CEGUIIrrlichtRenderTarget.cpp, under the function "void IrrlichtTextureTarget::declareRenderSize(const Size& sz)":

Code: Select all

    const bool realloc =
                !d_texture ||
                static_cast<float>(d_texture->getSize().Width) < sz.d_width ||
                static_cast<float>(d_texture->getSize().Height) < sz.d_height;


If I set this to:

Code: Select all

    const bool realloc =
                !d_texture ||
                static_cast<float>(d_texture->getSize().Width) != sz.d_width ||
                static_cast<float>(d_texture->getSize().Height) != sz.d_height;


... then the border will adjust. However, that's the only thing that will. The scrollbar and text issue is still there.

Thus, IrrlichtTextureTarget::declareRenderSize must be calling some other function to update the window look. I'm shooting in the dark here. What is supposed to be called and where when an event occurs (so that the window updates)?

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

Re: [SOLVED ]Resize, scrollbar, title graphic, key input issues

Postby agamemnus » Wed Mar 24, 2010 06:55

CE.

I found a simple fix, but not a solution per se: switch my opengl render mode to Directx 9. Did you try using Irrlicht with directX9 or with opengl mode?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [SOLVED ]Resize, scrollbar, title graphic, key input issues

Postby CrazyEddie » Wed Mar 24, 2010 10:33

Hmm. I develop on Linux, so generally the GL driver in Irrlicht is used. I'll test out the D3D9 driver later on today :)

CE.

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

Re: [SOLVED ]Resize, scrollbar, title graphic, key input issues

Postby agamemnus » Wed Mar 24, 2010 15:49

DirectX, for me, works fine. Could be related to the driver I am using for my ATIX600XT graphics card (even though the driver new), or Irrlicht's support for that graphics card. I also noticed I didn't have anti-alias working with opengl+irrlicht and (Irrlicht) mipmaps did not work either. (but they do with directx 8 and almost work with 9... very odd)

Speaking of directx8, this library doesn't support it, is that right? I get blank text for my fonts when I switch to DX8...

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [SOLVED ]Resize, scrollbar, title graphic, key input issues

Postby CrazyEddie » Wed Mar 24, 2010 20:37

I didn't get to test Irrlicht with D3D on my systems yet, but I'll definitely do it tomorrow (for nVidia). I will additionally test on an ATI card - don't remember the chipset off the top of my head - over the coming weekend.

agamemnus wrote:Speaking of directx8, this library doesn't support it, is that right? I get blank text for my fonts when I switch to DX8...

Yes. Support for D3D8 was dropped as from version 0.7.0.

CE.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [SOLVED ]Resize, scrollbar, title graphic, key input issues

Postby CrazyEddie » Thu Mar 25, 2010 11:18

With regards to D3D8 - I mean we dropped support for it directly, not via Irrlicht - whether that works or not is down to how well the abstraction is done, amongst other things. I have no interest in that at all though, and it's not something I intend to test - I have no machine with a DX 8.1 SDK and that's fine by me ;)

This morning I have tested the Irrlicht renderer using the D3D(9) driver - including on an ATI HD 4600 (not sure which version of the drivers, ones from last year some time) - but did not find any issues with it not updating.

To answer an earlier point: Generally when something happens - such as a button highlighting or some other rendering change - this will cause the Window to call it's own Window::invalidate function which basically means that on the next rendering pass, the Window's cached geometry will be updated. In addition to this the rendering surface chain will get invalidated so that on the next rendering pass the cached geometry will be (re)drawn to whichever surface and 'cache' surfaces rendered back to their owners.

The call to declareRenderSize is part of the above process when a window is resized.

CE.

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

Re: [SOLVED ]Resize, scrollbar, title graphic, key input issues

Postby agamemnus » Thu Mar 25, 2010 18:50

Again, I have no CEGUI trouble with DirectX. Can you check with OPENGL under Windows?

It could be a thorny combo opengl/driver issue, I suspect. I have an ATIX600XT.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [SOLVED ]Resize, scrollbar, title graphic, key input issues

Postby CrazyEddie » Thu Mar 25, 2010 19:22

agamemnus wrote:Again, I have no CEGUI trouble with DirectX. Can you check with OPENGL under Windows?

This is the regular configuration used for testing. I can confirm there are no issues.

agamemnus wrote:It could be a thorny combo opengl/driver issue, I suspect. I have an ATIX600XT.

Yeah, it's not beyond the realms of possibility. Did you / have you / can you try alternate drivers, or on alternate hardware?

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 30 guests