Commit Graph

1952 Commits

Author SHA1 Message Date
Pietro Gagliardi af374ed859 Implemented redrawing on scrolling and adjusting scrolling on resizing and actually implemented scrolled drawing correctly on uiArea on Windows. 2015-12-19 14:43:34 -05:00
Pietro Gagliardi a922551b78 More TODOs. 2015-12-19 01:17:06 -05:00
Pietro Gagliardi 0f80d15fc4 Added a test of scrolled drawing. More TODOs. 2015-12-19 01:16:32 -05:00
Pietro Gagliardi 13fa2e213d Took scrolling into account on uiArea with drawing (untested) and mouse events (tested). This is the preliminary work for moving scrolling from pixels to DIPs. But first, a test of scrolled drawing. 2015-12-18 22:06:48 -05:00
Pietro Gagliardi adc72c9d0b Implemented the other areautil.c functions. 2015-12-18 21:38:27 -05:00
Pietro Gagliardi 5e90cbcb93 Started a windows/areautil.c for miscellaneous functions, mostly (completely for now) having to do with coordinates and sizes. Right now it only has renderTargetGetSize(). 2015-12-18 21:15:40 -05:00
Pietro Gagliardi 444a7d3045 Fixed mouse capture behavior. It's not as clean as it could be, but it'll do. 2015-12-18 19:38:21 -05:00
Pietro Gagliardi 4b114f2764 Started the implementation of mouse crossing on Windows. 2015-12-18 18:06:45 -05:00
Pietro Gagliardi ce042eb12a Added an expository comment to windows/area.c. 2015-12-18 15:05:49 -05:00
Pietro Gagliardi 4edcddce14 Fixed the ID2D1RenderTarget::GetSize() madness a *SECOND* time. Urgh. Also removed a now-irrelevant TODO. 2015-12-18 15:04:37 -05:00
Pietro Gagliardi 6d06e15390 More Windows uiArea migration and compiler error fixes. Now to figure out what happened with GetSize again... 2015-12-18 14:21:35 -05:00
Pietro Gagliardi e76b34b670 Split windows/area.c into a bunch of files to make it much more manageable. Also did half of the migration to the new uiArea system. 2015-12-18 12:00:46 -05:00
Pietro Gagliardi fdbaea6b6c Migrated the histogram example to the new uiArea system. 2015-12-17 21:26:55 -05:00
Pietro Gagliardi 2ce0c810f1 Added a test of mouse events in a scrolled uiArea. Removed some dead code from the GTK+ uiArea. Now to make the changes to the Windows and OS X backends! 2015-12-17 21:21:29 -05:00
Pietro Gagliardi 6b2d9920c5 Split out the content of test/page7.c into test/page7a.c so more can be put on page 7. 2015-12-17 21:11:00 -05:00
Pietro Gagliardi cc7dd186e5 Fixed runtime issues with uiArea on GTK+. It works! 2015-12-17 19:59:33 -05:00
Pietro Gagliardi 0cb080d085 Ported over the tests. Now to fix runtime errors! 2015-12-17 19:30:28 -05:00
Pietro Gagliardi 78b714c238 Oh neat, only one compiler error. Now to rewrite the tests. 2015-12-17 19:19:08 -05:00
Pietro Gagliardi e167b08fdb Finished reimplementing the GTK+ uiArea. Now to build. Then to rewrite the tests... 2015-12-17 19:16:30 -05:00
Pietro Gagliardi 8ea3b07aa8 Got rid of the clientWidth and clientHeight variables. 2015-12-17 17:37:58 -05:00
Pietro Gagliardi 473c6c92f0 FINALLY removed areaPrivate from uiArea on GTK+, using uiArea itself for everything. Standardized variable names on that front. Also implemented MouseCrossing() there. 2015-12-17 16:49:59 -05:00
Pietro Gagliardi 1957ff1418 More TODOs. 2015-12-17 16:31:56 -05:00
Pietro Gagliardi ffe9a2db28 Got rid of the GtkScrollable code from GtkDrawingArea for uiArea. Woo! Now we just have to nuke all that from the Cocoa backend and we're good. 2015-12-17 14:48:58 -05:00
Pietro Gagliardi e9247858d4 Forgot a parameter in uiAreaHandler.MouseCrossed(). 2015-12-17 14:20:17 -05:00
Pietro Gagliardi 4e015cf4d6 More parameter updating. 2015-12-17 13:54:54 -05:00
Pietro Gagliardi 12a94404aa Set up a new infrastruture which allows both scrolling and non-scrolling areas AND mouse entered/exited events. 2015-12-17 13:50:07 -05:00
Pietro Gagliardi 4e256dfc95 Fixed some oversights in the GTK+ uiArea code. 2015-12-16 18:09:04 -05:00
Pietro Gagliardi 41f1886b02 Settled the OS X rpath stuff. 2015-12-13 02:28:51 -05:00
Pietro Gagliardi 6bee3f2f71 Fixed a bug in the Mac build. 2015-12-13 02:12:13 -05:00
Pietro Gagliardi 3f9862c472 OUCH. Fixed a MASSIVE bug in the GTK+ implementation of uiWindow: uiWindowSetChild() was DESTROYING the old child, not merely removing it! The other ports don't have this bug. 2015-12-12 15:30:56 -05:00
Pietro Gagliardi 18c5a6fd19 Re-added the Haiku makefiles. 2015-12-11 20:26:26 -05:00
Pietro Gagliardi d05b374a05 Added a makefile for examples. 2015-12-11 20:22:07 -05:00
Pietro Gagliardi 3e0b6fdff4 Re-established the test build. 2015-12-11 20:04:31 -05:00
Pietro Gagliardi e390730e6f Reestablished the Windows build. Also fixed a small bug in windows/area.c. Now to re-establish the test! 2015-12-11 19:49:14 -05:00
Pietro Gagliardi 327abd04b0 Re-established the OS X build. 2015-12-11 18:58:27 -05:00
Pietro Gagliardi c027f30c48 More TODOs. 2015-12-11 18:39:04 -05:00
Pietro Gagliardi acf3b3564e Set up the new Unix build. Now to do the OS X build. 2015-12-11 18:37:15 -05:00
Pietro Gagliardi eb22f253b2 More work on the new build system. I think this will work out fine actually, but I can't test without deploying >:( 2015-12-11 18:28:07 -05:00
Pietro Gagliardi 58d160b0ca More TODOs. 2015-12-10 19:22:16 -05:00
Pietro Gagliardi 49049beb91 Started the new build system, with full documentation. 2015-12-10 19:08:26 -05:00
Pietro Gagliardi 70886e4ade Moved the old build files away. Yes that's right folks, we're redoing the build system *again*! Isn't that *fun*? 2015-12-10 18:49:50 -05:00
Pietro Gagliardi c005203b8a Stubbed uiMultilineEntry on Haiku. Why not. 2015-12-10 15:49:22 -05:00
Pietro Gagliardi 919e5f09cd Double-correction of previous commit. 2015-12-09 15:38:24 -05:00
Pietro Gagliardi 5f530c5bf7 More MinGW stuff. 2015-12-09 15:36:56 -05:00
Pietro Gagliardi be6555d885 More MinGW removal stuff. 2015-12-09 15:31:14 -05:00
Pietro Gagliardi 5e26720f18 Removed $ARCH from the build. 2015-12-09 13:49:13 -05:00
Pietro Gagliardi a29f8ee890 Stupid Markdown 2015-12-09 13:04:27 -05:00
Pietro Gagliardi e620a97573 Updated the README. Going to outright drop MinGW-w64 support next. 2015-12-09 13:03:16 -05:00
Pietro Gagliardi 78868253c5 Removed note about manifest file on Windows. 2015-12-09 09:51:30 -05:00
Pietro Gagliardi 529620eb47 Updated a TODO. 2015-12-09 09:07:00 -05:00