Commit graph

17 commits

Author SHA1 Message Date
Joey Payne
3f6c0eb3fa Added scrolling and double click events. Cleaned up some code. 2014-02-13 18:20:37 -07:00
Joey Payne
fc8fc312a9 Sped up the algorithm of checking mouse enter and leave events. 2014-02-11 16:03:10 -07:00
Joey Payne
bed8281b22 Fixed some issues with image aspect ratio. Added preliminary gradient features for rounded rectangles. 2014-02-10 13:43:15 -07:00
Joey Payne
b1396cd70a Fixed a bug with images getting pushed around at the top of the page. 2014-02-07 21:06:42 -07:00
Joey Payne
955a3db31f Added support for background images on any window. 2014-02-07 11:58:22 -07:00
Joey Payne
2cae09a0f0 Made the from_value code way more efficient. Added clipping rectangles
so that when a child is hidden by it's parent, it can't be clicked.
2014-02-06 21:22:44 -07:00
Joey Payne
49a630e8ac Added a logger for more maintainable and configurable debug messages.
Fixed a bug with context setting so that all children are updated on
context update.
2014-02-06 11:21:22 -07:00
Joey Payne
5854cfee86 Fancied up the text window with pango. Added lots of font options and
effects.

Fixed some bugs with resizing a window when it's not draggable and
resizing a window when the max size is (-1, -1)
2014-02-06 08:00:24 -07:00
Joey Payne
3a31732a14 Refactored a lot of code. Added a preliminary text window
Put configuration options for window so that the rendering is controlled
on initialization of window.

Improved clip function to only clip before the borders.

Added a border radius class for initializing separate border radii for
each corner.
2014-02-04 22:54:05 -07:00
Joey Payne
ce5295348e Added ability to switch windows by clicking on them.
Added clipping option to window.
Refactored test code into own classes.
2014-02-03 15:56:20 -07:00
Joey Payne
cd75ee08bb Added a mouse class to render a mouse if the user does not have one/is in fullscreen mode. 2014-02-01 20:21:50 -07:00
Joey Payne
22e86812e8 Added ability to resize windows from all sides and corners. 2014-01-31 22:37:08 -07:00
Joey Payne
0785a228aa Added window resize handles. Fixed bugs with clicking, dragging and focus events. 2014-01-30 23:23:52 -07:00
Joey Payne
067c77ac23 Refactored code in the structures file for easier structure adding. Added the beginning of a resizable function. 2014-01-29 22:41:49 -07:00
Joey Payne
4cea15f4f1 Added ability to drag windows. 2014-01-29 15:51:36 -07:00
Joey Payne
58ab7aa79a Added some mouse events to each window. 2014-01-28 23:19:45 -07:00
Joey Payne
2cdb9fbca6 Added initial drawing code plus a test app. 2014-01-28 16:29:30 -07:00