May 29, 2013 Re: Need some opinions for a GUI editor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Flamaros | On 2013-05-29 12:22, Flamaros wrote: > You think it's easier to do or to use? I would think it's easier to develop such editor. Probably just as easy to use as a built in editor. > We can't do serialization because our GUI files are lua scripts. I assume you will have some kind of objects floating around in memory. Serialize those to whatever format you use, in this case Lua. -- /Jacob Carlborg |
May 29, 2013 Re: Need some opinions for a GUI editor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Flamaros | On 05/28/2013 11:25 PM, Flamaros wrote:
> Hi,
>
> I and a friend are developing a GUI library, and now our script engine
> is ready to start a prototype (but far to be finished).
What do you use for rendering?
|
May 29, 2013 Re: Need some opinions for a GUI editor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Wednesday, 29 May 2013 at 19:35:31 UTC, Jacob Carlborg wrote: > On 2013-05-29 12:22, Flamaros wrote: > >> You think it's easier to do or to use? > > I would think it's easier to develop such editor. Probably just as easy to use as a built in editor. > >> We can't do serialization because our GUI files are lua scripts. > > I assume you will have some kind of objects floating around in memory. Serialize those to whatever format you use, in this case Lua. We'll have nothing else than Lua declarations, and Items properties aren't simple values because we are using propety bindings pattern (you make take a look at http://en.wikipedia.org/wiki/QML). With that their is nothing static, to illustrate if you size the window all can be adapted efficiently by user defined behaviors. |
May 29, 2013 Re: Need some opinions for a GUI editor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Wednesday, 29 May 2013 at 19:38:57 UTC, Martin Nowak wrote:
> On 05/28/2013 11:25 PM, Flamaros wrote:
>> Hi,
>>
>> I and a friend are developing a GUI library, and now our script engine
>> is ready to start a prototype (but far to be finished).
>
> What do you use for rendering?
We use OpenGL 2.1, we target this particular version for intel drivers and stay close to OpenGLES.
|
May 30, 2013 Re: Need some opinions for a GUI editor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Flamaros | On Wednesday, 29 May 2013 at 21:45:38 UTC, Flamaros wrote: > Need some opinions for a GUI editor You can combine both approaches: make the editor an external app that would communicate with your running application (if it's compiled in an editor-enabled mode). > On Wednesday, 29 May 2013 at 19:38:57 UTC, Martin Nowak wrote: >> On 05/28/2013 11:25 PM, Flamaros wrote: >>> Hi, >>> >>> I and a friend are developing a GUI library, and now our script engine >>> is ready to start a prototype (but far to be finished). >> >> What do you use for rendering? > > We use OpenGL 2.1, we target this particular version for intel drivers and stay close to OpenGLES. It's very interesting to see what you guys did so far! :) |
May 30, 2013 Re: Need some opinions for a GUI editor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Flamaros | On 2013-05-29 23:43, Flamaros wrote: > We'll have nothing else than Lua declarations, and Items properties > aren't simple values because we are using propety bindings pattern (you > make take a look at http://en.wikipedia.org/wiki/QML). > > With that their is nothing static, to illustrate if you size the window > all can be adapted efficiently by user defined behaviors. Ok, I see. That seems to be a bit more tricky. -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation