Re: N-dimensional slices is ready for comments!
16.06.2015 1:11, Denis Shelomovskij пишет: 15.06.2015 11:40, Ilya Yaroshenko пишет: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice N-dimensional slices is real world example where `static foreach` would be useful. Corresponding lines was marked with //TODO: static foreach Best regards, Ilya http://forum.dlang.org/post/l315jb$avg$1...@digitalmars.com Sorry, this was the last one: "Finally full multidimensional arrays support in D" http://forum.dlang.org/thread/lg7c0t$jmg$1...@digitalmars.com -- Денис В. Шеломовский Denis V. Shelomovskij
Re: N-dimensional slices is ready for comments!
15.06.2015 11:40, Ilya Yaroshenko пишет: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice N-dimensional slices is real world example where `static foreach` would be useful. Corresponding lines was marked with //TODO: static foreach Best regards, Ilya http://forum.dlang.org/post/l315jb$avg$1...@digitalmars.com -- Денис В. Шеломовский Denis V. Shelomovskij
Re: DGui is alive
26.05.2014 23:08, Andre пишет: On Saturday, 24 May 2014 at 07:20:49 UTC, Denis Shelomovskij wrote: 20.05.2014 17:46, FrankLike пишет: DGui need some other controls,such as imageButton,DataView,GridViewe.t.c. There is no plan to add new controls and I don't see any lacking ones. One can use `paint` event to draw image on button and there is `GridPanel` (with usage example `grid.d`) so I don't understand why `GridView` is needed and what is its purpose. Also I don't know what is `DataView` for. DGui is really fantastic, it is easy to use and without a big overhead. What I experienced, developers coming from other frameworks might miss a horizontal/vertical layout. This would be much easier than using a grid for this purpose. Also some more examples could boost the popularity of DGui. Especially, how can I create create my own controls? Horizontal/vertical layout can be achieved using `Control.dock` property. I will think about examples and documentation improvements. What would be really nice for business developer would be a specific Stringgrid control (like delphi/lazarus has). Here an example http://i.stack.imgur.com/FJFiN.gif Use `ListView` and `TreeView` classes. Do you accept pull requests if developers provide you new stuff for DGui? Yes, but I strongly recommend to contact me first to plan and synchronize activities to prevent useless time wasting. -- Денис В. Шеломовский Denis V. Shelomovskij
Re: DGui is alive
20.05.2014 17:46, FrankLike пишет: DGui need some other controls,such as imageButton,DataView,GridViewe.t.c. There is no plan to add new controls and I don't see any lacking ones. One can use `paint` event to draw image on button and there is `GridPanel` (with usage example `grid.d`) so I don't understand why `GridView` is needed and what is its purpose. Also I don't know what is `DataView` for. -- Денис В. Шеломовский Denis V. Shelomovskij
Re: DGui is alive
21.05.2014 15:05, Suliman пишет: On Wednesday, 21 May 2014 at 08:25:20 UTC, Denis Shelomovskij wrote: 20.05.2014 22:46, Suliman пишет: DGui need some other controls,such as imageButton,DataView,GridViewe.t.c. Thank you. Frank Yes, I very need imageButton. Is there any chance that they will be developed in nearest time? No, not in near future. General usage of buttons with images is a `ToolBar` so there is a `ToolButton` with image. As for other controls, e.g. a regular `Button`, one can draw everything in `paint` event. What is the difference between imageButton and ToolButton? There is no `imageButton` objects in DGui. `ToolButton` is a button placed in `ToolBar` and it can have an image. -- Денис В. Шеломовский Denis V. Shelomovskij
Re: DGui is alive
20.05.2014 22:46, Suliman пишет: DGui need some other controls,such as imageButton,DataView,GridViewe.t.c. Thank you. Frank Yes, I very need imageButton. Is there any chance that they will be developed in nearest time? No, not in near future. General usage of buttons with images is a `ToolBar` so there is a `ToolButton` with image. As for other controls, e.g. a regular `Button`, one can draw everything in `paint` event. I need example how to draw line (small Paint) with this lib. Does DGUI can do it? If not I would need to look for alternative... Here is an example of button with image and lines drawn on it: https://gist.github.com/denis-sh/56e2104dba7d9793f68d -- Денис В. Шеломовский Denis V. Shelomovskij
Re: DGui is alive
20.05.2014 18:11, FrankLike пишет: Can you put DGui into github.com and code.dlang.org ? Let all d's coders build on it! Thank you. Frank It is already in code.dlang.org. As for Github I have already answered here [1]. [1] http://forum.dlang.org/post/llf00b$2pl5$1...@digitalmars.com -- Денис В. Шеломовский Denis V. Shelomovskij
DGui is alive
DGui is a lightweight graphic library for Windows with API close to .NET's Windows Forms. The library is written by Trogu Antonio Davide, but he isn't supporting it any longer so you can refer me as a current project manager. One can get examples and OMF import libraries needed to build executables from "Downloads" section on project page. Project repo page: https://bitbucket.org/dgui/dgui/ Note: The project API should be stable now, but lots of stylistic renames happened recently so if one has a huge codebase using old names and want to upgrade to current version you can contact me and I will prepare autorenaming scripts for you (I used it to do renaming anyway). Sorry for API breakage, I just couldn't see all those C-style uppercased enums any more. P.S. I was waiting to be able to do planned API breaking changes before posting here so the announce is half a year later than the project resurrection date. -- Денис В. Шеломовский Denis V. Shelomovskij