aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-03-14 23:24:00 +0100
committerThomas White <taw@bitwiz.org.uk>2016-03-14 23:24:00 +0100
commit8d69fd3d476179768d9e13d79261c5a1a7cacda4 (patch)
treecc4ab748be126479be943eeb4d1854a045d5a6d8 /src/frame.h
parentc900972b5752c6fd10ca01a5789dc969f2648811 (diff)
Fix frame creation
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 11ad36b..cd1bfa4 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -66,6 +66,9 @@ struct frame
int max_lines;
struct wrap_line *lines;
+ /* The font which will be used by default for this frame */
+ PangoFontDescription *fontdesc;
+
/* The rectangle allocated to this frame, determined by the renderer */
double x;
double y;
@@ -101,5 +104,7 @@ extern void frame_free(struct frame *fr);
extern struct frame *add_subframe(struct frame *fr);
extern void show_hierarchy(struct frame *fr, const char *t);
extern void delete_subframe(struct frame *top, struct frame *fr);
+extern struct frame *find_frame_with_scblocks(struct frame *top,
+ SCBlock *scblocks);
#endif /* FRAME_H */