Search found 515 matches

by Rackle
Mon Apr 28, 2008 14:35
Forum: Help
Topic: Font size + Ogre explained?
Replies: 5
Views: 4520

My contribution was more to the effect of "you do not absolutely have to create the .font files but instead can use code". For each _new font_, which is either a .font file or created dynamically, will increase the memory consumption.
by Rackle
Mon Apr 28, 2008 12:33
Forum: Help
Topic: Font size + Ogre explained?
Replies: 5
Views: 4520

Re: Font size + Ogre explained?

sjcomp wrote:Now I'd like to change the size of the font, which looks like I'd need to create another .font file which has a different font size.


You should have a look at these:
http://www.cegui.org.uk/wiki/index.php/GameChatBox
http://www.cegui.org.uk/wiki/index.php/DynamicFont
by Rackle
Mon Apr 28, 2008 12:31
Forum: Help
Topic: ItemListbox Item Visibility
Replies: 1
Views: 2356

ensureItemIsVisible() is one of the functions you are after. For example usages you may want to look at: http://www.cegui.org.uk/wiki/index.php/WidgetGalore http://www.cegui.org.uk/wiki/index.php/PseudoListbox http://www.cegui.org.uk/wiki/index.php/GameChatBox I'm not sure of the name of the others;...
by Rackle
Mon Apr 28, 2008 12:28
Forum: Modifications / Integrations / Customisations
Topic: Disappearing Windows & Performance Problems
Replies: 5
Views: 4873

Are you setting properties to the same value? This would kill performance as the Cegui cache cannot be used and would need to be recreated every time. Here's a concrete example of what I'm asking onProcessFrame() { String currentValue; for(int i = 0; i < list.size(); i++)...
by Rackle
Fri Apr 25, 2008 14:46
Forum: Help
Topic: Basics Function of CEGUI
Replies: 6
Views: 5026

WidgetGalore shows the basic use of almost every widget available to Cegui. This should be a good starting point. There are also samples included with the Cegui distribution. Finally you could take a look at the various code snippets in the wiki. Since you are using Ogre, you may want to have a loo...
by Rackle
Tue Apr 15, 2008 16:52
Forum: Help
Topic: Copy All Properties
Replies: 5
Views: 4643

Yes, back when I was working on a drag and drop system. This feature was to handle the situation of dragging an item from a spellbook and dropping it on a toolbar. This required creating a copy of the spellbook item. And then I stopped having time and can't play anymore (i.e. program Cegui stuff). /...
by Rackle
Fri Apr 11, 2008 20:34
Forum: Help
Topic: Copy All Properties
Replies: 5
Views: 4643

This code should still work: void CloningSystem::copyProperties(CEGUI::Window* pSource, CEGUI::Window* pDestination) { CEGUI::PropertySet::Iterator itPropertySet = ((CEGUI::PropertySet*) pSource)->getIterator(); while (!itPropertySet.isAtEnd()) &#...
by Rackle
Sun Mar 30, 2008 10:14
Forum: Modifications / Integrations / Customisations
Topic: How I can rotate the CEGUI's staticImage or window?
Replies: 5
Views: 4423

You could check out Image Magick for manipulating the image. Or maybe you want to render an animated image? Here's an example using Ogre to render a 3D mesh: CEGUI Build Dialog - CEGUI dialog which displays rotating 3D meshes on multiple buttons.
by Rackle
Fri Mar 28, 2008 20:41
Forum: Help
Topic: i18n support
Replies: 2
Views: 2814

These two wiki entries may be useful to you: Formatted_Numeric_Data makes use of IBM's ICU to display values in various locales within Cegui. This includes the format of numbers (123,456.78 versus 123.456,78), currencies, local to/from GMT date and time conversions and other gooddies. There also has...
by Rackle
Mon Mar 10, 2008 13:20
Forum: Help
Topic: Creating custom controls guide?
Replies: 4
Views: 4264

If I understand correctly, you want a row of images and a horizontal scrollbar to navigate through the images. In addition you also want these images to be dynamic, to possibly render these as 3D objects from Ogre. Well, you're in luck: CEGUI dialog which displays rotating 3D meshes on multiple butt...
by Rackle
Mon Mar 10, 2008 13:12
Forum: Offtopic Discussion
Topic: Font colour
Replies: 8
Views: 8662

You should have a look at Game Chat Box. That code allows you to use dynamic fonts (arial 10, 12, 16, etc, times new roman, etc).

There was a post with some code to wrap the text within a listbox text item. [need a link to that post]
by Rackle
Tue Mar 04, 2008 13:33
Forum: User Projects
Topic: Argentum Online 2
Replies: 16
Views: 22462

by Rackle
Thu Feb 28, 2008 21:44
Forum: Help
Topic: VertScrollPosition with StaticText
Replies: 2
Views: 3064

A different approach would be to use a ListBox. Have a look at GameChatBox , a working chat window that also supports multiple font sizes. You should try to obtain a handle to the automatically created scrollbar and talk to it directly. Its "real" name is based on the name of your main wid...
by Rackle
Tue Feb 26, 2008 19:22
Forum: Help
Topic: Word-Wrap ListboxItem
Replies: 4
Views: 4836

I do not know.
by Rackle
Tue Feb 26, 2008 14:36
Forum: Offtopic Discussion
Topic: Keyboard (spatial) navigation support...
Replies: 4
Views: 5531

The files exist only in the wiki and not within the svn nor the download distribution. You have to create the files as named and copy+paste the contents within those files.

Go to advanced search