Mercurial > pidgin
changeset 618:ff7a04b30608
[gaim-migrate @ 628]
oops :)
committer: Tailor Script <tailor@pidgin.im>
author | Todd Kulesza <fflewddur> |
---|---|
date | Sat, 05 Aug 2000 17:57:39 +0000 |
parents | 50f7a0bc76fc |
children | faa7603ae02e |
files | pixmaps/gnome_add.xpm pixmaps/gnome_remove.xpm src/gtkhtml.h |
diffstat | 3 files changed, 146 insertions(+), 41 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pixmaps/gnome_add.xpm Sat Aug 05 17:57:39 2000 +0000 @@ -0,0 +1,56 @@ +/* XPM */ +static char * gnome_add_xpm[] = { +"24 24 29 1", +" c None", +". c #000000", +"+ c #706C60", +"@ c #E0DCC0", +"# c #6F6B5F", +"$ c #6E6A5E", +"% c #DEDABE", +"& c #ADA798", +"* c #686754", +"= c #949480", +"- c #BAB696", +"; c #41413F", +"> c #5F5F59", +", c #D4CCC0", +"' c #A7A296", +") c #B3B090", +"! c #484844", +"~ c #84847C", +"{ c #A19D90", +"] c #4B4B48", +"^ c #CEC7B9", +"/ c #969289", +"( c #BAB3A8", +"_ c #6D6D66", +": c #AAA597", +"< c #5B5B56", +"[ c #7F7C71", +"} c #5A5A54", +"| c #8D897F", +" ", +" ", +" ", +" ... ", +" ... ", +" ... ", +" ... ", +" ... ", +" ....... ", +" ..... ", +" ...+...@... ", +" ..++#$#.@%%@@.. ", +" .&.*+++=@@@-;>. ", +" .,,'.*+=@)!>~~. ", +" .,,,,{.+]>~~~~. ", +" .,,,,,^.~~~~~~. ", +" .,,,,,,.~~~~~~. ", +" .,,,,,,.~~~~~~. ", +" ./(,,,,.~~~~~_. ", +" ..:,,,.~~~~<.. ", +" .[(,.~~}.. ", +" ..|.}.. ", +" ... ", +" "};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pixmaps/gnome_remove.xpm Sat Aug 05 17:57:39 2000 +0000 @@ -0,0 +1,57 @@ +/* XPM */ +static char * gnome_remove_xpm[] = { +"24 24 30 1", +" c None", +". c #000000", +"+ c #200002", +"@ c #140000", +"# c #190001", +"$ c #706C60", +"% c #100000", +"& c #E0DCC0", +"* c #ADA798", +"= c #686754", +"- c #949480", +"; c #BAB696", +"> c #41413F", +", c #5F5F59", +"' c #D4CCC0", +") c #A7A296", +"! c #B3B090", +"~ c #484844", +"{ c #84847C", +"] c #A19D90", +"^ c #4B4B48", +"/ c #CEC7B9", +"( c #969289", +"_ c #BAB3A8", +": c #6D6D66", +"< c #AAA597", +"[ c #5B5B56", +"} c #7F7C71", +"| c #5A5A54", +"1 c #8D897F", +" ", +" ", +" ", +" . ", +" ... ", +" ..... ", +" ....... ", +" ... ", +" +@# ", +" .###. ", +" ...$%@#&... ", +" ..$$$$##+&&&&.. ", +" .*.=$$$-&&&;>,. ", +" .'').=$-&!~,{{. ", +" .''''].$^,{{{{. ", +" .'''''/.{{{{{{. ", +" .''''''.{{{{{{. ", +" .''''''.{{{{{{. ", +" .(_''''.{{{{{:. ", +" ..<'''.{{{{[.. ", +" .}_'.{{|.. ", +" ..1.|.. ", +" ... ", +" "};
--- a/src/gtkhtml.h Sat Aug 05 06:35:50 2000 +0000 +++ b/src/gtkhtml.h Sat Aug 05 17:57:39 2000 +0000 @@ -45,17 +45,17 @@ GdkColor *fore; GdkColor *back; GdkFont *font; - int uline; - int strike; - int width, height; + int uline; + int strike; + int width, height; int x, y; char *url; int was_selected; int sel_s, sel_e; int newline; - char *text; + char *text; GdkPixmap *pm; - int fit; + int fit; }; @@ -72,27 +72,26 @@ int current_x; int current_y; - GdkGC *gc; - GdkGC *bg_gc; + GdkGC *gc; + GdkGC *bg_gc; GList *html_bits; GList *urls; int start_sel_x, start_sel_y; GtkHtmlBit *start_sel, *end_sel; int num_start, num_end; char *selected_text; - gint editable; - gint transparent; + gint editable; + gint transparent; gint timer; gint last_ver_value; - char *title; - gint frozen; - GtkHtmlBit *cursor_hb; - GtkWidget *tooltip_window; - GtkHtmlBit *tooltip_hb; - int tooltip_timer; - int cursor_pos; - GdkPixmap *pm; - + char *title; + gint frozen; + GtkHtmlBit *cursor_hb; + GtkWidget *tooltip_window; + GtkHtmlBit *tooltip_hb; + int tooltip_timer; + int cursor_pos; + GdkPixmap *pm; }; @@ -110,7 +109,6 @@ #define HTML_BIT_PIXMAP 1 #define HTML_BIT_SEP 2 - #define HTML_OPTION_NO_COLOURS 0x01 #define HTML_OPTION_NO_FONTS 0x02 @@ -126,30 +124,24 @@ #define PROP_ITALIC_FONT "-*-helvetica-medium-o-*-*-*-%d-*-*-*-*-*-*" #define PROP_BOLD_ITALIC_FONT "-*-helvetica-bold-o-*-*-*-%d-*-*-*-*-*-*" - - #define HTML_TOOLTIP_DELAY 500 - - -GtkType gtk_html_get_type (void); -GtkWidget* gtk_html_new (GtkAdjustment *hadj, - GtkAdjustment *vadj); -void gtk_html_set_editable (GtkHtml *html, - gboolean is_editable); -void gtk_html_set_transparent (GtkHtml *html, - gboolean is_transparent); -void gtk_html_set_adjustments (GtkHtml *html, - GtkAdjustment *hadj, - GtkAdjustment *vadj); -void gtk_html_append_text (GtkHtml *html, - char *text, - gint options); -void gtk_html_freeze (GtkHtml *html); -void gtk_html_thaw (GtkHtml *html); - -void gtk_html_add_pixmap (GtkHtml * html, GdkPixmap *pm, gint fint, gint newline); - +GtkType gtk_html_get_type (void); +GtkWidget* gtk_html_new (GtkAdjustment *hadj, + GtkAdjustment *vadj); +void gtk_html_set_editable (GtkHtml *html, + gboolean is_editable); +void gtk_html_set_transparent (GtkHtml *html, + gboolean is_transparent); +void gtk_html_set_adjustments (GtkHtml *html, + GtkAdjustment *hadj, + GtkAdjustment *vadj); +void gtk_html_append_text (GtkHtml *html, + char *text, gint options); +void gtk_html_freeze (GtkHtml *html); +void gtk_html_thaw (GtkHtml *html); +void gtk_html_add_pixmap (GtkHtml * html, GdkPixmap *pm, + gint fint, gint newline); #ifdef __cplusplus /*}*/