Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(224)

Unified Diff: include/frame.h

Issue 6850102: code review 6850102: libframe: auto scale tick for retina (Closed)
Patch Set: diff -r c386d69a984b https://code.google.com/p/plan9port Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/libframe/frdraw.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/frame.h
===================================================================
--- 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 @@
};
#define FRTICKW 3
-
struct Frbox
{
long wid; /* in pixels */
@@ -51,6 +50,7 @@
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);
« no previous file with comments | « no previous file | src/libframe/frdraw.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b