Search found 130 matches

by Mikademus
Sun Dec 26, 2010 23:48
Forum: CEGUI Library Development Discussion
Topic: CEGUIColourPicker
Replies: 29
Views: 10812

Re: CEGUIColourPicker

I was looking around to try to find you some good pointers, but actually I came up empty. The Texture class contains no methods for pixel sampling, much less bitmap blitting, the Renderer interface too lacks this. I simply have no idea of how to access bits on a pixel surface controlled by CEGUI. Ku...
by Mikademus
Sun Dec 26, 2010 13:07
Forum: Modifications / Integrations / Customisations
Topic: Direct3D7Renderer?
Replies: 2
Views: 838

Re: Direct3D7Renderer?

DX7 is very much a different beast to DX8. Version 8 fundamentally changed the way to render graphics by managing all data in index and vertex buffers. In DX7, iirc, D3D was in practice a 3D addition to the 2D-oriented DirectGraphics system and 3D rendered to DirectGraphics' 2D surfaces (generally a...
by Mikademus
Sat Dec 25, 2010 11:02
Forum: CEGUI Library Development Discussion
Topic: CEGUIColourPicker
Replies: 29
Views: 10812

Re: CEGUIColourPicker

This might have been said already, but basically, as I understand it, the facilities that would be needed are simple (1) getting access to the texture that is the surface of the window and (2) the ability to read and write a specific pixel from that texture. The colour picker is basically a matter o...
by Mikademus
Thu Dec 23, 2010 20:50
Forum: Help
Topic: Best way to make a tweaking GUI
Replies: 5
Views: 1044

Re: Best way to make a tweaking GUI

uelkfr: Yeah, I would start by renaming StaticText to something that would describe that it's powerful but bloated. Perhaps creating Label in the stock skins to replace it in the simple cases. Any ideas what StaticText should be called in 0.8? BasicText , BasicTextLabel , Label or StaticLabel are g...
by Mikademus
Thu Dec 23, 2010 01:09
Forum: Help
Topic: How to create vertical text string?
Replies: 8
Views: 985

Re: How to create vertical text string?

Again, it should probably be said that static text might not actually be what you want. Name to the contrary it is not just a static text label. See this post by CE: I would start by avoiding static text. To be honest, the static text has become bloated and horrible, and is not really suitable for a...
by Mikademus
Wed Dec 22, 2010 14:56
Forum: CEGUI Library Development Discussion
Topic: API breaking consistency fixes intended for CEGUI 0.8.0
Replies: 50
Views: 15038

Re: API breaking consistency fixes intended for CEGUI 0.8.0

I think the contents of this thread (Just went looney with "MouseEnter" and "MouseLeave"...) perhaps should be mentioned here since it involved backward-breaking fixes intended for the 0.8 branch. I have to agree with emarcotte in that you should try to automate bindings; prefera...
by Mikademus
Tue Dec 21, 2010 20:31
Forum: Help
Topic: Using tolua++ with C++?
Replies: 7
Views: 1879

Re: Using tolua++ with C++?

I really wish I could help you but I think Jamarr is right in that you will probably not get any answers here. Have you looked for any dedicated tolua++ communities, or gone to some of the major lua hubs? Indeed a boring answer to get, I know, but perhaps better than silence...
by Mikademus
Tue Dec 21, 2010 10:57
Forum: CEGUI Library Development Discussion
Topic: CEGUIColourPicker
Replies: 29
Views: 10812

Re: CEGUIColourPicker

Well, "colour picking" also often means that you can sample a colour from anywhere on the screen, and it is common that you can do so when a colour picker widget is active. So musing about how to accomplish that was my train of thought in my message above. And yeah, you're right, the defau...
by Mikademus
Mon Dec 20, 2010 19:46
Forum: CEGUI Library Development Discussion
Topic: CEGUIColourPicker
Replies: 29
Views: 10812

Re: CEGUIColourPicker

Hi! I think this is a very nice idea! Given that I often write tools and I often find I'd like to have a colour picker but can't take the time to make one I for one would certainly find good use for it. I would assume that colour picking in itself would be a matter of gaining access to the render co...
by Mikademus
Thu Dec 16, 2010 15:45
Forum: Help
Topic: [Solved]Name confusion
Replies: 13
Views: 1718

Re: [Solved]Name confusion

About the size and clutter of tools in the toolbox,: yeah, there should be a balance. I actually think that C++ doesn't have too many tools to choose from, which is in fact testified to by that we have C++0x coming and a TR2 on the horizon after that. C++ grows slower than many languages, and I thin...
by Mikademus
Tue Dec 14, 2010 12:53
Forum: Help
Topic: CEGUI+Ogre: Render to Texture Question
Replies: 2
Views: 704

Re: CEGUI+Ogre: Render to Texture Question

Use the renderer for your graphics context (in your case the OGRE renderer):

http://cegui.org.uk/api_reference/class ... derer.html
by Mikademus
Sun Dec 12, 2010 00:26
Forum: Help
Topic: [Solved]Name confusion
Replies: 13
Views: 1718

Re: [Solved]Name confusion

...C++ is an expert-friendly language, but unfortunately the discipline and foresight required by these experts to produce maintainable code aren't very common resources. This is not the language's fault though. :P I still feel that the standard, in this case, results in a negative ROI. Here is why...
by Mikademus
Thu Dec 09, 2010 14:36
Forum: Help
Topic: [Solved]Name confusion
Replies: 13
Views: 1718

Re: [Solved]Name confusion

I suppose the best compromise is to associate specifiers with variables, while actively pushing to slowly phase out semantic-shortcuts in favor of natural-language semantics. There is often an interesting tension between a language's programmability and its readability: languages that are natural-s...
by Mikademus
Wed Dec 08, 2010 19:20
Forum: Help
Topic: [Solved]Name confusion
Replies: 13
Views: 1718

Re: [Solved]Name confusion

If you're interested, have a look at my own code standards at http://wiki.dark-omen.org/do/Wartbed:Code_style I like most of this. ... All in all I think your coding philosophy is spot on ... Especially that you followed KISS with your standards documentation. Thanks :pint: One thing most people wh...
by Mikademus
Wed Dec 08, 2010 16:50
Forum: Help
Topic: How to set an image using LPDIRECT3DBASETEXTURE9
Replies: 3
Views: 811

Re: How to set an image using LPDIRECT3DBASETEXTURE9

About loading images, I think CrEGUI images might abstracted to imagesets. Check this recent thread for a similar question and a possible solution, and some bonus forum drama:

viewtopic.php?f=10&t=5304

Go to advanced search