summaryrefslogtreecommitdiff
path: root/src/PSEditModel.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-07-17 18:56:42 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-07-17 18:56:42 +0200
commit3f0ff82397288f0216fdd367d778a7757cc9355c (patch)
treeb83145bf29da2b8fdf8eca4cdcf6f289a91abdff /src/PSEditModel.H
parentc6a87e3c65772e729b01caefd7f849b7dcbd1855 (diff)
reindent using vim
Diffstat (limited to 'src/PSEditModel.H')
-rw-r--r--src/PSEditModel.H61
1 files changed, 31 insertions, 30 deletions
diff --git a/src/PSEditModel.H b/src/PSEditModel.H
index 18ea91d..a228793 100644
--- a/src/PSEditModel.H
+++ b/src/PSEditModel.H
@@ -11,64 +11,65 @@
class PSEditModel {
- PSEditText **text;
+ PSEditText **text;
- int max_pages;
+ int max_pages;
- int page;
+ int page;
- PSEditText *cur_text;
+ PSEditText *cur_text;
-public:
- PSEditModel();
+ public:
+ PSEditModel();
- ~PSEditModel();
+ ~PSEditModel();
- void clear();
+ void clear();
- void new_text(int x1, int y1, const char *s, int size, int p, PSEditColor *c);
+ void new_text(int x1, int y1,
+ const char *s, int size, int p, PSEditColor *c);
- void append_text(const char *s);
+ void append_text(const char *s);
- void move(int x1, int y1);
+ void move(int x1, int y1);
- void rm_char();
+ void rm_char();
- void set_size(int s);
+ void set_size(int s);
- int get_size();
+ int get_size();
- void set_color(PSEditColor *c);
+ void set_color(PSEditColor *c);
- int get_color(PSEditColor *c);
+ int get_color(PSEditColor *c);
- void set_page(int p);
+ void set_page(int p);
- int get_page();
+ int get_page();
- char *get_tag();
+ char *get_tag();
- int set_tag(const char *t);
+ int set_tag(const char *t);
- int get_max_pages();
+ int get_max_pages();
- int set_cur_text(int x1, int y1, int p);
+ int set_cur_text(int x1, int y1, int p);
- int next_text(int p);
+ int next_text(int p);
- int is_cur_text(PSEditText *t);
+ int is_cur_text(PSEditText *t);
- PSEditText *get_text(int p);
+ PSEditText *get_text(int p);
- PSEditText *get_cur_text();
+ PSEditText *get_cur_text();
- int replace_tag(char* tag, char* text);
+ int replace_tag(char* tag, char* text);
- int dump_tags();
+ int dump_tags();
- int load(FILE *fp);
+ int load(FILE *fp);
- int save(FILE *sfp, int tmp_fd);
+ int save(FILE *sfp, int tmp_fd);
};
#endif