Search found 11 matches

by shalinor
Fri Jul 06, 2007 16:40
Forum: Modifications / Integrations / Customisations
Topic: Forcing a font buffer redraw after resource loss?
Replies: 0
Views: 2537

Forcing a font buffer redraw after resource loss?

I have a situation where the font system works properly, except where I cause a resource loss (involved in a refresh operation), after which CEGUI works perfectly - but the fonts are invisible no matter what I do. How can I force a redraw of the buffers involved in this, or signal CEGUI that a resou...
by shalinor
Tue Apr 10, 2007 18:57
Forum: Offtopic Discussion
Topic: A screenshot example of a complicated CEGUI-powered UI
Replies: 9
Views: 10267

A screenshot example of a complicated CEGUI-powered UI

I don't know how one goes about submitting shots for your gallery, but I thought you might like an example of what happens when you set a technical artist loose with your system. The results are pretty impressive yet still function perfectly, and were actually done with a slightly older version of y...
by shalinor
Fri May 05, 2006 21:28
Forum: Modifications / Integrations / Customisations
Topic: "Manually" created windows invisible, .layout-crea
Replies: 1
Views: 1634

"Manually" created windows invisible, .layout-crea

was: CVSHead crashes on Tablet PC, where old non-Falagard runs I'm seeing a bug where, in debug mode and on certain PCs, windows are invisible if created manually. If I change the code to create the window from a .layout, it works. I'm setting the same properties in both cases - the only difference ...
by shalinor
Fri May 05, 2006 14:21
Forum: Help
Topic: CVS head - how do I get window-rel mouse pos?
Replies: 2
Views: 3311

Once you have the mouse absolute screen position, do some screenToWindow() Window method with that point, so you'll have the position relative to your window. The result will be automatically in the Window Metrics mode. I used this method succesfully with param in absolute and windows either in abs...
by shalinor
Fri May 05, 2006 06:06
Forum: Help
Topic: CVS head - how do I get window-rel mouse pos?
Replies: 2
Views: 3311

CVS head - how do I get window-rel mouse pos?

I've been fighting this for an hour, and it's getting me... irritated. All I want is relative coordinates, relative to the window - that is, 0.0 at left side, 1.0 at right side. Totally, 100% standard thing for a GUI, no? It seems that you've totally removed window metrics, any Window methods that c...
by shalinor
Sun Apr 30, 2006 20:56
Forum: Help
Topic: Tiling window edges in Falagard?
Replies: 5
Views: 4298

You mean to say that I'll need to build a window completely on my own? Using a separate image component for the main window / background, then all four edges, then all four corners (one being a close button and one being the resize point)? Effectively losing FrameWindow as a class, and having to fak...
by shalinor
Sun Apr 30, 2006 20:10
Forum: Help
Topic: Tiling window edges in Falagard?
Replies: 5
Views: 4298

Tiling window edges in Falagard?

How do I specify to Falagard that it should tile the border imagery of a window?

It seems strange at best that it would allow a tiled background but not tiled edges, so surely I'm just missing something?
by shalinor
Sat Apr 29, 2006 16:54
Forum: Help
Topic: Setting the color of a specific StaticImage?
Replies: 1
Views: 2485

Disregard this one too - finally found the property. "ImageColors", handy that. It wasn't in the class documentation for the StaticImage properties like I would expect, I had to hop into the look'n'feel and check directly.
by shalinor
Sat Apr 29, 2006 16:30
Forum: Help
Topic: Setting the color of a specific StaticImage?
Replies: 1
Views: 2485

Setting the color of a specific StaticImage?

I realize I can set the color using the imageSet - that's not what I want. I want a specific StaticImage to have a specific color. Now, I'm using CVS head, so I appear to have lost the handy setColor command that the old StaticImage class had. Is there a property I can use to set the colour rect ins...
by shalinor
Thu Apr 27, 2006 21:46
Forum: Help
Topic: TabControl usage in CVS head has changed?
Replies: 1
Views: 2439

Found the problem. TabHeight became a UDim, instead of a constant value. That is, where in old code I had this: <Property Name="TabHeight" Value="0.1" /> With the new CEGUI, it had to be this: <Property Name="TabHeight" Value="{0.1, 0.0}" /> Simple enough, jus...
by shalinor
Thu Apr 27, 2006 19:14
Forum: Help
Topic: TabControl usage in CVS head has changed?
Replies: 1
Views: 2439

TabControl usage in CVS head has changed?

It seems the use of this class has changed in CVS head, and I'm something at a loss for how to leverage it now? Before, simply throwing DefaultWindows under the TabControl was enough to create buttons to switch between the windows, now, it seems to ignore all of those defaultWindows but the first on...

Go to advanced search