Mercurial > pidgin.yaz
comparison console/libgnt/gnttextview.h @ 13896:a621329e8c85
[gaim-migrate @ 16381]
Changes in GntTextView. Things go somewhat 'smooth' when run inside
valgrind. Otherwise, it's kind of flaky. I don't mind a single bit
if someone gave me a hint :)
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 01 Jul 2006 00:56:05 +0000 |
parents | 5c750626eaa5 |
children | 917a71dd02eb |
comparison
equal
deleted
inserted
replaced
13895:8f910263b4bb | 13896:a621329e8c85 |
---|---|
23 | 23 |
24 struct _GnTextView | 24 struct _GnTextView |
25 { | 25 { |
26 GntWidget parent; | 26 GntWidget parent; |
27 | 27 |
28 WINDOW *scroll; /* XXX: For now, let's do with this. */ | 28 GList *list; /* List of GntTextLine */ |
29 int pos; /* Scroll position. */ | |
30 int lines; /* No. of lines of text. */ | |
31 }; | 29 }; |
32 | 30 |
33 typedef enum | 31 typedef enum |
34 { | 32 { |
35 GNT_TEXT_FLAG_BOLD = 1 << 0, | 33 GNT_TEXT_FLAG_BOLD = 1 << 0, |
36 GNT_TEXT_FLAG_UNDERLINE = 1 << 1, | 34 GNT_TEXT_FLAG_UNDERLINE = 1 << 1, |
37 GNT_TEXT_FLAG_BLINK = 1 << 2, | 35 GNT_TEXT_FLAG_BLINK = 1 << 2, |
36 GNT_TEXT_FLAG_DIM = 1 << 3, | |
37 GNT_TEXT_FLAG_HIGHLIGHT = 1 << 4, | |
38 } GntTextViewFlags; | 38 } GntTextViewFlags; |
39 | 39 |
40 struct _GnTextViewClass | 40 struct _GnTextViewClass |
41 { | 41 { |
42 GntWidgetClass parent; | 42 GntWidgetClass parent; |