aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-12 22:35:43 +0100
committerThomas White <taw@physics.org>2018-03-12 22:35:43 +0100
commitcc5038a7a2be909dd845e0e5e635cc6f0697e98f (patch)
tree5e23038dfb91ad43185340f5a720052986b7b9ac /src/frame.h
parent6f95a69666891323f594f01c9eac918665968b54 (diff)
Get rid of Paragraph->open
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/frame.h b/src/frame.h
index af2e9fd..606fabf 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -121,11 +121,7 @@ extern struct frame *find_frame_with_scblocks(struct frame *top,
extern double total_height(struct frame *fr);
-extern void add_newpara(struct frame *fr, SCBlock *bl);
-extern Paragraph *last_open_para(struct frame *fr);
-extern Paragraph *current_para(struct frame *fr);
-extern void close_last_paragraph(struct frame *fr);
-extern int last_para_available_for_text(struct frame *fr);
+extern Paragraph *last_para(struct frame *fr);
extern void show_para(Paragraph *p);
extern void set_para_spacing(Paragraph *para, float space[4]);
@@ -202,6 +198,7 @@ extern int get_sc_pos(struct frame *fr, int pn, size_t pos,
extern void *get_para_bvp(Paragraph *para);
extern void merge_paragraphs(struct frame *fr, int para);
+extern Paragraph *create_paragraph(struct frame *fr);
extern enum para_type para_type(Paragraph *para);
extern SCBlock *para_scblock(Paragraph *para);