Commit Graph

271 Commits

Author SHA1 Message Date
Tats 08da5d4fa6 Properly manage the windowModified() calls to let the software know something has changed. 2014-03-18 23:26:58 -04:00
Tats ff1d98e1a8 Created a method addPaintId similar to the addMappingId to reuse some code. 2014-03-18 23:26:17 -04:00
Tats 9c85eb17fc Bug fix: once all mappings were destroyed, current ids were not reset (removed). 2014-03-18 23:03:08 -04:00
Tats 7425d65832 Methods removeCurrent*() reset uids to NULL_UID. 2014-03-18 23:02:10 -04:00
Tats d511243618 Bug fix in the iteration over ids (was iterating over vector index, not item uids). 2014-03-18 23:01:45 -04:00
Tats c58fc54e67 Small change (cosmetic / performance) 2014-03-18 23:01:01 -04:00
Tats 2da3f4a5a1 Added dialog when deleting paint. 2014-03-18 23:00:24 -04:00
Tats 63f59b4486 Enable/disable creation of mappings depending on whether a paint is selected. 2014-03-16 19:36:36 -04:00
Tats 540ae8a983 Allow the seamless removal of both paint and mappings. 2014-03-16 19:31:20 -04:00
Tats 7c52f13f16 Major cleanup in MainWindow 2014-03-16 15:47:14 -04:00
Tats 712ec8cfbc Added some shortcuts to add shapes 2014-03-16 12:36:35 -04:00
Tats 164023f1e9 Use CTRL-DEL instead of just DEL for deleting stuff 2014-03-16 12:34:03 -04:00
Tats 338a32af60 Cleanup of comments 2014-03-16 01:12:43 -04:00
Tats 20c603b995 Implement working mapping removal 2014-03-16 01:12:32 -04:00
Tats 3910302f80 Replaced STL vectors and maps by Qt-style 2014-03-16 01:11:38 -04:00
Tats f0ca7124db Small comment 2014-03-16 00:04:29 -04:00
Tats dc202e1461 Reset focus on main window 2014-03-16 00:04:22 -04:00
Tats 3a2033a4e1 Save and restore geometry of output window 2014-03-16 00:03:19 -04:00
Tats b313edc553 Manage close event (unchecks the menu item in main window) 2014-03-15 23:55:29 -04:00
Tats 392869f56f Manage appropriate layout and resizing of output GL canvas 2014-03-15 23:37:54 -04:00
Tats 14f35c640c Synchronization of GL in destination and ouptut window 2014-03-15 23:37:36 -04:00
Tats 81e519d366 Added an output GL window that reproduces the destination (refresh still not working).
Window can be toggled on/off.
2014-03-15 23:01:37 -04:00
Tats 70f6b1356e Removed wrong ProjectReader.h in SOURCES 2014-03-15 23:00:49 -04:00
Tats 8965090dfa Merge branch 'master' into develop 2014-03-15 22:21:02 -04:00
Tats 3fd1754776 Removed wxWidget prototypes 2014-03-15 22:05:51 -04:00
Tats e6dfbf176d Removed wxWidget prototypes 2014-03-15 22:02:13 -04:00
Alexandre Quessy c20b47aaf4 more fixes 2014-03-14 11:54:54 -04:00
Alexandre Quessy d11bc93496 re-implement and fix osc receiver 2014-03-14 11:51:52 -04:00
Alexandre Quessy 8652e9555e get rid of warnings 2014-03-14 11:47:58 -04:00
Alexandre Quessy 0cf4a5086c Rename project to MapMap 2014-03-04 11:35:12 -05:00
Alexandre Quessy fa920cd788 Move todos from HACKING to TODO. Add INSTALL. 2014-03-04 11:22:46 -05:00
Tats fbc3feb6f7 Merge branch 'ellipseshape' into develop 2014-03-02 22:29:53 -05:00
Tats 8256ace2e1 Added sanity check for ellipses (makes sure the points are ok). 2014-03-02 22:29:36 -05:00
Tats 07c6293dc7 Load and save of ellipses. 2014-03-02 22:29:10 -05:00
Tats 7641ea62ca Some adds to the todo list 2014-03-02 21:20:22 -05:00
Tats bdfa20ecda Implemented method drawControls() for EllipseColorMapper. 2014-03-02 21:13:39 -05:00
Tats f489f0b6b6 Rewrote the includesPoint() method for Ellipse using transformations. 2014-03-02 21:09:48 -05:00
Tats f3d09731d9 Small bug fix for clippings. 2014-03-02 21:08:57 -05:00
Tats d30168dca0 Major fix in conversions between radians and degrees. 2014-03-02 21:08:37 -05:00
Tats d0e697d77a Remove unused center control point for color ellipses. 2014-03-02 21:07:11 -05:00
Tats 5de7162a59 Clip center control point inside ellipse using QTransform. 2014-03-02 20:50:27 -05:00
Tats 755b7cfa94 Use QTransform to manage point remapping when moving vertices. 2014-03-02 20:49:59 -05:00
Tats 880b23cb8a Add control center. 2014-03-02 17:54:18 -05:00
Tats 964a968b36 Added center control point (basic functionality, just "stays inside" the ellipse for now but not working 100%) 2014-03-02 17:43:44 -05:00
Tats e72a1a3c77 Override of includesPoint() methods in Ellipse. 2014-03-02 17:37:49 -05:00
Tats dea2781100 Modification of includePoint() method to work with qreal instead of int (also overloaded for QPointF). 2014-03-02 17:37:10 -05:00
Tats b6bab4357f Inversion of rotation small change in _setPointOfEllipseAtAngle() method. 2014-03-02 17:36:27 -05:00
Tats 4bbe4df115 Added methods to directly access the horizontal / vertical radius of an ellipse. 2014-03-02 17:35:54 -05:00
Tats 0b027f29f3 Implemented basic support for texture ellipse (works, default center point, no drawing of control points). 2014-03-02 17:02:52 -05:00
Tats 72be4f2599 Created a setGlTexPoint() to facilitate projection of textures on vertex. 2014-03-02 17:01:55 -05:00