Index: src/cmd/samterm/flayer.h |
=================================================================== |
--- a/src/cmd/samterm/flayer.h |
+++ b/src/cmd/samterm/flayer.h |
@@ -41,10 +41,11 @@ |
void flstart(Rectangle); |
void flupfront(Flayer*); |
Flayer *flwhich(Point); |
+int flscale(Flayer*, int); |
-#define FLMARGIN 4 |
-#define FLSCROLLWID 12 |
-#define FLGAP 4 |
+#define FLMARGIN(l) flscale(l, 4) |
+#define FLSCROLLWID(l) flscale(l, 12) |
+#define FLGAP(l) flscale(l, 4) |
extern Image *maincols[NCOL]; |
extern Image *cmdcols[NCOL]; |