Commit Graph

49 Commits

Author SHA1 Message Date
Robin Dunn
7a6a64d26d Merge pull request #755 from jwilk-forks/atan2
Simplify angle calculation in ogl.LineShape.DrawArrow()
2018-02-22 22:20:50 -08:00
Robin Dunn
d927149912 Merge pull request #756 from jwilk-forks/string-exceptions
Don't use string exceptions
2018-02-19 16:53:46 -08:00
Robin Dunn
beec04eacd PrepareDC for the wx.MemoryDCs too 2017-12-28 16:08:50 -08:00
Robin Dunn
7e8a27e170 Clean up access to the Canvas's buffer bitmap 2017-12-28 15:59:04 -08:00
Robin Dunn
c7c2de0a1b It looks like Overlay use was started but never fully implemented. Remove it all for now. 2017-12-28 15:55:39 -08:00
Robin Dunn
583549098a Also PrepareDC for the wx.ClientDC's used for intermediate drawing 2017-12-28 15:42:34 -08:00
Robin Dunn
28cde58761 Fix OGL's ShapeCanvas to draw properly when the window is scrolled,
and to also adjust the mouse coordinates, etc.
2017-12-28 15:20:43 -08:00
Metallicow
eb3653ee27 Trim Whitespace ogl directory 2016-10-12 22:42:30 -05:00
Robin Dunn
0e79905aa0 Don't set the hourglass cursor every time the diagram is redrawn. It can get real annoying. 2016-08-04 15:14:43 -07:00
Robin Dunn
1d1fc7c187 More docstring ref fixes in wx.lib 2016-07-07 09:58:04 -07:00
Robin Dunn
cc3190e240 Lots more docstring refs fixed 2016-07-06 20:20:10 -07:00
Robin Dunn
488f29b05a Fix docstring references to wx.Bitmap 2016-07-06 18:45:16 -07:00
Robin Dunn
4175d35105 Fix docstring references to wx.Colour 2016-07-06 18:40:04 -07:00
Werner F Bruhin
42df586ecd - make Sphinx links in module doc work 2015-02-06 10:17:02 +01:00
Werner F Bruhin
2461989aa8 - added 'documented' flag, also could still do with some editing 2015-02-05 11:23:44 +01:00
Werner F Bruhin
f081eb9ba7 - remove -#!/usr/bin/env python 2015-02-05 11:08:10 +01:00
Werner F Bruhin
9bade03362 - documentation corrections 2014-06-17 13:18:14 +02:00
Werner F Bruhin
ff1ef2a1c6 - documentation corrections 2014-06-17 12:17:24 +02:00
Werner F Bruhin
77bf699847 - documentation 2014-06-17 12:16:52 +02:00
Werner F Bruhin
4c9b31c7df - documentation 2014-06-16 12:34:56 +02:00
Werner F Bruhin
672a9e0015 - documentation 2014-06-16 12:17:55 +02:00
Werner F Bruhin
16401f0bfc - some documentation corrections 2014-06-15 22:28:44 +02:00
Werner F Bruhin
7ed83f79e9 - documentation 2014-06-15 15:55:58 +02:00
Werner F Bruhin
5046f605de - documentation 2014-06-15 14:36:21 +02:00
Werner F Bruhin
1cdcab0afc - documentation corrections 2014-06-15 14:20:06 +02:00
Werner F Bruhin
7b8a7be4f5 - documentation 2014-06-15 14:19:38 +02:00
Werner F Bruhin
7a96bd6296 - KEY_SHIFT and KEY_CTRL where defined in canvas.py and composit.py moved to oglmisc.py
- added above to test_lib_ogl.py
2014-06-14 15:23:41 +02:00
Werner F Bruhin
1f3485df58 - Correct errors found by PyLint
- AdjustTop defined twice
- bottom was not defined, probably a copy/paste error
- typo for False
2014-06-14 15:15:04 +02:00
Werner F Bruhin
ca40260c8d - should AttachmentPoint be ControlPoint? 2014-06-14 15:13:42 +02:00
Werner F Bruhin
2a13b7cf98 - Typo found by PyLint 2014-06-14 15:13:06 +02:00
Werner F Bruhin
6494fcd577 - documentation 2014-06-14 10:33:35 +02:00
Werner F Bruhin
176f8ea29d - reported as errors by pyLint 2014-06-13 16:03:45 +02:00
Werner F Bruhin
19f998d760 - changed to Sphinx doc style
- needs review
2014-06-13 15:57:59 +02:00
Werner F Bruhin
afb1a4554b - remove debug print stuff and better text for DCOverlay use 2014-06-13 12:04:18 +02:00
Werner F Bruhin
0f3f407f9b - out indent the self.Draw to correct of issue with moving object
- remove debug print stuff
2014-06-13 12:03:27 +02:00
Werner F Bruhin
d8d05d6f6c - some more print to help debug
- correct typo
2014-06-13 10:33:54 +02:00
Werner F Bruhin
7de4a682bb - composite shape did not show drag outline 2014-06-13 10:33:22 +02:00
Werner F Bruhin
effc87c2fe - init the _Buffer with a dummy sized bitmap 2014-06-13 09:31:01 +02:00
Werner F Bruhin
d7ff82a064 - do not clear DCOverlay, caused the issue of moved objects showing on old pos 2014-06-13 09:27:19 +02:00
Werner F Bruhin
b3017a497b - use MemoryDC instead of ClientDC
- use DCOverlay for outline drawing when moving
2014-06-12 20:23:45 +02:00
Werner F Bruhin
4eadf6b3b2 - rename to get rid of '_' in file name 2014-06-12 15:51:01 +02:00
Werner F Bruhin
f7ab3d2d73 - fix coding line 2014-06-12 09:45:10 +02:00
Werner F Bruhin
5a61dbfb8a - add a unittest
- get it to run on Py2.7 and Py3.3
- add flags
2014-06-11 12:35:31 +02:00
Robin Dunn
bcbdcd9631 Remove more CVS $Id$ and $Revision$ tags, and a bit of code that uses them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-11 03:35:32 +00:00
Robin Dunn
0fd7d9313a PR 37 from Metallicow. Pen and Brush style updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 23:12:13 +00:00
Robin Dunn
9f24505715 Merge of PR 11 with the whitespace-only changes omitted.
See https://github.com/RobinD42/Phoenix/pull/11

Mostly phoenix-port changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-10 01:15:34 +00:00
Robin Dunn
247673201b Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 01:36:07 +00:00
Robin Dunn
a30dfe91e2 I wasn't ready to add this yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:29:15 +00:00
Robin Dunn
c8c2e1d97b set svn:eol-style to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:02:42 +00:00