Commit Graph

60 Commits

Author SHA1 Message Date
577a4e4db7 split app.cpp into multiple files, add NodeScroll and use it to scroll the side panels, some fixes to the events system 2017-05-14 21:48:25 +01:00
51e355d039 fix log thread bug, add clean memory button, fix pinch zoom bug, set android back button to undo 2017-05-12 13:31:56 +01:00
6dbb8bf3a1 fix texture id bug, few gestures bugs solved 2017-05-12 01:30:56 +01:00
fbb73ccbbb compress file when saving, using bbox, dirty flags and PNG compression 2017-05-10 01:27:57 +01:00
6548ac3748 fix equirectangular shader for higher precision, add polygon draw mode 2017-05-09 08:47:20 +01:00
b50011babf added Normal lines mode for perspective aligned lines 2017-05-07 15:25:54 +01:00
773ff61f92 pen state and buttons color when active 2017-05-04 21:46:35 +01:00
977e18bd25 adding some buttons to UI 2017-05-04 09:12:31 +01:00
9f23021fb8 implement alpha locking per layer 2017-05-02 03:43:16 +01:00
182c0b1baf create NodeDialogOpen and bind it to the layout template 2017-05-02 00:15:27 +01:00
16a53af679 add NodeImageTexture for dynamic images, test image thumbnail opening and rendering 2017-05-01 22:22:16 +01:00
3ea3fadc46 complete open/save project including layer names, in layout bring canvas to background and use translucent UI on top, save computation on Android with lazy rendering on events only 2017-05-01 19:35:58 +01:00
c691595767 adding open/save project and changing layout 2017-05-01 17:06:59 +01:00
f64e9e746c cube to equirect conversion using shader, save latlong to file 2017-04-30 02:20:54 +01:00
28fe61704f implement simple stroke undo based on actions history 2017-04-16 01:57:54 +02:00
bb7e94d06b drag canvas, render layers and tmp, add/select layer, opacity for layer, color bucket filler 2017-04-07 21:21:43 +01:00
2b4915154e opacity control 2017-04-07 12:57:21 +01:00
e8cabebe66 implement instanced drawing 2017-03-27 22:29:47 +01:00
a385addae5 implement basic paint canvas 2017-03-26 14:23:15 +01:00
744cd8bfb5 added Canvas, Brush, Stroke and CanvasNode classes 2017-03-26 00:26:46 +00:00
a1e3fd4ecf change node children from unique to shared ptr, rename Canvas2D to StrokePreview, add panel toolbar with icon buttons to toggle 2017-03-25 17:28:57 +00:00
4da0c3696a improve sliders and remove slider cursor, fix stroke preview 2017-03-25 11:04:44 +00:00
0bc5e7aea9 compile for Android, add initial TextInput support 2017-03-25 08:35:09 +00:00
a2cb0ecafe added render target and bezier classes, added stroke settings panel 2017-03-24 03:15:29 +00:00
03a5212e56 added color quad and hue slider 2017-03-21 09:56:33 +00:00
13fa84a02c layers control 2017-03-21 09:56:00 +00:00
03a8266972 added checkbox, slider, layer panel, brushes panel 2017-03-19 23:51:45 +00:00
011aeb8948 added slider, mouse capture in Node, desaturated icons 2017-03-16 02:02:43 +00:00
ee6d352fc6 added asset loading class, zoom factor, vbo switch, shader version 2017-03-13 01:16:20 +00:00
75f1b96b4f added icons and popup menus 2017-02-21 23:14:34 +00:00
a2714f513a added settings popup and icon node 2017-02-21 01:00:48 +00:00
ee5e4c2d98 added right click, popup menu, mark for destroy 2017-02-20 02:25:59 +00:00
4e3f898d4b fix pixel snapping, add loaded event, remove default border thickness 2017-02-17 01:34:43 +00:00
d74af8ed17 add messagebox to template binding, add absolute positioning layout, add observer instead of stack based node traversal which is not great in case of hierarchical traversal 2017-02-16 00:32:03 +00:00
0d3c48fd98 added button click event handler 2017-02-12 01:25:20 +00:00
fb25ffb347 added NodeButton as composition and cleaned up old Widget code 2017-02-11 15:51:22 +00:00
914fc34331 complete left click event handle 2017-02-09 22:08:30 +00:00
de1784e932 added alpha blending for image and text, nodes position are clamped to be integer 2017-02-08 00:20:26 +00:00
5e5ddf310c added image widget with atlas support and global texture manager 2017-02-07 23:42:39 +00:00
83e59573e0 added node alignment and text color 2017-02-07 13:39:17 +00:00
3cc25e7592 added text widget parsing and rendering 2017-02-06 23:32:01 +00:00
e2792534bc edit the example layout to add more details 2017-02-02 23:10:05 +00:00
d2f59c3ea1 testing bitmap font generation and draw using stb_truetype 2017-02-02 21:54:48 +00:00
06b19dc596 ref nodes work fine now but need to complete Widget::clone implementations and add clone() to Shape classes to actually clone the OpenGL data 2017-02-02 18:26:59 +00:00
bcf95d5432 completing refactoring, something does not work on resize 2017-02-02 00:43:23 +00:00
70792669e7 refactor layout loading to add multiple layout, templates and references 2017-02-01 20:35:57 +00:00
ed02e38805 start implementing shape tag 2017-02-01 00:59:56 +00:00
d313e815d3 moved libs to submodules, small fix in Node move ctor 2017-01-31 11:21:56 +00:00
a80556f418 added singleton shader manager, custom widget attribute forward, parse border thickness and color for Border widget, parse and cache uniform locations, remove unused attrubutes code 2017-01-30 19:52:32 +00:00
16c1b6481e started implementing dynamic widget allocation by xml tag 2017-01-29 17:42:23 +00:00