Commit Graph

1950 Commits

Author SHA1 Message Date
Pietro Gagliardi f9b6eba7df Implemented the new font stuff on GTK+. 2016-01-12 16:59:13 -05:00
Pietro Gagliardi 73867119ef Updated the test and fixed compiler errors in darwin/drawtext.m. It seems to work now! Width handling is still not working right, but width handling needs major rewrites because width on Core Text has major sensibility issues... 2016-01-12 01:58:45 -05:00
Pietro Gagliardi 426b133e58 Implemented the new font API on OS X. Now to rewrite the test. 2016-01-12 01:46:28 -05:00
Pietro Gagliardi ae60141497 Decided to split the OS X text drawing stuff into its own file to make it easier to manage. In fact, darwin/draw.m used to be the longest file (by line count) in libui's source code proper (not the longest in the repo)! (Now it's windows/draw.c instead, and that *doesn't* contain text code!) 2016-01-12 01:14:41 -05:00
Pietro Gagliardi ab792dcc66 More Core Text stuff. 2016-01-11 19:34:42 -05:00
Pietro Gagliardi b06bd31ee0 More documentation preparation. 2016-01-11 18:57:27 -05:00
Pietro Gagliardi 7e24debe22 Started planning an Actual Core Text Document. 2016-01-11 16:45:36 -05:00
Pietro Gagliardi 980f5a7419 Some more text API changes. 2016-01-10 21:02:40 -05:00
Pietro Gagliardi 5f1b900dc5 More TODOs. More even bigger TODOs. 2016-01-10 15:35:43 -05:00
Pietro Gagliardi 2342f191f4 More TODOs. Big TODOs. 2016-01-09 20:58:52 -05:00
Pietro Gagliardi 9b1b7ce365 More TODOs. 2016-01-09 18:36:21 -05:00
Pietro Gagliardi 0ec7d91e22 Filled in the text coordinate conversion functions on Windows. 2016-01-09 18:22:51 -05:00
Pietro Gagliardi 29794af67a Filled in text size conversion functions on OS X. 2016-01-09 18:14:06 -05:00
Pietro Gagliardi ca75579135 More exposition. 2016-01-09 18:05:44 -05:00
Pietro Gagliardi 3cc2a06147 Added font matching to the OS X backend. 2016-01-09 17:41:05 -05:00
Pietro Gagliardi dec34670bb Fixed keyboard events not working on OS X. 2016-01-09 15:05:19 -05:00
Pietro Gagliardi 2a80888cb8 Fixed a warning in the test program. 2016-01-09 14:49:44 -05:00
Pietro Gagliardi ef54b99b93 Fixed text rendering on Windows. Woo, it all works so far! 2016-01-09 02:23:01 -05:00
Pietro Gagliardi a826fd7516 Wrote the text drawing code on Windows. Now to build and test. 2016-01-09 01:07:48 -05:00
Pietro Gagliardi 69e5dd42cf More big TODOs. 2016-01-08 19:11:12 -05:00
Pietro Gagliardi 5365453c19 Tried to figure out the traits stuff for myself. I can't quite do that when it has no effect :v 2016-01-08 17:13:31 -05:00
Pietro Gagliardi 11a3fcfad0 Fixed the drawing shenanigans. 2016-01-08 13:51:39 -05:00
Pietro Gagliardi 94883ed620 Kinda sorta fixed the text rendering stuff. 2016-01-08 12:49:52 -05:00
Pietro Gagliardi 4c12934992 Fixed the compiler errors in the previous commit. Things aren't quite right yet. 2016-01-08 10:14:09 -05:00
Pietro Gagliardi e7a68893e2 Filled in the rest of the beginning of the Core Text implementation. 2016-01-08 02:08:26 -05:00
Pietro Gagliardi 9fc92cf96b Started doing the Core Text text code. I am completely lost on text styles. 2016-01-07 21:51:37 -05:00
Pietro Gagliardi ca514d94d1 Set up a proper, formal layout and attirbute system. No attributes right now, but initial font style is in. Implemented it on GTK+. 2016-01-07 18:37:43 -05:00
Pietro Gagliardi 4f2dbe2662 Really fixed the NSMapTable nonsense now. Added a TODO to go through the rest of the code for the same. 2016-01-07 16:01:11 -05:00
Pietro Gagliardi 9cfc133481 "Fixed" the weird crashes and fixed the makefile failures. 2016-01-07 15:43:35 -05:00
Pietro Gagliardi 499a93e32e Completely rewrote the OS X map system to use NSMapTable correctly and hide the details behind more wrapper functions to prevent further mass rewrites; this fixes most of the crashing issues on OS X. The one with package ui still stands... 2016-01-07 14:41:20 -05:00
Pietro Gagliardi f9b940f698 More TODOs. 2016-01-06 20:39:47 -05: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 6a15e23897 Set up saner handling of sonames at build time. 2016-01-05 11:51:36 -05:00
Pietro Gagliardi a620e3921e Okay this isn't going to work 2016-01-05 00:37:46 -05:00
Pietro Gagliardi 8672a46545 Okay let's try that again 2016-01-05 00:29:05 -05:00
Pietro Gagliardi 0713e36e57 Let's try adding OS X to the Travis file. 2016-01-05 00:26:52 -05:00
Pietro Gagliardi 84b392d0f9 Quick formatting fix in the README. 2016-01-04 19:03:34 -05:00
Pietro Gagliardi 70c8d075e9 Merge branch 'master' of github.com:andlabs/libui 2016-01-04 19:03:02 -05:00
Pietro Gagliardi 73b0a634a4 Merge pull request #11 from fclairamb/master
Adding travis icon
2016-01-04 19:02:46 -05:00
Florent Clairambault 9f43f4089b Adding travis icon 2016-01-05 00:54:41 +01:00
Pietro Gagliardi 6f10fcaee7 Trivial change: Windows sizing stuff gone. 2016-01-04 16:13:54 -05:00
Pietro Gagliardi c7d7a64373 Removed the ID2D1RenderTarget_GetSize note from the README; it affects MSVC too. 2016-01-04 16:04:16 -05:00
Pietro Gagliardi 319331e0dd More commit stuff. 2016-01-04 16:00:16 -05:00
Pietro Gagliardi 9570981b50 Cleaned up some things related to the previous merge. 2016-01-04 15:52:39 -05:00
Pietro Gagliardi 24f7c2d803 Merge branch 'master' of github.com:andlabs/libui 2016-01-04 15:49:20 -05:00
Pietro Gagliardi b6f433cb13 Merge pull request #10 from fclairamb/master
Makefile changes + Travis file
2016-01-04 15:48:44 -05:00
Pietro Gagliardi 27ece23442 More TODOs. 2016-01-03 15:54:17 -05:00
Pietro Gagliardi dfd2b7c916 More TODOs. 2016-01-03 13:53:55 -05:00
Pietro Gagliardi 9e8e09f262 Added an explicit check for ARC. 2016-01-02 09:22:24 -05:00
Florent Clairambault e24c8f6440 Merge remote-tracking branch 'upstream/master' 2016-01-02 13:27:08 +01:00