Commit Graph

132 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
366f233aa0 update android project after refactor 2017-05-13 22:08:45 +01:00
1f6c688258 refactor layout.h into single file per Node* classes 2017-05-13 21:58:04 +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
6f785c1944 log history memory usage add fix virtual dtor for Action subclasses to be deleted from memory 2017-05-10 13:41:27 +01:00
eb8f93af91 enable depth test when rendering the layers, reduce pan camera speed 2017-05-10 01:53:09 +01:00
aada69d447 add drop down menu to clear grids 2017-05-10 01:43:01 +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
2e8c0d0865 add touch begin/end on iOS 2017-05-08 00:26:34 +01:00
d1ce547abd add iOS support 2017-05-07 23:49:46 +01:00
b50011babf added Normal lines mode for perspective aligned lines 2017-05-07 15:25:54 +01:00
de1ace0d63 syn 2017-05-07 10:31:13 +01:00
f800df6cf5 added camera pan for parallax and improved line drawing with preview line 2017-05-06 23:22:34 +01:00
427dd66976 separate pen mode and camera in different modes to be composed, start implementing line draw mode 2017-05-05 21:57:02 +01:00
484bf6fab4 implement pen and erase as strategy pattern introducing the CanvasMode classes 2017-05-04 23:32:02 +01:00
773ff61f92 pen state and buttons color when active 2017-05-04 21:46:35 +01:00
45275c2947 add buttons to change pen mode 2017-05-04 19:26:05 +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
02ffbf3d77 downgrade Android SDK to use old permission mode because on demand request require Java code 2017-04-30 19:27:45 +01:00
f64e9e746c cube to equirect conversion using shader, save latlong to file 2017-04-30 02:20:54 +01:00
78a87f9cd3 add checkerboard shader and draw it 2017-04-29 23:12:36 +01:00
73f689524b merge layers and save to png 2017-04-29 22:00:57 +01:00
fa49d9ee09 save and restore layers image when context is lost in Android 2017-04-29 21:30:40 +01:00
2e47ccb0c6 destroy all textures on window destruction and restore OpenGL objects when Android resumes the app 2017-04-28 15:06:23 +01:00
96401a1e5d pinch zoom linked to camera fov 2017-04-28 10:00:18 +01:00
5753002ca9 fix all six planes for rendering and drawing 2017-04-28 00:06:24 +01:00
a6a020a389 prepare to draw on multiple planes 2017-04-27 21:13:09 +01:00
e6332322b3 implement simple brush projection on single cube face, add camera rotation instead of pan 2017-04-26 23:51:05 +01:00
874176c19a add kemaps to win 2017-04-24 11:55:12 +01:00
5ac666f911 fix android gestures pinch and pan, supports only two fingers 2017-04-24 11:32:08 +01:00
d558bc1e04 fixing fingers tracking on Android 2017-04-24 08:06:20 +01:00
ea1bff1f10 added basic gesture system on Android 2017-04-18 01:10:06 +02:00
45cf8c9168 map keys and handle key events on Android and OS X 2017-04-17 19:35:48 +02:00
54082591f1 clean warnings 2017-04-16 02:35:48 +02:00
28fe61704f implement simple stroke undo based on actions history 2017-04-16 01:57:54 +02:00
357f37e3d0 clear new layers 2017-04-15 21:52:18 +02:00
163a435e6e curl timeout, reorder layers, handle right click osx 2017-04-15 18:55:27 +02:00
d230bc7a99 get Ink pen data like pressure, buttons 2017-04-12 00:44:26 +01:00
a82c76ce41 canvas pan/zoom, project into canvas using inverse transform, implement eraser (early prototype) 2017-04-09 22:40:38 +01:00
8d35d1f140 handle WM_MOUSEWHEEL and WM_POINTERUPDATE for the Windows Ink stylus driver 2017-04-08 22:51:59 +01: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
d340324c3d fix stroke shader with better blending and initial support to opacity 2017-04-07 01:45:50 +01:00