Commit Graph

795 Commits

Author SHA1 Message Date
Vadim Lopatin 01d39e0635 implement clipping for line drawing 2015-11-03 16:34:10 +03:00
Vadim Lopatin 0778b77531 OpenGL: drawLine - use line shader instead of drawing line by points 2015-11-03 15:51:49 +03:00
Vadim Lopatin cde32bf2f3 remove usage of std.stream since it's deprecated; fix build warnings on new DMD 2015-11-03 14:20:08 +03:00
Vadim Lopatin a6a818a884 fix DrawBuf.fill behavior - apply clipping rectangle 2015-11-03 10:49:57 +03:00
Vadim Lopatin 0a3ef886b2 fix #95 - window.close behavior on Win32 2015-11-02 11:10:58 +03:00
Vadim Lopatin 61225f156d Merge branch 'master' of github.com:buggins/dlangui 2015-11-02 09:29:32 +03:00
Vadim Lopatin 2ef1154265 fix build errors 2015-11-02 09:28:36 +03:00
Dave Akers bd42a0d5ba Fix loading images upside down when using dlib 2015-08-06 00:48:44 -05:00
FreeSlave c958169f88 Log exception and return null on xpm loading failure. Add copyright 2015-06-07 14:34:15 +03:00
FreeSlave 3638974bdf Should fix x64 build 2015-06-07 14:15:34 +03:00
FreeSlave 9df5d70a6b Add xpm support 2015-06-07 14:06:54 +03:00
Vadim Lopatin eecaf20577 disable logging in win32/release build by default 2015-05-29 09:10:23 +03:00
Vadim Lopatin 33e569d079 for Win32 release mode, use stderr logging to avoid creation of cr3.log file; you can change logger directly in your UIAppMain if needed 2015-05-29 08:38:31 +03:00
Vadim Lopatin 968fae6257 Win 8.1 build as GUI app 2015-05-29 08:22:34 +03:00
Vadim Lopatin a9bc4cded5 remove pragma msg for signal list extraction 2015-05-06 10:06:16 +03:00
Vadim Lopatin be99e37fa2 FontConfig support - elapsed time measurements 2015-05-06 10:02:58 +03:00
Vadim Lopatin 5a977066a4 optimize getting of font list from FontConfig 2015-05-06 10:00:36 +03:00
Vadim Lopatin 2c80ba3f23 combobox improvements 2015-05-05 14:17:22 +03:00
Vadim Lopatin 8edf15db5f FontConfig support 2015-05-05 14:07:33 +03:00
Vadim Lopatin 9b7f4deaf4 DML support improvement 2015-05-05 11:16:48 +03:00
Vadim Lopatin 8190530136 migration to shorter listener names 2015-04-14 13:20:39 +03:00
Vadim Lopatin e34cf65351 convenient form of window.showMessageBox() 2015-04-13 17:35:01 +03:00
Vadim Lopatin 5f7038a4a0 expose ComboBox for DML 2015-04-13 16:49:47 +03:00
Vadim Lopatin 6411f2adde more logging to investigate crash on dmd x86_64 release build 2015-04-10 10:50:00 +03:00
Vadim Lopatin 77a1793761 fix issue #87 2015-04-09 16:24:46 +03:00
Vadim Lopatin e028be2221 3d support continue 2015-04-09 13:59:41 +03:00
Vadim Lopatin 931e26692d fix build under linux 2015-04-09 11:15:00 +03:00
Vadim Lopatin 576d8dbb3b 3d scene, continue 2015-04-08 12:02:16 +03:00
Vadim Lopatin 4452ebdbcd 3d scene, continue development 2015-04-08 08:55:31 +03:00
Vadim Lopatin 9a1d35aa86 trying to fix unittests 2015-04-07 12:24:03 +03:00
Vadim Lopatin d97cec9522 main() refactoring 2015-04-07 12:15:06 +03:00
Vadim Lopatin e592462f6b DML related refactoring 2015-04-07 12:07:21 +03:00
Vadim Lopatin 3eaea625d7 refactoring of DML code 2015-04-07 11:46:03 +03:00
alphaKAI e9473480bb fix implicit convert at src/dlangui/core/parser.d
Erros:
src/dlangui/core/parser.d(162): Error: cannot implicitly convert expression (this._lineText.length) of type ulong to int
src/dlangui/core/parser.d(196): Error: cannot implicitly convert expression (this._lineText.length) of type ulong to int

Original Code(both of these lines):
_len = _lineText.length;
Fixed Core(both of these lines):
_len = cast(int)_lineText.length;
2015-04-03 15:47:46 +09:00
Vadim Lopatin cc0f09a4c4 Hello World rewritten with usage DML parser 2015-04-02 16:30:20 +03:00
Vadim Lopatin c895b3f03a DML editor samples 2015-04-02 15:42:44 +03:00
Vadim Lopatin bd56d0084b DML editor 2015-04-02 14:39:19 +03:00
Vadim Lopatin 5b67dbde81 DML editor sample 2015-04-02 11:53:28 +03:00
Vadim Lopatin f0a615ed82 ML parser improvements; allow specifying percent size for layoutWidth, layoutHeight in percents 2015-04-02 11:06:50 +03:00
Vadim Lopatin 2877cba890 new example: DML editor 2015-04-02 09:50:28 +03:00
Vadim Lopatin 22118b5654 improvements in loading from DML - issue #58 2015-04-01 17:39:58 +03:00
Vadim Lopatin b62334e5c7 improvements in loading from DML - issue #58 2015-04-01 15:14:00 +03:00
Vadim Lopatin bec083326b ML parser, continue 2015-03-31 18:33:06 +03:00
Vadim Lopatin e497b6bb36 ML parser, part 1 2015-03-31 16:39:06 +03:00
Vadim Lopatin 6b5f99853b Merge pull request #82 from Freakazo/master
Make handleAction not protected
2015-03-31 13:07:20 +03:00
Vadim Lopatin b28a1e95b7 list adapters: support adding/removing items, fix issue #80 2015-03-31 13:06:14 +03:00
Vadim Lopatin 433263133c correct win32 opengl initialization - possible fixes issue #81 2015-03-31 10:23:14 +03:00
Hans-Albert Maritz e12b662be6 Make handleAction not protected 2015-03-31 05:37:43 +11:00
Vadim Lopatin 10aa79f479 improve sfml support 2015-03-28 13:06:03 +03:00
Vadim Lopatin 9e08b43f31 dsfml: support keyboard events 2015-03-27 18:43:43 +03:00
Vadim Lopatin 460f02cd57 dsfml support - mouse events and window resize 2015-03-27 18:22:26 +03:00
Vadim Lopatin 27d07cc6d5 add missing files 2015-03-27 16:53:59 +03:00
Vadim Lopatin 045621a90e dsfml platform - initial support 2015-03-27 16:48:40 +03:00
Vadim Lopatin bf9f438d0f fix layout problems 2015-03-27 14:08:40 +03:00
Vadim Lopatin a42c8c0806 fix SimpleTextFormatter 2015-03-27 13:12:48 +03:00
Vadim Lopatin 1b50e0586a platform initialization/deinitialization refactoring 2015-03-27 11:39:55 +03:00
Vadim Lopatin c54da25549 platform initialization/deinitialization refactoring 2015-03-27 11:25:42 +03:00
Vadim Lopatin 9ce0c2a488 remove unnecessary logging 2015-03-27 09:19:30 +03:00
Vadim Lopatin 740857d7bd add missing import 2015-03-27 09:17:18 +03:00
Vadim Lopatin ac7743ad5c add missing import 2015-03-27 09:16:05 +03:00
Vadim Lopatin afea75828e platform init/uninit refactoring - move common parts to platform.d 2015-03-27 09:13:58 +03:00
Vadim Lopatin dbd6b84794 combobox selectedItemIndex chaining 2015-03-25 13:12:59 +03:00
Vadim Lopatin 11ff71753e combobox selectedItemIndex chaining 2015-03-25 13:11:00 +03:00
Vadim Lopatin fc479a1cfa Merge branch 'master' of github.com:buggins/dlangui 2015-03-25 08:43:15 +03:00
Vadim Lopatin b2be31ac9f whitespace remove 2015-03-25 08:43:05 +03:00
Vadim Lopatin a9d1a31f6b added DrawBuf,drawLine() - issue #64 - based on code from Ted Bullen; OpenGL version of drawLine still needs optimization to avoid drawing by-pixel 2015-03-24 21:56:54 +03:00
Vadim Lopatin 0c2b25d558 CanvasWidget, with example 2015-03-24 21:20:47 +03:00
Vadim Lopatin ca58769a91 issue #64 - draw points 2015-03-24 20:47:54 +03:00
Vadim Lopatin 5eec0f91cf fix High DPI window resize 2015-03-24 08:53:16 +03:00
Vadim Lopatin 40a3c36dd2 remove XCB backend from sources 2015-03-23 17:33:24 +03:00
Vadim Lopatin 9ec5b0b1b9 scene 3D, initial implementation 2015-03-23 17:30:08 +03:00
Vadim Lopatin 11d4b33051 better HDPI support 2015-03-23 14:16:26 +03:00
Vadim Lopatin 1a07f72b29 HDPI resources support - issue #76 2015-03-23 12:32:23 +03:00
Vadim Lopatin 865eaab4cb DPI aware font size in log windows: fix issue #76 2015-03-23 11:40:00 +03:00
Vadim Lopatin f511ba03ff fix issue #78
readonly editors
2015-03-23 10:27:58 +03:00
Vadim Lopatin 9ccbbb307c fix issues #76, #72 - High DPI (Retina) displays support 2015-03-23 10:25:26 +03:00
Vadim Lopatin 568b87cc5f fix issues #76, #72 - High DPI (Retina) displays support 2015-03-23 10:24:48 +03:00
Vadim Lopatin c284461b50 fix issue #74 - shaders on Mac 2015-03-23 09:50:29 +03:00
Vadim Lopatin 5f01235be1 trying to fix OpenGL support on Mac OSX 2015-03-20 14:56:14 +03:00
Vadim Lopatin 20f6488694 refactor shaders code 2015-03-19 11:47:11 +03:00
Vadim Lopatin 3b4e98b024 High DPI and resource sizes in points support, possible fix for issue #72 2015-03-19 10:32:24 +03:00
Vadim Lopatin 6cfe98a4f1 possible fix for #74 - undeclared gl_FragmentColor 2015-03-18 12:08:09 +03:00
Vadim Lopatin 115f409c29 OpenGL support improvements 2015-03-18 11:28:03 +03:00
Vadim Lopatin d31130dde9 implement issue #39 - MultilineTextWidget 2015-03-18 11:26:08 +03:00
Vadim Lopatin cd8c617e05 support simple multiline text formatting and drawing 2015-03-18 10:12:30 +03:00
Vadim Lopatin 2155d8418b fix OpenGL support on Win32 backend 2015-03-18 09:30:12 +03:00
Vadim Lopatin 903fafc590 fix OpenGL initialization in SDL app 2015-03-17 13:40:07 +03:00
Vadim Lopatin d4def4cadd trying to fix OpenGL problems on Mac - use texture instead of texture2D in shader 2015-03-17 12:24:56 +03:00
Vadim Lopatin 2f7bd7e108 fix shaders syntax for opengl - fix problem with OpenGL on mac 2015-03-17 10:31:11 +03:00
Vadim Lopatin 8d0d67a5ba trying to fix OpenGL problem on MAC - part 2 2015-03-16 17:16:44 +03:00
Vadim Lopatin 945aabfc1d trying to fix OpenGL problem on MAC 2015-03-16 17:04:42 +03:00
Vadim Lopatin 057a37df3e Try creating OpenGL 2.1, 2.0 context if v3.2 context creation is failed 2015-03-16 11:48:00 +03:00
Vadim Lopatin f599a7e4df fix opengl context creation 2015-03-16 09:39:29 +03:00
Vadim Lopatin 027cfdb685 possible fix for issue #72 - GUI is blurry when using retina displays; theme font size in pt 2015-03-12 10:04:31 +03:00
Vadim Lopatin 0b126d6c4e possible fix for issue #72 - GUI is blurry when using retina displays 2015-03-11 09:12:36 +03:00
Vadim Lopatin 3e75395861 possible fix for issue #72 - GUI is blurry when using retina displays 2015-03-11 09:06:54 +03:00
Vadim Lopatin e8f2057ecd fix mouse coordinates for HIGHDPI on mac 2015-03-10 17:55:26 +03:00
Vadim Lopatin 23bc6f9187 fix issue GUI is blurry when using retina displays #72 2015-03-10 17:44:41 +03:00
Vadim Lopatin 556bae77a9 support tab control placement at bottom 2015-03-10 17:16:58 +03:00
Vadim Lopatin 5bfb363744 fix underline; log widget improvements 2015-03-10 16:03:15 +03:00