Search found 22 matches
- Mon Jul 07, 2008 20:09
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
- Sun Aug 13, 2006 22:05
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
- Tue Aug 08, 2006 02:49
- Forum: Modifications / Integrations / Customisations
- Topic: NGlayout for CEGUI
- Replies: 1
- Views: 1878
After careful consideration I am going to shelf this until Cairo has stabilized and is more widely supported. 1.Creating a mozilla based html widget with the outgoing engine will do nothing for games in early enough development stage to consider using it. 2.Porting mozilla/gfx is a super project in ...
- Mon Aug 07, 2006 20:35
- Forum: Modifications / Integrations / Customisations
- Topic: NGlayout for CEGUI
- Replies: 1
- Views: 1878
NGlayout for CEGUI
I am really interested in porting NGLayout to work in CEGUI. In order to stop from hijacking my own CEGUI Lua thread, I started a new one. I broke into mozilla/gfx today and I can already see it is going to take a great deal of work before even considering mozilla/widget. I was right about DeviceCon...
- Mon Aug 07, 2006 15:26
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
(Next week I am going to attempt to modify mozilla/gfx and mozilla/widget to support CEGUI :D ... That may take awhile though.) Sounds ambitious :P but interesting. Let us know how it goes :) Well it is that time...(rolls up sleaves) I am not nearly as worried about mozilla/widget as I am mozilla/g...
- Mon Aug 07, 2006 14:21
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
Meh, you know you coded too much on the weekend when you wake up realizing that there is a bug in code that requires you to recompile 3 libraries and to make it worse you have put the code out on the net. Anyway, I am changing the table part of the switch to read: case LUA_TTABLE: //It is a table, w...
- Sat Aug 05, 2006 19:22
- Forum: Help
- Topic: Problems populating a listbox
- Replies: 4
- Views: 4150
- Sat Aug 05, 2006 19:11
- Forum: Help
- Topic: Problems populating a listbox
- Replies: 4
- Views: 4150
- Sat Aug 05, 2006 18:37
- Forum: Help
- Topic: Problems populating a listbox
- Replies: 4
- Views: 4150
- Sat Aug 05, 2006 18:17
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
sry about the duplicated effort here. Well, it is technically not a duplicated effort, so don't be sorry about that. :) My need for this stemmed from wanting to be able to have a Lua defined gui. But since my key map window will also be in lua, I needed a way to bind OIS::Keypressed to lua events. ...
- Sat Aug 05, 2006 17:47
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
Score!!!! After all the headaches that code caused me, I was starting to think noone cared. :( Metatables are wierd, they push a value on the stack, but technically don't return anything. The above never would have worked if I didn't slip up once trying to debug and put a 0 where a 1 should have bee...
- Sat Aug 05, 2006 05:20
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
Ok I just downloaded 5.0RC1 to see if it was implemented already. It is almost there..and your code is much nicer than mine :p But you should still take into account userdata. The way that I am using CEGUI is as a scriptable interface in my game, but there are times when someone will want to hook in...
- Sat Aug 05, 2006 02:39
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
- Sat Aug 05, 2006 02:37
- Forum: Offtopic Discussion
- Topic: FAQ wiki problem
- Replies: 1
- Views: 2506
FAQ wiki problem
Just thought someone might want to correct this... What is the correct way to subscribe for an event? Event notification is a vital aspect of GUI programming. CEGUI handles those using subscribers. In order to subscribe a window for an event, you have to call the method 'Window::subscribeEvent', pas...
- Wed Aug 02, 2006 00:56
- Forum: Modifications / Integrations / Customisations
- Topic: [PATCH INCLUDED] Setting events to Lua members.
- Replies: 12
- Views: 10775
[PATCH INCLUDED] Setting events to Lua members.
Ok, finally got it rewritten. Much tighter IMO. And because there is no more redundant code; it is faster, uses less memory, and will handle more possibilities than I had originally considered. It was alot easier to test as well, as a single call will basically chain through every part. Here is the ...