Commit Graph

59 Commits

Author SHA1 Message Date
011aeb8948 added slider, mouse capture in Node, desaturated icons 2017-03-16 02:02:43 +00:00
c34d1a1f44 minor changes and added namespace to avoid conflicts when integrating with PanoPainter 2017-03-15 08:17:22 +00:00
ee6d352fc6 added asset loading class, zoom factor, vbo switch, shader version 2017-03-13 01:16:20 +00:00
a2a221b17a refactor app and enable gles 3.0 2017-03-04 19:04:08 +00:00
11050fde9c added android project and linked to engine source with successful compilation 2017-03-03 09:52:22 +00:00
8242db8815 add viewport node, return ptr instead of ref for layout[id] to check wether is valid or not 2017-03-02 21:40:36 +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
1c14a6d409 fix mouse events in osx 2017-02-16 01:47:00 +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
b1abb42dd5 big refactoring to merge node and widgets into a single node hierarchy 2017-02-11 01:40:40 +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
fd7f62693e refactor font code into classes 2017-02-06 21:08:41 +00:00
7f8cbd0981 stbtt text testing succesful 2017-02-05 20:15:52 +00:00
e2792534bc edit the example layout to add more details 2017-02-02 23:10:05 +00:00
5df2484c27 fix a really bad bug using parent instead if this to set children's parent 2017-02-02 22:52:06 +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
39f44eca5e rename .hpp headers to .h 2017-01-31 22:48:55 +00:00
4b26976d61 added glew as submodule 2017-01-31 18:30:52 +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
7436706b37 added constexpr hash based enum for faster switch on attributes and node names 2017-01-27 22:09:37 +00:00
d413e49821 added range loop based layout nodes traversal 2017-01-27 19:26:45 +00:00
Omar Mohamed Ali Mudhir
baaade6050 added pch on xcode, fixed Node move semantic 2017-01-27 14:55:16 +00:00
a4be7c0e4d complete refactoring and cleanup old layout loading code 2017-01-27 13:20:39 +00:00
81494cca6e refactoring layout loader 2017-01-26 23:57:05 +00:00
5ae77ee4ac added partial mouse events for Windows, implemented clipping rect intersection, added auto value to width and height attributes 2017-01-25 21:02:26 +00:00
Omar Mohamed Ali Mudhir
9a4abe8bde added partial mouse events on osx 2017-01-25 19:06:49 +00:00
Omar Mohamed Ali Mudhir
2f042c3e95 added resizing to osx window 2017-01-25 09:15:22 +00:00
9d6171c7d8 added color attribute and scissor clipping. Added debug callback to OpenGL messages 2017-01-24 20:05:19 +00:00
5268f65777 added margin and padding support, some fixes: yoga needs many values to be initialized properly 2017-01-23 22:13:36 +00:00
e556cf4c61 fixed layout parser adding stack based recursion, code needs being cleaned up but layout works quite well now, added code draw while resizing 2017-01-22 22:24:48 +00:00
21622fd24c add Sampler class, add attributes system 2017-01-21 00:16:36 +00:00
eb7282e0d4 testing yoga and tinyxml2 to read some attributes from file 2017-01-19 19:12:12 +00:00
78ab808b8b added Yoga and TinyXML2 libraries and created a testing layout.xml 2017-01-19 13:45:21 +00:00
90ee10405d added rect shape with corrected uv interpolation 2017-01-18 23:01:00 +00:00
Omar Mohamed Ali Mudhir
5f6bcda211 added intersection and uvs correction functions 2017-01-18 19:42:34 +00:00