Commit graph

36 commits

Author SHA1 Message Date
Joey Payne
e800d37c00 Changed the name of the test.py file to better indicate what kind of test file it is. 2014-02-13 19:10:40 -07:00
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
95c1274402 Update README.md 2014-02-10 19:53:18 -07:00
Joey Payne
e5584c07dc Added another screenshot. 2014-02-10 19:52:42 -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
9ebc928391 Added pyqt example files and updated some test code. 2014-02-07 21:02:02 -07:00
Joey
5fb3eb18de Updated with a screenshot. 2014-02-07 16:01:59 -07:00
Joey Payne
de12c6e7f2 Added a screenshot. 2014-02-07 15:57:20 -07:00
Joey Payne
5c9b721567 Fixed up some paths and added a test image. 2014-02-07 15:55:06 -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
76be0b0d23 Update README.md 2014-02-06 10:54:43 -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
3fe1e674fb Added a featurelist that will be updated to reflect what features are planned or done 2014-02-04 22:59:36 -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
a8a01bf384 Added import statements to packages to make them easier to import. 2014-02-04 22:52:56 -07:00
Joey Payne
8bfce9538c Updated test code to be up to date with the changes in the surface.py
code.
Added resize window call.
2014-02-03 16:05:46 -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
ec75a46c6d Added a gtk widget for rendering. 2014-02-01 20:23:05 -07:00
Joey Payne
4fbb2b5a85 Modified the test.py to use the surface calls to inject mouse events. 2014-02-01 20:22:44 -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
d348ae2759 Removed updating in another thread for sake of ease of use and smoothness. 2014-01-31 22:42:19 -07:00
Joey Payne
ca0616e63f Updated readme. 2014-01-31 22:41:22 -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
5fa72907cc Put mouse position setting in a different thread. 2014-01-29 15:52:23 -07:00
Joey Payne
4cea15f4f1 Added ability to drag windows. 2014-01-29 15:51:36 -07:00
Joey Payne
0e4f2324f5 Added mouse injection in the test script. Also added plane generation on the fly. 2014-01-28 23:20:33 -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
Joey Payne
d08795e5c9 Modified the README to be more descriptive. 2014-01-27 14:13:05 -07:00
jyapayne
abf14caae1 Initial commit 2014-01-27 13:04:21 -08:00