Re: DlangUI project update

2014-12-30 Thread MrSmith via Digitalmars-d-announce
. Fixed C-style arrays and sent PR https://github.com/buggins/dlangui/pull/24

Re: DlangUI project update

2014-12-29 Thread Vadim Lopatin via Digitalmars-d-announce
at the code, but i hope that image loading is well abstracted in DlangUI? if it is, i can try to write a loaders for png and jpg (jpg? in GUI? holy heavens, why?!). it's better to check if the system has the corresponding libraries with corresponding versions (imlib2 rocks, for example), but i suppose

Re: DlangUI project update

2014-12-29 Thread Rikki Cattermole via Digitalmars-d-announce
software requires it. i didn't looked at the code, but i hope that image loading is well abstracted in DlangUI? if it is, i can try to write a loaders for png and jpg (jpg? in GUI? holy heavens, why?!). it's better to check if the system has the corresponding libraries with corresponding versions

Re: DlangUI project update

2014-12-29 Thread ketmar via Digitalmars-d-announce
On Mon, 29 Dec 2014 09:30:39 + Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Initially, I've used libpng for loading images. But it is compatible only with some particular version of libpng.so yep, libpng sux too. Probably, it makes sense to move

Re: DlangUI project update

2014-12-29 Thread Vadim Lopatin via Digitalmars-d-announce
instead of FreeImage in dlangui.

Re: DlangUI project update

2014-12-29 Thread Rikki Cattermole via Digitalmars-d-announce
de_image instead of FreeImage in dlangui. Sweet sounds good. Also if you don't mind looking into Devisualization.Window as well? It would help get you on to OSX rather fast. Since it already supports it. If there is anything you want help with or just general chat, feel free to ping me on gitter.im

Re: DlangUI project update

2014-12-29 Thread klmp via Digitalmars-d-announce
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Recent changes: - new controls: ScrollWidget, TreeView, ComboBox, ... - new dialogs: FileOpenDialog, MessageBox - a lot

Re: DlangUI project update

2014-12-29 Thread kdmult via Digitalmars-d-announce
On Monday, 29 December 2014 at 09:30:40 UTC, Vadim Lopatin wrote: I've tried to find some replacement for it, and found FreeImage There is http://code.dlang.org/packages/dlib which includes dlib.image - image processing (filters, color correction, FFT, HDRI, graphics formats I/O, support for

Re: DlangUI project update

2014-12-29 Thread Vadim Lopatin via Digitalmars-d-announce
On Monday, 29 December 2014 at 19:55:13 UTC, kdmult wrote: On Monday, 29 December 2014 at 09:30:40 UTC, Vadim Lopatin wrote: I've tried to find some replacement for it, and found FreeImage There is http://code.dlang.org/packages/dlib which includes dlib.image - image processing (filters,

Re: DlangUI project update

2014-12-28 Thread Suliman via Digitalmars-d-announce
Vadim, could you check your email. I Have do not related with DLAGGUI question.

Re: DlangUI project update

2014-12-28 Thread Vadim Lopatin via Digitalmars-d-announce
this error code: http://dpaste.dzfl.pl/0cf2b2476a85 I think the hello world mentioned in the error is the one inside the dlangui directory. My project is only the one made by dub init package-name. Thank you for taking the time to help me. Could you post error log? It's either in stderr output

Re: DlangUI project update

2014-12-28 Thread FrankLike via Digitalmars-d-announce
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Recent changes: - new controls: ScrollWidget, TreeView, ComboBox, ... - new dialogs: FileOpenDialog, MessageBox - a lot

Re: DlangUI project update

2014-12-28 Thread Jack via Digitalmars-d-announce
so long with my net speed. Runnung dub run dlangui:tetris got me this error code: http://dpaste.dzfl.pl/0cf2b2476a85 I think the hello world mentioned in the error is the one inside the dlangui directory. My project is only the one made by dub init package-name. Thank you for taking the time

Re: DlangUI project update

2014-12-28 Thread Russel Winder via Digitalmars-d-announce
On Sun, 2014-12-28 at 09:32 +, Vadim Lopatin via Digitalmars-d-announce wrote: […] I've tested under Ubuntu/x64 only. Probably, there is no DejaVuSans.ttf in /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf or it's located in different location under Arch. If you provide paths to

Re: DlangUI project update

2014-12-28 Thread Vadim Lopatin via Digitalmars-d-announce
On Sunday, 28 December 2014 at 17:29:15 UTC, Russel Winder via Digitalmars-d-announce wrote: On Sun, 2014-12-28 at 09:32 +, Vadim Lopatin via Digitalmars-d-announce wrote: […] I've tested under Ubuntu/x64 only. Probably, there is no DejaVuSans.ttf in

Re: DlangUI project update

2014-12-28 Thread Vadim Lopatin via Digitalmars-d-announce
On Sunday, 28 December 2014 at 14:31:57 UTC, FrankLike wrote: On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. ... Win32 package is useful for WindowsServiceInD,thank you. Frank So you are going to use

Re: DlangUI project update

2014-12-28 Thread Vadim Lopatin via Digitalmars-d-announce
to fonts in Archlinux is: /usr/share/fonts/TTF/DejaVuSans.ttf and running the example lead to a seg fault. I ran the gdb(with ddd) on it and it points to line 93 of /dlangui-0.1.15/src/widgets/controls.d It crashes on null font reference - no fonts in font manager. Try v0.1.16 - it should work

Re: DlangUI project update

2014-12-28 Thread ketmar via Digitalmars-d-announce
On Fri, 26 Dec 2014 12:33:03 + Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui ah, i really love this project! it's stable as a rock: every time i

Re: DlangUI project update

2014-12-28 Thread Jack via Digitalmars-d-announce
Arch, I can prepare quick fix with such hardcoded paths. The path to fonts in Archlinux is: /usr/share/fonts/TTF/DejaVuSans.ttf and running the example lead to a seg fault. I ran the gdb(with ddd) on it and it points to line 93 of /dlangui-0.1.15/src/widgets/controls.d It crashes on null font

Re: DlangUI project update

2014-12-28 Thread Vadim Lopatin via Digitalmars-d-announce
On Sunday, 28 December 2014 at 20:30:53 UTC, ketmar via Digitalmars-d-announce wrote: On Fri, 26 Dec 2014 12:33:03 + Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hello! DlangUI project is alive and under active development. https://github.com

Re: DlangUI project update

2014-12-28 Thread ketmar via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui ah, i really love this project! it's stable as a rock: every time i tried it, it crashing with exception while loading image from file. it's

Re: DlangUI project update

2014-12-28 Thread Vadim Lopatin via Digitalmars-d-announce
: On Fri, 26 Dec 2014 12:33:03 + Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui ah, i really love this project! it's stable as a rock: every time i

Re: DlangUI project update

2014-12-28 Thread ketmar via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote: On Sunday, 28 December 2014 at 20:30:53 UTC, ketmar via Digitalmars-d-announce wrote: On Fri, 26 Dec 2014 12:33:03 + Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hello! DlangUI project

Re: DlangUI project update

2014-12-27 Thread Jack via Digitalmars-d-announce
On Saturday, 27 December 2014 at 06:04:19 UTC, Vadim Lopatin wrote: On Saturday, 27 December 2014 at 02:48:28 UTC, Jack wrote: On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui

Re: DlangUI project update

2014-12-27 Thread Vadim Lopatin via Digitalmars-d-announce
the dlangui directory. My project is only the one made by dub init package-name. Thank you for taking the time to help me. Could you post error log? It's either in stderr output or in file ui.log What is your OS? There is known problem with fonts. For linux, font paths are hardcoded

Re: DlangUI project update

2014-12-27 Thread Jack via Digitalmars-d-announce
think the hello world mentioned in the error is the one inside the dlangui directory. My project is only the one made by dub init package-name. Thank you for taking the time to help me. Could you post error log? It's either in stderr output or in file ui.log What is your OS? There is known

DlangUI project update

2014-12-26 Thread Vadim Lopatin via Digitalmars-d-announce
Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Recent changes: - new controls: ScrollWidget, TreeView, ComboBox, ... - new dialogs: FileOpenDialog, MessageBox - a lot of bugfixes - performance improvements in software renderer - killer app: new

Re: DlangUI project update

2014-12-26 Thread MattCoder via Digitalmars-d-announce
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: DlangUI project is alive and under active development... From time to time I see some people asking for GUI over here, and this could be an answer to that. For what I can see from the screenshot this seems to be very promising

Re: DlangUI project update

2014-12-26 Thread John Colvin via Digitalmars-d-announce
On Friday, 26 December 2014 at 13:36:08 UTC, MattCoder wrote: On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: DlangUI project is alive and under active development... From time to time I see some people asking for GUI over here, and this could be an answer to that. For what

Re: DlangUI project update

2014-12-26 Thread MattCoder via Digitalmars-d-announce
On Friday, 26 December 2014 at 16:14:27 UTC, John Colvin wrote: http://code.dlang.org/?sort=updatedcategory=library.gui Shame on me! I've been using D for almost 2 years for my own projects and believe or not, although I have heard about DUB I didn't know about this site. (Until now when I

Re: DlangUI project update

2014-12-26 Thread Jack via Digitalmars-d-announce
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Recent changes: - new controls: ScrollWidget, TreeView, ComboBox, ... - new dialogs: FileOpenDialog, MessageBox - a lot

Re: DlangUI project update

2014-12-26 Thread Vadim Lopatin via Digitalmars-d-announce
On Saturday, 27 December 2014 at 02:48:28 UTC, Jack wrote: On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Greetings, great work so far! So I have trouble building the project

Re: DlangUI project update

2014-12-26 Thread Suliman via Digitalmars-d-announce
Vadim, could you add in file path in browsing window ability to click on any needed segment of path and move to it level. I mean system like does in Windows 7 in when you can move to D:\code\foo\bar\baz, and after click on foo move to D:\code\foo\

Re: DlangUI project update

2014-12-26 Thread Vadim Lopatin via Digitalmars-d-announce
On Saturday, 27 December 2014 at 06:32:17 UTC, Suliman wrote: Vadim, could you add in file path in browsing window ability to click on any needed segment of path and move to it level. I mean system like does in Windows 7 in when you can move to D:\code\foo\bar\baz, and after click on foo move

Re: DlangUI

2014-06-14 Thread Jim Hewes via Digitalmars-d-announce
Very nice, thanks. I'm looking forward to trying it out when I can find the time. I'm not a big fan of bindings/wrappers. Jim

Re: DlangUI

2014-06-11 Thread Vadim Lopatin via Digitalmars-d-announce
examples/example1/ui.log for lines like 2014-06-11 13:21:11.070 D DrawableCache: adding path C:\projects\d\dlangui\examples\example1\Debug\..\..\..\res\ to resource dir list. 2014-06-11 13:21:11.070 D DrawableCache: adding path C:\projects\d\dlangui\examples\example1\Debug\..\..\..\res\mdpi

Re: DlangUI

2014-06-11 Thread Vadim Lopatin via Digitalmars-d-announce
to copy a libpng file to the example case. I'm not sure what is wrong, the instructions are three lines of code after all. =/ git clone https://github.com/buggins/dlangui.git cd dlangui dub run dlangui:example1 libpng is not needed anymore. These three lines worked ok for me some time ago

Re: DlangUI

2014-06-05 Thread Mike James via Digitalmars-d-announce
Vadim Lopatin coolreader@gmail.com wrote in message news:fylchhowgmwmqhkew...@forum.dlang.org... Hello! I would like to announce my project, DlangUI library - cross-platform GUI for D. https://github.com/buggins/dlangui License: Boost License 1.0 Native library written in D

Re: DlangUI

2014-06-05 Thread via Digitalmars-d-announce
On Thursday, 5 June 2014 at 14:22:46 UTC, Mike James wrote: I am having problems running (debugging) the example1 program. When loading the resources it gets to tab_up_background.9.png (line 579 in file resources.d) and then fails with an exception: Unhandled exception at 0x0044f932 in

Re: DlangUI

2014-06-05 Thread Mike James via Digitalmars-d-announce
On Thursday, 5 June 2014 at 15:15:48 UTC, Casper Færgemand wrote: On Thursday, 5 June 2014 at 14:22:46 UTC, Mike James wrote: I am having problems running (debugging) the example1 program. When loading the resources it gets to tab_up_background.9.png (line 579 in file resources.d) and then

Re: DlangUI

2014-05-23 Thread Chris via Digitalmars-d-announce
On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote: Hello! I would like to announce my project, DlangUI library - cross-platform GUI for D. https://github.com/buggins/dlangui License: Boost License 1.0 Native library written in D (not a wrapper to other GUI library) - easy

Re: DlangUI

2014-05-22 Thread Vadim Lopatin via Digitalmars-d-announce
Some screenshots added: http://buggins.github.io/dlangui/screenshots.html

Re: DlangUI

2014-05-22 Thread Vadim Lopatin via Digitalmars-d-announce
On Thursday, 22 May 2014 at 14:51:07 UTC, John wrote: On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote: I'm keeping in mind a goal to write D language IDE based on dlangui. :) That would be even more cool, with component palettes like in the Lazarus IDE for Free Pascal

DlangUI

2014-05-20 Thread Vadim Lopatin via Digitalmars-d-announce
Hello! I would like to announce my project, DlangUI library - cross-platform GUI for D. https://github.com/buggins/dlangui License: Boost License 1.0 Native library written in D (not a wrapper to other GUI library) - easy to extend. As a backend, uses SDL2 on any platform, Win32 API

Re: DlangUI

2014-05-20 Thread w0rp via Digitalmars-d-announce
Nice work. As a guy who has worked on trying to get bindings for existing GUI libraries to work and noting all of the issues, I appreciate any effort in writing native libraries. The way I see it, wrapper libraries might possibly be as good as using the libraries from the native language some

Re: DlangUI

2014-05-20 Thread Dylan Knutson via Digitalmars-d-announce
Awesome! I can't wait to try it out. Some screenshots in the README would be much appreciated, though

Re: DlangUI

2014-05-20 Thread Kiith-Sa via Digitalmars-d-announce
On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote: Hello! I would like to announce my project, DlangUI library - cross-platform GUI for D. https://github.com/buggins/dlangui License: Boost License 1.0 Native library written in D (not a wrapper to other GUI library) - easy

Re: DlangUI

2014-05-20 Thread Vadim Lopatin via Digitalmars-d-announce
On Tuesday, 20 May 2014 at 20:06:12 UTC, Kiith-Sa wrote: Awesome. Does this work like a conventional GUI toolkit (Gtk/Qt) or could I integrate this in an OpenGL game? (or would I have to integrate the game in it?) Both ways available. But I think, it's better to integrate game into it.

Re: DlangUI

2014-05-20 Thread FrankLike via Digitalmars-d-announce
Helloworld: // main.d import dlangui.all; mixin DLANGUI_ENTRY_POINT; /// entry point for dlangui based application extern (C) int UIAppMain(string[] args) { // resource directory search paths string[] resourceDirs = [ appendPath(exePath, ../res/), // for Visual D and DUB

Re: DlangUI

2014-05-20 Thread Vadim Lopatin via Digitalmars-d-announce
On Tuesday, 20 May 2014 at 22:18:14 UTC, FrankLike wrote: Nice work. Some days ago,I test the hello world ,it need 19M Memory Usage,but now,it's 31M,maybe have some error? Thank you. Nice work. :) Not as bad as you expected. Tried win32 release build w/o USE_SDL and USE_OPENGL version

<    1   2   3