Search found 17 matches

by Acrion
Wed Jul 20, 2005 12:24
Forum: User Projects
Topic: Lua made Layout IDE
Replies: 5
Views: 7848

Re: Lua made Layout IDE

My biggest issue is using live widgets. I'm using a StaticImage for the container (and for getting a border) but I have to disable the live widget so that it will not take events. This works great except widgets don't always look their best when disabled. I was hoping I wouldn't have to create a new...
by Acrion
Wed Jul 20, 2005 12:15
Forum: Modifications / Integrations / Customisations
Topic: Editbox/button text align
Replies: 10
Views: 10591

Re: Editbox/button text align

How will Falagard handle this in relation to your patch? Will they be compatible?
by Acrion
Tue Jul 19, 2005 16:20
Forum: User Projects
Topic: Lua made Layout IDE
Replies: 5
Views: 7848

Re: Lua made Layout IDE

Yes, I am aware... But to use that would ruin my fun.

Actually, I'm looking for an OS independent, dynamic environment for (mostly myself) learning how CEGUI works and acts.

Some people play polo, some golf or video games... I'm quite partial to Lua.
by Acrion
Tue Jul 19, 2005 15:59
Forum: Modifications / Integrations / Customisations
Topic: curved window
Replies: 14
Views: 7365

Re: curved window

Is there any thoughts into creating a region system similar to Windows API HRGN?

It is relatively simple to implement into the core with PointInRgn() in Windows but does anyone know of C++ API to achieve this efficiently under any OS?
by Acrion
Tue Jul 12, 2005 17:23
Forum: Offtopic Discussion
Topic: sheet / root window events
Replies: 2
Views: 3306

Re: sheet / root window events

Have you tried EventActivated and EventDeactivated on either all of your widgets or the (doubt it would work as your widgets are children) root sheet? I never tried MouseClicked but MouseButtonDown and MouseButtonUp work properly on the root for me as of 0.3.0. Another thing that might be effective ...
by Acrion
Fri Jul 08, 2005 17:33
Forum: Modifications / Integrations / Customisations
Topic: starting the System with my own ScriptModule
Replies: 8
Views: 4294

Re: starting the System with my own ScriptModule

I think I got around that by using a different overloaded constructor and passing NULL as the configuration file when I created System with a scripting module.
by Acrion
Thu Jul 07, 2005 14:00
Forum: Modifications / Integrations / Customisations
Topic: runtime assertion in version 0.3.0
Replies: 3
Views: 2597

Re: runtime assertion in version 0.3.0

Compiler and version? dependency library versions? Anything else you can provide?

Have you traced it in debug to see what file and line triggers the first error?
by Acrion
Wed Jul 06, 2005 18:14
Forum: User Projects
Topic: Lua made Layout IDE
Replies: 5
Views: 7848

Lua made Layout IDE

I'm working on an IDE in CEGUI to create CEGUI interfaces. This is primarily for my next project but I think others will find it useful too. The current layout is similar to a Visual Basic IDE. The toolbox is created by an array of Widget names with custom icons. The components on the "forms&qu...
by Acrion
Wed Jul 06, 2005 18:02
Forum: Modifications / Integrations / Customisations
Topic: 2 buttons with different images
Replies: 2
Views: 2039

Re: 2 buttons with different images

Please see my post: http://www.cegui.org.uk/modules/newbb/viewtopic.php?topic_id=537&forum=5&post_id=4673#forumpost4673 The example is by Lua Script but it shows you how it can be done on a per button basis. You could always subclass and create default images in the const section as well. Ho...
by Acrion
Tue Jul 05, 2005 11:31
Forum: CEGUI Library Development Discussion
Topic: Lua and the Menu system
Replies: 3
Views: 4418

Re: Lua and the Menu system

Awesome, thanks. It was mostly a case of not understanding the menu system. I was assuming that I needed to access the lists directly.
by Acrion
Mon Jul 04, 2005 14:10
Forum: CEGUI Library Development Discussion
Topic: scripting suggestions
Replies: 30
Views: 21751

Re: scripting suggestions

This is how I set the image properties for a button. local button = WindowManager:createWindow( "WindowsLook/Button", name .. ".New" .. element ) setProperties( fw, button, CEGUI.Absolute, 8.0 + x * 26, 76.0 + y * 26, 24, 24) button:setProperty("NormalIma...
by Acrion
Sun Jul 03, 2005 04:12
Forum: CEGUI Library Development Discussion
Topic: Lua and the Menu system
Replies: 3
Views: 4418

Lua and the Menu system

CEGUI 0.3.0 was released with the new menu system but it isn't implemented in LuaScriptModule (ItemListBase?). I'm not up to par with tolua++ and the menus system. I don't know where to begin to do it on my own at this point. Has anyone added this to the lua scripting yet or gotten a menu created in...
by Acrion
Sun Jul 03, 2005 02:42
Forum: Modifications / Integrations / Customisations
Topic: Getting run-time exception
Replies: 12
Views: 5978

Re: Getting run-time exception

Make sure your "Debug Working Directory" is set to where your Binary is located. Also, ensure that the "datafiles\" directory is in the same directory as your exe. Another thing you can try is to build your project then run the EXE that it created directly. (Not through the devel...
by Acrion
Sat Jul 02, 2005 14:19
Forum: CEGUI Library Development Discussion
Topic: scripting suggestions
Replies: 30
Views: 21751

Including LuaScriptModule.h

What is the politically correct way to include LuaScriptModule? Is the standard in CEGUI to add ScriptingModules/CEGUILua/LuaScriptModule/include to the include paths or be releative? I want my app to be able to be compiled "out-of-the-box" if at all possible. Short of: #include "../S...
by Acrion
Sat Jul 02, 2005 07:50
Forum: Modifications / Integrations / Customisations
Topic: My Dependency Package for Microsoft Visual C++ 2005 Beta 2
Replies: 3
Views: 2392

XP Themes in Microsoft Visual C++ 2005 Beta 2

I'm not sure how many people would actually care but an up to date game or application should take full advantage of all current operating system benefits. Here's Window XP's themes in MSVC++ 2005. Please note: Typically InitCommonControls (not Ex) is used. I found that it may not be friendly with C...

Go to advanced search