Can SimpleDialog windows remember their position?
Posted: Wed Nov 17, 2004 7:55 am
Basically, I'd like to be able to simulate a persistent window across several tools. Say, a Button tool to open up a dialog that includes every bone perameter imaginable, that can be moved out of the way, and then be re-called in position and kept updated as a coroutine inserted into all the bone tools. It's not so much use if it keeps moving right back to the middle of the screen. Haven't been able to figure if this is possible. Is there a parameter that can be passed to the dialog, or maybe thats part of the SimpleDialogRegister function that ins't used in any of the current scripts? This one thing would be really useful.
Also, and I believe something had been asked about it in an earlier post - reading through "Programming in Lua" I noticed that they say that a function called loadlib() is included in the standard Lua distribution for the express purpose of calling functions in external libraries, such as .DLLs in windows, from within Lua. It doesn't seem to be here, was it not included intentionally (maybe a pain to set up or a problem crossplatform-wise)? That would also be a great thing to have, to use external libs or get right to the OS functions. For example you could call one of the existing parsers for SWF's and just do the needed conversions in Lua to make a SWF importer. Thought it might be cool.
--Brian
Also, and I believe something had been asked about it in an earlier post - reading through "Programming in Lua" I noticed that they say that a function called loadlib() is included in the standard Lua distribution for the express purpose of calling functions in external libraries, such as .DLLs in windows, from within Lua. It doesn't seem to be here, was it not included intentionally (maybe a pain to set up or a problem crossplatform-wise)? That would also be a great thing to have, to use external libs or get right to the OS functions. For example you could call one of the existing parsers for SWF's and just do the needed conversions in Lua to make a SWF importer. Thought it might be cool.
--Brian