digitalmars.D.announce - Super Simple GUI Library
- Ivan Trombley (15/15) Dec 31 2017 I started a new GUI library project (for various reasons) base on
- Anton Pastukhov (4/19) Jan 01 2018 Hi, it would be nice to see some more info. Screenshots, docs
- Ivan Trombley (3/6) Jan 01 2018 For now, app.d has an example in the doc comments. I'll be adding
- Martin Nowak (13/15) Jan 01 2018 Generating documentation is as simple as `dub build -b ddox` btw.
- Ivan Trombley (2/19) Jan 02 2018 Excellent. Thanks for the info.
I started a new GUI library project (for various reasons) base on SDL2. It's pretty basic at the moment but I created a github repository so that I can hopefully get some feedback on it. What is currently present: - App: an application struct housing the main loop. - Handle: a RAII struct for conveneint handling of SDL pointers. - Area: an abstract rectangular base class for UI items. - BlankArea: a non-visible area that can have children. - RenderArea: an area with children and a render delegate for custom drawing. - VisibleArea: a basic visible area. - TextArea: an area for displaying a single line of text. The github repository is here: https://github.com/Barugon/ssgl Please let me know what you think.
Dec 31 2017
On Monday, 1 January 2018 at 01:57:13 UTC, Ivan Trombley wrote:I started a new GUI library project (for various reasons) base on SDL2. It's pretty basic at the moment but I created a github repository so that I can hopefully get some feedback on it. What is currently present: - App: an application struct housing the main loop. - Handle: a RAII struct for conveneint handling of SDL pointers. - Area: an abstract rectangular base class for UI items. - BlankArea: a non-visible area that can have children. - RenderArea: an area with children and a render delegate for custom drawing. - VisibleArea: a basic visible area. - TextArea: an area for displaying a single line of text. The github repository is here: https://github.com/Barugon/ssgl Please let me know what you think.Hi, it would be nice to see some more info. Screenshots, docs etc. Right now there is just another github repo without single example.
Jan 01 2018
On Monday, 1 January 2018 at 23:38:45 UTC, Anton Pastukhov wrote:Hi, it would be nice to see some more info. Screenshots, docs etc. Right now there is just another github repo without single example.For now, app.d has an example in the doc comments. I'll be adding more examples to the doc comments.
Jan 01 2018
On Tuesday, 2 January 2018 at 02:06:00 UTC, Ivan Trombley wrote:For now, app.d has an example in the doc comments. I'll be adding more examples to the doc comments.Generating documentation is as simple as `dub build -b ddox` btw. See https://github.com/MartinNowak/bloom for an example on how to publish them to gh-pages during CI. Note that the default ddox filter arguments exclude undocumented modules. So you either need to add ddoc comments on the module declarations ```d /// app module module ssgl.app; ``` or change `"-ddoxFilterArgs"` to sth. non-default https://github.com/dlang/dub/blob/bf095d8018d34ec0bf3d7459f722b67d7ddb804f/source/dub/dub.d#L1142.
Jan 01 2018
On Tuesday, 2 January 2018 at 02:12:24 UTC, Martin Nowak wrote:On Tuesday, 2 January 2018 at 02:06:00 UTC, Ivan Trombley wrote:Excellent. Thanks for the info.For now, app.d has an example in the doc comments. I'll be adding more examples to the doc comments.Generating documentation is as simple as `dub build -b ddox` btw. See https://github.com/MartinNowak/bloom for an example on how to publish them to gh-pages during CI. Note that the default ddox filter arguments exclude undocumented modules. So you either need to add ddoc comments on the module declarations ```d /// app module module ssgl.app; ``` or change `"-ddoxFilterArgs"` to sth. non-default https://github.com/dlang/dub/blob/bf095d8018d34ec0bf3d7459f722b67d7ddb804f/source/dub/dub.d#L1142.
Jan 02 2018