Crystal Space
Welcome, Guest. Please login or register.
November 26, 2014, 07:47:30 pm

Login with username, password and session length
Search:     Advanced search
9026 Posts in 2046 Topics by 9140 Members
Latest Member: Corrycrifford
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Creating AWS Windows at runtime
« previous next »
Pages: [1] Print
Author Topic: Creating AWS Windows at runtime  (Read 1880 times)
smashed
Newbie
*
Posts: 4


View Profile
« on: August 18, 2005, 04:56:36 pm »

Well, I've got a couple of questions regarding AWS:

1. Is it possible to create AWS windows at runtime, that means without a .def file?
2. Can I connect a Signal from a Source (lets say a button) to a Sink/trigger at runtime?

Thanks for your answers Wink
Logged
mark
Full Member
***
Posts: 101


View Profile
« Reply #1 on: August 18, 2005, 05:44:53 pm »

I had the same question and after weeks of searching and trying the answer is no (and if yes, then it is hidden very, very good).
I don't like that def-file stuff and the eventhandling from aws and would appreciate a codeable system with windows based on a hierarchical structure and many methods, but there is no other way... :-/

You can try the window-system from the planeshift project (if it's ok for you to release your program GPLed), this seems to work this way.
Logged

Gentoo Linux ~x86, kernel 2.6.11-cko9 smp, gcc 3.4.4-r1, binutils 2.16.1, glibc 2.3.5 NPTL
CS+CEL Pseudo Stable 2005.09.03
smashed
Newbie
*
Posts: 4


View Profile
« Reply #2 on: August 18, 2005, 08:25:09 pm »

Thanks a lot (although this is not the answer I hoped for Sad ). I think the def-file-only policy is very bad because you loose control and flexibility.

So there is no way to change the content of a window at runtime or have a couple of windows from the same definition, but with different sinks/slots/triggers connected to each of them, right?

Then I will give the Planeshift wnd system a try or write my own.
Logged
sunshine
Administrator
Sr. Member
*****
Posts: 294


View Profile
« Reply #3 on: September 01, 2005, 08:56:17 am »

Christopher Nelson, the author of AWS, is in the process of creating AWS2, which is supposed to address a lot of the complaints and difficulties people have had with AWS. You might want to voice this issue on the crystal-main mailing list so that it comes to his attention.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.31 seconds with 16 queries.