Commit Graph

1752 Commits

Author SHA1 Message Date
Vadim Lopatin 354095fa8f support SelectAll by Ctrl+A in editors 2014-04-24 16:32:10 +04:00
Vadim Lopatin 08fb2f27d3 support multiple views for same EditableContent - demo 2014-04-24 16:12:02 +04:00
Vadim Lopatin 8b0570b22e support multiple views for same EditableContent 2014-04-24 15:48:34 +04:00
Vadim Lopatin ec31e0838c editor content enhancements 2014-04-24 15:38:15 +04:00
Vadim Lopatin 37194b81b2 replace mode support in editors (toggled by INS) 2014-04-24 15:14:50 +04:00
Vadim Lopatin f5bf1bb9ec editor readonly mode support 2014-04-24 14:37:53 +04:00
Vadim Lopatin 72ddb2efb7 selection highlight for EditLine 2014-04-24 14:16:40 +04:00
Vadim Lopatin 117d4ce33e editors enhancements 2014-04-24 13:58:10 +04:00
Vadim Lopatin 9fb9a451d4 shift+tab to remove space before cursor or selection 2014-04-24 12:31:23 +04:00
Vadim Lopatin 2473a3f604 tabs and indentations in editors 2014-04-24 12:14:32 +04:00
Vadim Lopatin ca094497a1 fonts refactoring; support tabs 2014-04-24 10:56:06 +04:00
Vadim Lopatin 31794b9df6 font support fixes 2014-04-24 09:57:32 +04:00
Vadim Lopatin 5472b2456b fix freetype support 2014-04-24 09:42:23 +04:00
Vadim Lopatin 729b406a45 performance optimizations 2014-04-23 16:43:56 +04:00
Vadim Lopatin 02f158e128 undo/redo fixes 2014-04-23 14:58:31 +04:00
Vadim Lopatin 83b1651969 Undo/Redo for editors, part 1 2014-04-23 13:55:17 +04:00
Vadim Lopatin c335a6dd5f fix linux build 2014-04-23 10:28:25 +04:00
Vadim Lopatin 4ffb33f0ae win32 clipboard support working in editors 2014-04-23 10:18:03 +04:00
Vadim Lopatin 4348b859c7 clipboard support in editors, part 1 2014-04-23 10:00:16 +04:00
Vadim Lopatin 99e4e4e732 clipboard text operations for win32 2014-04-23 09:25:36 +04:00
Vadim Lopatin 426acf5518 editline fixes| 2014-04-22 20:50:19 +04:00
Vadim Lopatin 408c29aa95 move cursor to prev/next line on left/right buttons at begin/end of line 2014-04-22 19:18:03 +04:00
Vadim Lopatin c58e4eeee3 editors refactoring; get EditLine working 2014-04-22 18:50:16 +04:00
Vadim Lopatin a5aaa1a9cc editors refactoring 2014-04-22 17:00:57 +04:00
Vadim Lopatin 28774a9ba6 editors refactoring 2014-04-22 16:58:31 +04:00
Vadim Lopatin bf8864da1a editbox: allow backspace/del to merge lines 2014-04-22 16:41:05 +04:00
Vadim Lopatin e877cf54d3 editbox: selection replacement 2014-04-22 16:21:03 +04:00
Vadim Lopatin 17584e0a96 selection in editbox 2014-04-22 14:48:15 +04:00
Vadim Lopatin 3d01c1515f editbox fixes 2014-04-22 13:54:47 +04:00
Vadim Lopatin a2a146e11b EditBox: support PageUp/PageDown and Ctrl+PageUp/PageDown 2014-04-22 13:32:33 +04:00
Vadim Lopatin 2d4e14cee1 XCB keyboard input, still unfinished 2014-04-22 10:28:00 +04:00
Vadim Lopatin 3611182e91 linux/xcb key events support, part 1 2014-04-21 16:30:53 +04:00
Vadim Lopatin 19f138ea07 fix linux x64 build / mono-d build 2014-04-21 15:14:07 +04:00
Vadim Lopatin 178d6fd00b editbox optimizations for fixed font 2014-04-21 15:08:48 +04:00
Vadim Lopatin 31f7507822 editbox scrollbars 2014-04-21 14:43:24 +04:00
Vadim Lopatin 5149ccfe3d EditBox - navigation is working 2014-04-21 11:54:31 +04:00
Vadim Lopatin d9162b7496 Edit Box - measure and draw lines 2014-04-21 11:01:50 +04:00
Vadim Lopatin e04d2ab7a5 stub for EditBox implementation 2014-04-21 09:50:00 +04:00
Vadim Lopatin 91dc5a7e49 editors refactoring 2014-04-21 09:20:43 +04:00
Vadim Lopatin 34e3f8ec06 editline: support backspace and del 2014-04-20 08:57:45 +04:00
Vadim Lopatin 083241ce3f can enter text into editline 2014-04-20 08:34:21 +04:00
Vadim Lopatin 8e4897aa9b accelerator table; editline 2014-04-20 07:49:24 +04:00
Vadim Lopatin 31e7a1de19 EditLine - update caret position using mouse 2014-04-18 16:50:06 +04:00
Vadim Lopatin 7bce36f40d editline development; fix padding and margins attributes support in styles} 2014-04-18 15:43:12 +04:00
Vadim Lopatin d1a794dcb2 edit line 2014-04-18 15:14:36 +04:00
Vadim Lopatin f7045cac6a editors, part 1 2014-04-18 14:24:53 +04:00
Vadim Lopatin 84f6988f36 fix styles 2014-04-18 12:09:51 +04:00
Vadim Lopatin ff13dce081 support of frame drawables; use frame drawable as list item background 2014-04-18 11:50:49 +04:00
Vadim Lopatin adac2b3c8d fixed Signal opAssign with null 2014-04-18 06:45:04 +04:00
Vadim Lopatin 71a1e4cc78 fix issue #1 2014-04-18 06:24:17 +04:00
Vadim Lopatin cd731525af fix buttons behavior 2014-04-17 22:48:13 +04:00
Vadim Lopatin 1bc3a724d1 Merge branch 'master' of github.com:buggins/dlangui 2014-04-17 17:31:48 +04:00
Vadim Lopatin e18955321a freeimage support fix - transparent paletized images 2014-04-17 17:09:47 +04:00
Vadim Lopatin 4ae03b56dc fix paletized images support / freeimage 2014-04-17 17:02:52 +04:00
Vadim Lopatin a61c611433 fix mono-D project / linux build 2014-04-17 16:23:36 +04:00
Vadim Lopatin 4c4846e4a7 implement CheckBox and RadioButton controls 2014-04-17 16:17:58 +04:00
Vadim Lopatin 53e1898487 move standard resources to solution directory; add helloworld project 2014-04-17 11:53:39 +04:00
Vadim Lopatin ee2ed00c2b fixes 2014-04-17 10:29:18 +04:00
Vadim Lopatin e6782a24af simplify app initialization code 2014-04-17 10:25:04 +04:00
Vadim Lopatin 85b8f895b9 fix DUB build of library under windows 2014-04-17 00:27:47 +04:00
Vadim Lopatin 32d0bc65af add modules documentation and license 2014-04-16 23:58:54 +04:00
Vadim Lopatin a710eb5216 list and focus handling fixes 2014-04-16 16:07:59 +04:00
Vadim Lopatin dd687b4433 fix lists 2014-04-16 15:28:19 +04:00
Vadim Lopatin 716027aab4 list fixes 2014-04-16 14:39:14 +04:00
Vadim Lopatin c18f9ee890 signals support 2014-04-16 12:26:33 +04:00
Vadim Lopatin 3f19e21478 support mouse wheel in lists 2014-04-16 09:15:31 +04:00
Vadim Lopatin fc8f1724af list item styles 2014-04-15 17:24:04 +04:00
Vadim Lopatin e9085c774b key processing in menu 2014-04-15 17:15:29 +04:00
Vadim Lopatin 03621c071d key events 2014-04-15 15:49:46 +04:00
Vadim Lopatin 4ddccd9f6a linux build fixes 2014-04-15 14:34:14 +04:00
Vadim Lopatin f35b63ef95 fixes 2014-04-15 14:26:33 +04:00
Vadim Lopatin 321e657661 popup and menu improvements 2014-04-15 11:13:49 +04:00
Vadim Lopatin 8d5833640f code cleanup - menus 2014-04-15 09:55:22 +04:00
Vadim Lopatin c11a305037 main menu styles 2014-04-15 07:15:21 +04:00
Vadim Lopatin f07f153f22 menu style 2014-04-15 06:54:12 +04:00
Vadim Lopatin fb0e1b6c6b menu is working 2014-04-14 23:25:24 +04:00
Vadim Lopatin a8ddcd9c4f menu refactoring 2014-04-14 21:53:53 +04:00
Vadim Lopatin d9df28a02c menus 2014-04-14 20:51:48 +04:00
Vadim Lopatin c96d74ee18 popup menus 2014-04-14 15:36:18 +04:00
Vadim Lopatin 61b8fe91d4 popup support 2014-04-14 15:10:32 +04:00
Vadim Lopatin 85c3dd0091 popups support 2014-04-14 13:50:37 +04:00
Vadim Lopatin a33cf6dcec popup menu, part 1 2014-04-14 12:11:44 +04:00
Vadim Lopatin cb9b46719c fix hover tracking 2014-04-14 11:36:37 +04:00
Vadim Lopatin 01fcb4ba8c fix Hover tracking 2014-04-14 11:06:31 +04:00
Vadim Lopatin fa5c6ff73c linux build fix 2014-04-14 10:18:18 +04:00
Vadim Lopatin 2a7b8b73e9 fix hover 2014-04-14 10:15:50 +04:00
Vadim Lopatin 506efefd14 fixes 2014-04-14 08:35:59 +04:00
Vadim Lopatin dce7eec7a8 menus, part 1 2014-04-11 18:24:31 +04:00
Vadim Lopatin 6e7d9b7cd8 support color transform in state drawables 2014-04-11 17:14:39 +04:00
Vadim Lopatin 07599d0bc4 color transform 2014-04-11 14:40:12 +04:00
Vadim Lopatin 5accf91de5 state drawables; use state drawables for buttons 2014-04-11 14:22:20 +04:00
Vadim Lopatin 9e562548ba refactoring 2014-04-11 12:09:14 +04:00
Vadim Lopatin f3c0197837 state drawables 2014-04-10 15:29:01 +04:00
Vadim Lopatin 7c47c542cc change tab styles 2014-04-10 08:54:07 +04:00
Vadim Lopatin b13be29407 fix glyph cache 2014-04-04 10:58:17 +04:00
Vadim Lopatin dd13b36bc3 glyph cache fixes 2014-04-04 09:08:04 +04:00
Vadim Lopatin 912961b48e fixes 2014-04-02 13:33:34 +04:00
Vadim Lopatin fbe9ef75fb performance fixes 2014-04-02 13:27:00 +04:00
Vadim Lopatin 970928d5f6 performace optimizations 2014-04-02 09:01:01 +04:00
Vadim Lopatin 90aa9bbb49 clipping fixes 2014-04-01 23:13:00 +04:00
Vadim Lopatin 0fd29831ab optimize font glyph cache 2014-04-01 22:36:15 +04:00
Vadim Lopatin da09eeed1c linux app fixes 2014-04-01 19:30:33 +04:00
Vadim Lopatin 0b7f59bd95 rearrange example widgets using tabs 2014-04-01 19:16:06 +04:00
Vadim Lopatin bf97ece83f tabs 2014-04-01 18:42:34 +04:00
Vadim Lopatin 17c0d2557e tabs 2014-04-01 17:12:58 +04:00
Vadim Lopatin 48242a1af7 tab widget 2014-03-31 18:22:29 +04:00
Vadim Lopatin 091a5b15ab i18n support 2014-03-31 13:26:53 +04:00
Vadim Lopatin b647da7acc lists 2014-03-31 11:05:26 +04:00
Vadim Lopatin a3574937fb lists and scrollbars 2014-03-27 15:52:16 +04:00
Vadim Lopatin d1a47bd401 lists 2014-03-26 16:48:17 +04:00
Vadim Lopatin 91764870d9 ListWidget 2014-03-26 11:40:34 +04:00
Vadim Lopatin 6d705c51e2 lists, partial implementation 2014-03-25 17:12:40 +04:00
Vadim Lopatin 03a0844a9f Hover, scrollbars 2014-03-25 14:40:47 +04:00
Vadim Lopatin 4187da1a2d fix win32 font drawing 2014-03-25 12:36:33 +04:00
Vadim Lopatin 7eaf08aec3 scrollbars support 2014-03-25 11:49:26 +04:00
Vadim Lopatin 1dfb88defd custom drawable attributes in theme; scroll bar theming 2014-03-24 22:11:01 +04:00
Vadim Lopatin 502ea57e42 scrollbar, part 3 2014-03-24 13:53:49 +04:00
Vadim Lopatin 6c60828690 scrollbars, part 2 2014-03-24 10:39:33 +04:00
Vadim Lopatin fbc30ab5c8 scrollbar control, part 1 2014-03-23 14:24:10 +04:00
Vadim Lopatin 304073e5ff xcb/glx 2014-03-20 14:10:35 +04:00
Vadim Lopatin 435afc43e4 GLX support fixes 2014-03-20 13:27:11 +04:00
Vadim Lopatin 31fbca74a1 xcb/glx fixes 2014-03-19 19:04:54 +04:00
Vadim Lopatin 0f43f73bd9 XCB GLX support fixes, not yet working 2014-03-19 17:11:57 +04:00
Vadim Lopatin 1e39e2fdf6 XCB OpenGL support 2014-03-19 14:17:30 +04:00
Vadim Lopatin 6d180a7a1b fix win32 version 2014-03-18 21:28:12 +04:00
Vadim Lopatin abb5417819 resource cleanup fixed 2014-03-18 15:43:42 +04:00
Vadim Lopatin e76394c5da rework resources destroy 2014-03-18 15:19:20 +04:00
Vadim Lopatin 5b358236f2 fix mouse processing 2014-03-18 11:45:33 +04:00
Vadim Lopatin f1b4efe6eb fix 9patch detection; mouse support under XCB 2014-03-18 11:10:41 +04:00
Vadim Lopatin 67b4534b70 fix xcb build; update button resources 2014-03-18 09:16:00 +04:00
Vadim Lopatin 27d2f64735 fix styles 2014-03-17 21:26:13 +04:00
Vadim Lopatin c73f1ae0b0 horizontal layout; mouse event processing fixes 2014-03-17 17:56:52 +04:00
Vadim Lopatin 56b3eeb6a6 window layout and update after mouse events 2014-03-17 15:28:13 +04:00
Vadim Lopatin 5fd93700a0 styles for states 2014-03-17 13:33:40 +04:00
Vadim Lopatin 08a95002c1 mouse event processing 2014-03-17 12:18:53 +04:00
Vadim Lopatin 8df36ce12a mouse events 2014-03-17 07:10:38 +04:00
Vadim Lopatin 7328b2a662 mouse events, initial implementation 2014-03-15 16:52:14 +04:00
Vadim Lopatin 81a71fab33 use Derelict/FreeImage instead of libpng to fix library version issues 2014-03-15 16:11:49 +04:00
Vadim Lopatin a3d195fb8b XCB version working - except libPNG version issue 2014-03-14 17:39:56 +04:00
Vadim Lopatin bf57f2f26f app 2014-03-14 17:35:53 +04:00
Vadim Lopatin 05d1ec598a xcb shm image 2014-03-14 17:10:33 +04:00
Vadim Lopatin cb500d42e4 fixes and refactoring - XCB app 2014-03-14 13:54:35 +04:00
Vadim Lopatin 5135e9ec30 XCB platform 2014-03-14 12:15:21 +04:00
Vadim Lopatin f3584dd6fc fix sample XCB code formatting 2014-03-13 18:33:55 +04:00
Vadim Lopatin 8a3f491074 XCB binding 2014-03-13 18:26:00 +04:00
Vadim Lopatin d6d36a21a1 FreeType font manager is working 2014-03-12 16:55:03 +04:00
Vadim Lopatin aab292ecad freetype support 2014-03-12 16:47:12 +04:00
Vadim Lopatin 993b367913 freetyle support, continue development 2014-03-12 14:36:47 +04:00
Vadim Lopatin 1a0768cedc freetype: loading font 2014-03-12 13:49:37 +04:00
Vadim Lopatin 1aa4617872 ftfonts fixes 2014-03-12 12:02:40 +04:00
Vadim Lopatin 3491c35d89 adding freetype dll for win32 2014-03-12 11:15:22 +04:00
Vadim Lopatin 2a50741e52 FreeType support stub added 2014-03-12 10:43:37 +04:00
Vadim Lopatin 3113577041 put OpenGL support under conditional compilation: version(USE_OPENGL) 2014-03-12 10:29:06 +04:00
Vadim Lopatin 0cff3908fe fix problem with font colors under OpenGL 2014-03-12 10:15:28 +04:00
Vadim Lopatin 6adad89d53 refactoring 2014-03-12 09:22:31 +04:00
Vadim Lopatin 31e1693074 GL caches refactoring 2014-03-12 09:12:43 +04:00
Vadim Lopatin e4f27b1966 text drawing is working ok under OpenGL 2014-03-11 21:48:54 +04:00
Vadim Lopatin 6786e29b17 implement OpenGl glyph cache 2014-03-11 19:48:59 +04:00
Vadim Lopatin 72f5d394ea refactor glyph drawing interface, implement GrayDrawBuf 2014-03-11 19:31:53 +04:00
Vadim Lopatin 70156ad428 fixed ninePatch drawing in win32 2014-03-11 18:32:24 +04:00
Vadim Lopatin 69fd696458 GL texture drawing is working 2014-03-11 17:40:43 +04:00
Vadim Lopatin 2dc0a9ff82 gl image cache, scene 2014-03-11 11:28:04 +04:00
Vadim Lopatin bd11a09adb solid fill shader is working ok 2014-03-11 09:56:51 +04:00
Vadim Lopatin 013b79b4a6 fixes 2014-03-10 23:45:44 +04:00
Vadim Lopatin 091f75db13 trying to implement GL drawbuf 2014-03-10 17:56:21 +04:00
Vadim Lopatin a5ac694004 OpenGL shaders 2014-03-10 16:58:16 +04:00
Vadim Lopatin c945d95066 layout code refactoring, step 2 2014-03-09 16:33:28 +04:00
Vadim Lopatin 5052067be5 refactoring of layouts code 2014-03-09 16:01:48 +04:00
Vadim Lopatin 1341bb6e71 fix linear layout implementation 2014-03-08 22:09:35 +04:00
Vadim Lopatin 03eb2c7b65 Linear layout - in progress 2014-03-07 18:52:50 +04:00
Vadim Lopatin f13757042e introduce layout params 2014-03-07 18:01:10 +04:00
Vadim Lopatin fb1215502c WidgetGroup 2014-03-07 17:38:48 +04:00
Vadim Lopatin 72d698f72a apply size constraints 2014-03-07 16:45:04 +04:00
Vadim Lopatin a729ab4e58 visibility and size constraint 2014-03-07 16:33:15 +04:00
Vadim Lopatin a85dde2d6f window update issue fixed 2014-03-07 15:55:28 +04:00
Vadim Lopatin c6c89303d8 styles: background drawable - working; add initial implementation of Button 2014-03-07 14:59:08 +04:00
Vadim Lopatin 434aae7b04 nine patch drawing is working 2014-03-07 14:34:37 +04:00
Vadim Lopatin 6764fe17eb working drawable cache and resized image drawing 2014-03-07 13:26:15 +04:00
Vadim Lopatin aef01a1044 fix styles access 2014-03-07 11:04:50 +04:00
Vadim Lopatin 6623e6bffe Drawable and 9-patch support, part 1 2014-03-07 10:46:43 +04:00
Vadim Lopatin 93df2f902f styles improvements, documenting 2014-03-06 18:17:19 +04:00
Vadim Lopatin 3713c73db6 use style for widget properties 2014-03-06 17:27:11 +04:00
Vadim Lopatin 6a22a43f34 styles 2014-03-06 00:23:38 +04:00
Vadim Lopatin 45d35f7621 theme and styles, part 1 2014-03-05 23:00:21 +04:00
Vadim Lopatin 595e1fc7d6 simple text widget 2014-03-05 16:47:54 +04:00
Vadim Lopatin e3204070c2 win32 fixes 2014-03-05 15:32:59 +04:00
Vadim Lopatin 79a18449cd loading and drawing of PNGs is working 2014-03-05 14:52:50 +04:00
Vadim Lopatin b506c6f285 refactor solution to move dlangui into a separate library project 2014-03-05 13:11:36 +04:00
Vadim Lopatin a41841b2bc image cache: 2014-03-05 11:36:23 +04:00
Vadim Lopatin dccd5d8f88 implemented image decoding 2014-03-05 11:08:22 +04:00
Vadim Lopatin 3d2fc6df46 project refactoring - win32 platform support 2014-03-05 09:29:03 +04:00
Vadim Lopatin 81833a6db6 add libpng library win32 x86 binary 2014-03-05 09:20:36 +04:00
Vadim Lopatin 2d14cc78a8 code cleanup 2014-03-05 08:09:04 +04:00
Vadim Lopatin 4429bca35c code cleanup 2014-03-05 06:48:10 +04:00
Vadim Lopatin e44c7fd3fd Text drawing is working. Refcounted fonts working ok 2014-03-04 16:39:16 +04:00
Vadim Lopatin b8f8f8f64b supported getGlyph() for win32 font 2014-03-04 12:03:25 +04:00
Vadim Lopatin d0dcddbe9f measure text string - win32 fonts 2014-03-04 10:57:06 +04:00
Vadim Lopatin a1995fb53e win32 font manager - font creation 2014-03-04 10:02:18 +04:00
Vadim Lopatin f39b95b354 add logging; fixes for font manager 2014-03-04 00:05:51 +04:00
Vadim Lopatin 5c77ebb3f1 ref counting 2014-03-03 18:40:27 +04:00
Vadim Lopatin 0fa02cbcb5 fonts 2014-03-03 17:01:13 +04:00
Vadim Lopatin a78cc395bd initial version 2014-03-03 15:21:00 +04:00