diff options
author | Russ Cox <rsc@swtch.com> | 2012-11-25 23:48:19 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-11-25 23:48:19 -0500 |
commit | cc9547960e7cf12129e84c9489eb5dcd6235144b (patch) | |
tree | fafffafefcb6f8594dec50f499be5493d8d20717 /include | |
parent | ffaaaf9dae8de3c58c0d13f94926ddc363fdaf97 (diff) | |
download | plan9port-cc9547960e7cf12129e84c9489eb5dcd6235144b.tar.gz plan9port-cc9547960e7cf12129e84c9489eb5dcd6235144b.tar.bz2 plan9port-cc9547960e7cf12129e84c9489eb5dcd6235144b.zip |
libframe: auto scale tick for retina
R=rsc
http://codereview.appspot.com/6850102
Diffstat (limited to 'include')
-rw-r--r-- | include/frame.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/frame.h b/include/frame.h index c4ebd160..590a7b8c 100644 --- a/include/frame.h +++ b/include/frame.h @@ -1,7 +1,7 @@ #ifndef _FRAME_H_ #define _FRAME_H_ 1 #if defined(__cplusplus) -extern "C" { +extern "C" { #endif AUTOLIB(frame) @@ -19,7 +19,6 @@ enum{ }; #define FRTICKW 3 - struct Frbox { long wid; /* in pixels */ @@ -51,6 +50,7 @@ struct Frame Image *tickback; /* saved image under tick */ int ticked; /* flag: is tick onscreen? */ int noredraw; /* don't draw on the screen */ + int tickscale; /* tick scaling factor */ }; ulong frcharofpt(Frame*, Point); |