Commit Graph

115 Commits

Author SHA1 Message Date
Pietro Gagliardi 32a0284edc Started work on actual attributed text. This includes the beginnings of an attributed text example. Now to implement. 2017-02-11 23:19:30 -05:00
Pietro Gagliardi c4a97792ea And implemented the new stuff on Windows. 2017-02-11 21:54:06 -05:00
Pietro Gagliardi bd66e70452 And added the alignment flag to the example program. 2017-02-11 19:56:26 -05:00
Pietro Gagliardi 8a64a1dfb0 Made the OS X code and the example program use the new layout stuff. 2017-02-11 19:47:20 -05:00
Pietro Gagliardi a014eb27e6 More TODO completion in the drawtext example. 2017-02-11 14:22:23 -05:00
Pietro Gagliardi 67949d79aa And re-added the uiFontButton on OS X and added one to the hit-test example. 2017-02-11 01:13:07 -05:00
Pietro Gagliardi 230d23765a Removed Uniscribe from the Windows build process and header file list. Also more TODOs. Next major goal: reinstating the font button. 2017-02-10 22:22:47 -05:00
Pietro Gagliardi 5f05ebbffe Expanded the hittest example by handling keyboard input. I should probably rename it to The Caret and Graphemes. 2017-02-10 19:22:25 -05:00
Pietro Gagliardi 5354aa5262 And cleaned hittest.c up. 2017-02-10 19:08:31 -05:00
Pietro Gagliardi b5b0fae052 And implemented uiDrawCaret() on GTK+. 2017-02-10 16:53:08 -05:00
Pietro Gagliardi 4b46dab775 And that last fix also fixed the issue about byte 1 being wrong. 2017-02-10 11:09:36 -05:00
Pietro Gagliardi 49d36b340c Started adjusting all the implementations to the new API's formal definition. There's bugs in uiAttributedString... 2017-02-10 10:54:37 -05:00
Pietro Gagliardi b96114e02d Fixed the hit-test example to manage the cursor more sanely. 2017-02-08 21:52:52 -05:00
Pietro Gagliardi d53bc88f50 And filled in the new functions on GTK+. Not quite right yet... 2017-02-08 21:19:49 -05:00
Pietro Gagliardi 749a0cddaf Wrote the new hit-testing API on OS X, the easiest target. Also updated the example. Had to slightly modify one function for this all to work. 2017-02-08 19:00:45 -05:00
Pietro Gagliardi bbc03a489e Implemented the system on the hit-test example and on OS X. 2017-02-07 16:43:49 -05:00
Pietro Gagliardi e4ed1c337b And implemented the functions on Windows. Yeah I think I'll need cursor functions, perhaps. 2017-02-06 18:38:44 -05:00
Pietro Gagliardi 71176c2e33 Added the descriptive label to the caret. 2017-02-06 01:46:06 -05:00
Pietro Gagliardi 675e7594da More TODOs. 2017-02-06 00:26:47 -05:00
Pietro Gagliardi a1bebc82d8 And implemented caret motions in the hit test examples. 2017-02-06 00:26:22 -05:00
Pietro Gagliardi 64a1167e5f Added the blue caret to the drawtext example. Phew! 2017-02-05 21:44:48 -05:00
Pietro Gagliardi c336063b65 Decided what I need to do. 2017-02-05 20:26:59 -05:00
Pietro Gagliardi 7eba767ffb Temporarily turning off excess text for magnification tests. 2017-01-21 18:27:03 -05:00
Pietro Gagliardi 351b3b6077 Added some debugging for that DirectWrite RTL stuff. 2017-01-20 22:39:37 -05:00
Pietro Gagliardi bbed231324 Fixed up misused Unicode. 2017-01-20 22:25:37 -05:00
Pietro Gagliardi 339bdfc89b Started a hit-test and grapheme boundary test. Looks like we're not quite out of the woods with DirectWrite just yet. 2017-01-20 20:38:18 -05:00
Pietro Gagliardi 6ccf436206 Implemented Pango text metrics and expanded the drawtext basic page to draw metrics. Works on both Pango and OS X; DirectWrite comes next. 2017-01-20 16:36:44 -05:00
Pietro Gagliardi 6ef6ed8cde Expanded the drawtext example to allow for multiple examples and options in the examples. Our old makefiles wouldn't allow examples to be spread across multiple files like this, so yay cmake? 2017-01-20 13:25:21 -05:00
Pietro Gagliardi 2d09f22932 Added a debugging guide for Windows. Will have to investigate this more, because I can't find any information online that suggests Direct2D should not respect clipping when drawing text :S Also more TODOs. 2017-01-20 12:46:00 -05:00
Pietro Gagliardi 5444f76bd3 Started implementing the new text layout stuff on GTK+. The drawtext example works. 2017-01-17 21:06:45 -05:00
Pietro Gagliardi 7f270942a7 And fixed errors. Woo, it works!!!!! 2017-01-17 13:54:23 -05:00
Pietro Gagliardi 907d7c5830 Added the beginning of a text-drawing example (since I would need to heavily change the tester to test these things; hopefully in the future the example will be much more sophisticated). Time to fix segfaults! 2017-01-17 13:30:00 -05:00
Pietro Gagliardi 9785565c8c Expanded the control gallery a bit further. 2016-06-17 11:34:42 -04:00
Pietro Gagliardi 9656a81c77 Added uiNewVerticalSeparator(). 2016-06-17 11:02:17 -04:00
Pietro Gagliardi 75a8ee9bf9 Removed intmax_t from everything else EXCEPT the Windows code. Now it's time for THAT... 2016-06-13 21:37:50 -04:00
Pietro Gagliardi f08cd96688 More control gallery rewriting. Removed some debugging code in the OS X grid. 2016-06-12 19:55:35 -04:00
Pietro Gagliardi 41ec54cb47 Started a new controlgallery. Fixed some glitches in OS X uiForm. 2016-06-12 19:08:08 -04:00
Pietro Gagliardi 6ebdc96b93 Updated the README and example screenshots. Here we go for real! 2016-06-05 18:00:18 -04:00
Pietro Gagliardi 0d88e5eb8b More cmake work. That's enough of Visual Studio for now. 2016-06-03 19:25:43 -04:00
Pietro Gagliardi 1903115bbd Pushed all the build files elsewhere. I'm rewriting the CMakeLists files from scratch. 2016-06-03 00:29:31 -04:00
Pietro Gagliardi e4a66b786e Fixed static builds, added GTK+ builds, and cleaned out things in general for cmake. 2016-06-01 20:21:10 -04:00
Pietro Gagliardi 81c555ea3b Added the examples CMakeLists.txt. 2016-06-01 14:42:24 -04:00
Pietro Gagliardi be8a957689 Fixed static linking on Windows. 2016-05-29 18:35:06 -04:00
Pietro Gagliardi 996ba99b0f Began uiEditableCombobox splitting. 2016-05-23 17:41:37 -04:00
Pietro Gagliardi 33f4a427c3 Added a uiColorButton to the control gallery. 2016-05-18 14:40:03 -04:00
Pietro Gagliardi a038923060 Added a color well to the histogram example. 2016-05-15 21:02:35 -04:00
Pietro Gagliardi 3425963606 Updated the darwin screenshot with our new Auto Layout fixes. 2016-05-13 13:36:27 -04:00
Pietro Gagliardi 897674d20f Made the queuemaintest a multithreading example, because why not. 2016-05-12 12:50:05 -04:00
Pietro Gagliardi 440e8fa47f Integrated the GTK+ date/time picker. FINALLY! 2016-05-04 23:35:11 -04:00
Pietro Gagliardi 6760816b13 Updated the controlgallery screenshots. More TODOs. 2016-04-24 13:07:19 -04:00
Pietro Gagliardi d8f8812c85 Further reworking. 2016-04-24 09:50:06 -04:00
Pietro Gagliardi 68194bbfd1 Started reworking the controlgallery example's layout. 2016-04-24 09:48:38 -04:00
Pietro Gagliardi 68a3476f35 Fixed the controlgallery example. Reenabled it in make examples. Changed .travis.yml to build the test first. 2016-01-06 19:38:27 -05:00
Pietro Gagliardi 05ab8d07db And added compatibility manifests to the examples too. 2015-12-31 20:12:14 -05:00
Pietro Gagliardi fdbaea6b6c Migrated the histogram example to the new uiArea system. 2015-12-17 21:26:55 -05:00
Pietro Gagliardi d05b374a05 Added a makefile for examples. 2015-12-11 20:22:07 -05:00
Pietro Gagliardi 79e00d3c90 Fixed improper initialization of uiDrawStrokeParams in the histogram example. 2015-12-04 21:10:27 -05:00
Pietro Gagliardi 8084041139 Removed uiAreaHandler.RedrawOnResize(); Direct2D requires us to always redraw on resize (see previous commit). Added windows/amd64 to the example makefiles and updated them to use libui.xxx instead of new.xxx. 2015-12-04 21:04:51 -05:00
Pietro Gagliardi 10cba66bbf Enhanced the histogram example with some basic mouse interaction. 2015-10-14 11:45:31 -04:00
Pietro Gagliardi 7d8c78bf8e Quick makefile fix. 2015-10-13 16:47:46 -04:00
Pietro Gagliardi 3f0133f57a More work on the histogram example. 2015-10-13 16:40:05 -04:00
Pietro Gagliardi 6018780970 Started a histogram example. 2015-10-13 16:32:55 -04:00
Pietro Gagliardi 5e9be14f7a More screenshots. 2015-09-02 21:51:29 -04:00
Pietro Gagliardi b8b4ee989f More screenshots. 2015-09-02 21:31:59 -04:00
Pietro Gagliardi 4fc345077b Added a control gallery example. 2015-09-02 21:12:24 -04:00