Commit graph

20 commits

Author SHA1 Message Date
Russ Cox
9e0d3750c5 9term, win: work around bsd linker nonsense
Change-Id: Ifcef0636ee1e1fd0f9b06a8d1a99d58fae831318
Reviewed-on: https://plan9port-review.googlesource.com/2780
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-01-06 20:20:33 +00:00
Russ Cox
79555a9987 libdraw: refine hidpi font selection
Change-Id: Id1e6a2630713024a1925ad1341bb9c846f82e93e
Reviewed-on: https://plan9port-review.googlesource.com/1171
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:52:06 +00:00
Russ Cox
213fc4f6fb libdraw: autoscale fonts when moving between low and high dpi screens
Change-Id: I6093955b222db89dfe437fb723593b173d888d01
Reviewed-on: https://plan9port-review.googlesource.com/1170
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:51:23 +00:00
Russ Cox
77f23268f7 libdraw: add 2*font syntax for scaled fonts
An experiment.

Change-Id: I40660a211b8372701597d80f7e86917e94cccbaa
Reviewed-on: https://plan9port-review.googlesource.com/1161
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 05:58:37 +00:00
Russ Cox
94dae4befc libdraw: change DefaultDPI to 133
Let's see if that's any better.

R=rsc
http://codereview.appspot.com/6850103
2012-11-26 00:13:04 -05:00
Russ Cox
9f3851871e libdraw: add scalesize
R=rsc
http://codereview.appspot.com/6855092
2012-11-25 22:15:57 -05:00
Russ Cox
323e7d0193 draw.h: add DefaultDPI
R=rsc
http://codereview.appspot.com/6858071
2012-11-25 22:02:02 -05:00
Russ Cox
d0e0701913 devdraw, libdraw: add display->dpi
Fixed at 100 right now, but the plan is to make it accurate
and then use it.

R=rsc
http://codereview.appspot.com/6856091
2012-11-25 21:41:52 -05:00
rsc
76a1b3c9c6 new draw interface 2006-06-25 23:49:35 +00:00
rsc
cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc
bebdea4e8e use carbon for pasteboard 2006-02-28 12:54:33 +00:00
rsc
32bb6c8794 add ABGR32 2005-02-15 05:03:28 +00:00
rsc
1a0954abb8 autolib 2005-01-04 21:18:08 +00:00
rsc
d2ffec702e add OLOCK 2004-06-11 14:38:44 +00:00
rsc
be36ff6885 add -W to specify window size.
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
be22ae2d07 SunOS can rot in hell. 2004-03-26 01:59:35 +00:00
rsc
f7012583e9 Add the #goo to allow use in C++.
Silence a few more warnings.
Strip down the mkfiles more.
Fix bug in X11 mouse handling, note groups.
2003-11-25 01:40:27 +00:00
rsc
16a7096669 Add drawsetlabel(Display*, char*).
Turn window destruction into "hangup" note.
Fix (?) snarf buffer management.
Add latin1 keyboard translation.
2003-11-23 18:15:43 +00:00
rsc
2009374690 Various cleanup. 2003-10-11 02:50:20 +00:00
rsc
b2cfc4e2e7 Initial revision 2003-09-30 17:47:41 +00:00