summary refs log tree commit diff stats
path: root/plugins/hextray/icons/ban.ico
blob: 72630e5476bb2fdaf6c80b3f4a13162a77369fde (plain)
ofshex dumpascii
0000 00 00 01 00 01 00 10 10 00 00 01 00 20 00 68 04 00 00 16 00 00 00 28 00 00 00 10 00 00 00 20 00 ..............h.......(.........
0020 00 00 01 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 14 00 00 00 17 00 00 00 19 00 00 ................................
0060 00 19 00 00 00 16 00 00 00 12 00 00 00 08 00 00 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0080 00 00 00 00 00 00 00 00 00 00 00 00 00 38 00 02 12 df 00 0a 45 e2 00 0a 53 e4 00 0a 5a e5 00 0a .............8......E...S...Z...
00a0 57 e5 00 08 47 e3 00 06 2e e0 00 00 00 dc 00 00 00 5c 00 00 01 09 00 00 00 00 00 00 00 00 00 00 W...G............\..............
00c0 00 00 00 00 03 00 00 00 00 0e 00 10 59 e6 01 30 ff fe 0e 2b bc ff 21 2d 68 ff 33 35 3d ff 36 38 ............Y..0...+..!-h.35=.68
00e0 46 ff 26 35 7f fe 0e 30 d4 fe 00 2e ff fe 00 08 29 ef 00 00 00 39 00 00 00 04 00 00 00 00 00 00 F.&5...0........)....9..........
0100 00 00 00 00 00 00 00 09 2b 8d 03 33 d0 ff 23 2b 48 fe 2d 2c 29 fe 37 36 35 ff 41 41 41 ff 48 48 ........+..3..#+H.-,).765.AAA.HH
0120 47 ff 4e 4d 4b ff 54 54 53 fe 36 44 77 fe 00 30 d1 ff 00 04 10 b0 00 00 01 15 00 00 00 00 00 00 G.NMK.TTS.6Dw..0................
0140 00 00 00 00 00 36 03 2e 96 ff 2a 35 4d fe 29 28 28 ff 2c 39 55 ff 29 33 48 c9 32 30 2b 3f 49 48 .....6....*5M.)((.,9U.)3H.20+?IH
0160 47 2e 3f 47 59 d8 58 57 56 ff 64 63 5f ff 34 4a 7c fe 00 1d 62 ff 00 00 00 5e 00 00 01 08 00 00 G.?GY.XWV.dc_.4J|...b....^......
0180 00 07 00 28 74 d2 1c 51 b4 ff 29 27 24 fe 23 34 50 ff 04 57 f1 fe 00 4d de fd 00 07 1a 90 01 16 ...(t..Q..)'$.#4P..W...M........
01a0 3c ae 36 42 57 fd 51 51 50 ff 56 56 57 ff 52 52 53 fe 0d 52 d1 ff 00 0a 1c da 00 00 00 25 00 13 <.6BW.QQP.VVW.RRS..R.........%..
01c0 2d 47 00 5c ea ff 46 4c 57 ff 26 26 25 ff 0f 1f 3a b3 00 5c e3 fc 00 6a ff fe 01 56 d1 ff 2c 41 -G.\..FLW.&&%...:..\...j...V..,A
01e0 60 ff 44 43 41 ff 34 38 3e f2 47 49 4d cb 4c 4b 49 ff 22 49 81 fe 00 4c bf fe 00 00 00 66 00 32 `.DCA.48>.GIM.LKI."I...L.....f.2
0200 6b d3 00 73 fc ff 6b 63 5a ff 3d 3d 3d fb 00 00 00 06 00 07 14 81 01 6b e6 ff 28 3f 5a ff 39 37 k..s..kcZ.===..........k..(?Z.97
0220 34 ff 26 28 2b ff 00 00 01 59 3d 3d 3d 46 46 46 45 ff 2f 3b 49 ff 00 76 ff ff 00 15 2e cc 00 40 4.&(+....Y===FFFE./;I..v.......@
0240 7d ca 00 81 fa ff 6b 63 5b ff 52 52 52 f9 00 00 00 15 02 47 86 d9 21 44 65 ff 2f 2b 28 ff 27 46 }.....kc[.RRR......G..!De./+(.'F
0260 60 ff 01 79 e8 ff 00 1b 33 b1 33 30 2e 4b 3e 3d 3d ff 2c 36 3e ff 00 89 ff ff 00 1e 3c db 00 2a `..y....3.30.K>==.,6>.......<..*
0280 4b 45 00 87 ee ff 64 63 62 ff 59 57 56 ff 0c 3b 5d d5 3c 59 70 ff 49 46 43 fe 24 45 5d ff 01 94 KE....dcb.YWV..;].<Yp.IFC.$E]...
02a0 fc ff 00 94 ff fe 00 87 ea fd 2a 42 53 d8 37 35 34 ff 1f 4d 6e fe 00 80 df ff 00 07 0d 74 00 00 ..........*BS.754..Mn........t..
02c0 00 09 00 61 9d d5 34 84 b2 ff 5d 5a 59 fe 52 55 57 ff 54 53 52 fe 3a 57 67 ff 02 1f 30 b2 00 42 ...a..4...]ZY.RUW.TSR.:Wg...0..B
02e0 6b d0 00 a2 ff ff 05 99 ed fe 44 5b 68 ff 4e 4c 4a fe 11 87 ca ff 00 2d 49 e0 00 00 00 2d 00 00 k.........D[h.NLJ......-I....-..
0300 00 00 00 00 00 43 09 83 b9 ff 5e 69 6e fe 58 59 59 ff 51 56 58 ff 0b 31 44 ce 00 00 00 29 00 00 .....C....^in.XYY.QVX..1D....)..
0320 00 1c 11 5c 7e e2 42 5c 69 ff 4f 4d 4d ff 3b 5c 6a fe 01 5b 83 ff 00 00 00 67 00 00 00 09 00 00 ...\~.B\i.OMM.;\j..[.....g......
0340 00 00 00 00 00 00 00 34 47 a2 1e a5 d3 ff 5f 6a 6c ff 5d 5a 59 fe 5a 58 58 ff 52 52 52 f7 52 52 .......4G....._jl.]ZY.ZXX.RRR.RR
0360 52 f9 54 51 4f ff 54 50 50 fe 47 62 6a fe 01 99 cc ff 00 12 19 b6 00 02 04 15 00 00 00 00 00 00 R.TQO.TPP.Gbj...................
0380 00 00 00 00 00 00 00 00 00 18 00 7d 9c ee 0b d0 fe fe 38 9a b0 fe 6a 68 68 ff 6d 64 63 ff 6d 64 ...........}......8...jhh.mdc.md
03a0 62 ff 5b 6a 6d ff 29 a2 bd ff 03 d7 ff fe 00 36 45 ef 00 00 00 39 00 00 00 04 00 00 00 00 00 00 b.[jm.)........6E....9..........
03c0 00 00 00 00 00 00 00 00 00 00 00 00 00 54 00 46 53 df 00 6c 81 e2 00 77 8f e6 01 74 8a e9 00 76 .............T.FS..l...w...t...v
03e0 8d e9 00 7d 97 e8 00 72 88 e6 00 2f 38 e5 00 00 00 59 00 02 02 09 00 00 00 00 00 00 00 00 00 00 ...}...r.../8....Y..............
0400 00 00 00 00 00 00 00 05 06 00 00 00 00 00 00 00 00 08 00 00 00 14 00 00 00 19 00 00 00 1c 00 00 ................................
0420 00 1e 00 00 00 1c 00 00 00 1a 00 00 00 11 00 06 07 03 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ................................
0440 00 00 f0 0f 00 00 e0 07 00 00 c0 03 00 00 c1 83 00 00 80 01 00 00 80 01 00 00 08 30 00 00 08 10 ...........................0....
0460 00 00 80 01 00 00 80 01 00 00 c1 83 00 00 c0 03 00 00 e0 07 00 00 f0 0f 00 00 ff ff 00 00 ..............................
ght .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifdef WIN32
#include "../../config-win32.h"
#else
#include "../../config.h"
#endif

#define DISPLAY_NAME "HexChat"

#ifndef WIN32
#include <sys/types.h>
#include <regex.h>
#endif

#if defined(ENABLE_NLS) && !defined(_)
#  include <libintl.h>
#  define _(x) gettext(x)
#  ifdef gettext_noop
#    define N_(String) gettext_noop (String)
#  else
#    define N_(String) (String)
#  endif
#endif
#if !defined(ENABLE_NLS) && defined(_)
#  undef _
#  define N_(String) (String)
#  define _(x) (x)
#endif

#include <gtk/gtkwidget.h>
#include <gtk/gtkcontainer.h>
#include <gtk/gtksignal.h>

#undef gtk_signal_connect
#define gtk_signal_connect g_signal_connect

#define flag_t flag_wid[0]
#define flag_n flag_wid[1]
#define flag_s flag_wid[2]
#define flag_i flag_wid[3]
#define flag_p flag_wid[4]
#define flag_m flag_wid[5]
#define flag_l flag_wid[6]
#define flag_k flag_wid[7]
#define flag_b flag_wid[8]
#define NUM_FLAG_WIDS 9

struct server_gui
{
	GtkWidget *rawlog_window;
	GtkWidget *rawlog_textlist;

	/* join dialog */
	GtkWidget *joind_win;
	GtkWidget *joind_entry;
	GtkWidget *joind_radio1;
	GtkWidget *joind_radio2;
	GtkWidget *joind_check;

	/* chanlist variables */
	GtkWidget *chanlist_wild;		/* GtkEntry */
	GtkWidget *chanlist_window;
	GtkWidget *chanlist_list;
	GtkWidget *chanlist_label;
	GtkWidget *chanlist_min_spin;	/* minusers GtkSpinButton */
	GtkWidget *chanlist_refresh;	/* buttons */
	GtkWidget *chanlist_join;
	GtkWidget *chanlist_savelist;
	GtkWidget *chanlist_search;

	GSList *chanlist_data_stored_rows;	/* stored list so it can be resorted  */
	GSList *chanlist_pending_rows;
	gint chanlist_tag;
	gint chanlist_flash_tag;

	gboolean chanlist_match_wants_channel;	/* match in channel name */
	gboolean chanlist_match_wants_topic;	/* match in topic */

#ifndef WIN32
	regex_t chanlist_match_regex;	/* compiled regular expression here */
	unsigned int have_regex;
#endif

	guint chanlist_users_found_count;	/* users total for all channels */
	guint chanlist_users_shown_count;	/* users total for displayed channels */
	guint chanlist_channels_found_count;	/* channel total for /LIST operation */
	guint chanlist_channels_shown_count;	/* total number of displayed 
														   channels */

	int chanlist_maxusers;
	int chanlist_minusers;
	int chanlist_minusers_downloaded;	/* used by LIST IRC command */
	int chanlist_search_type;		/* 0=simple 1=pattern/wildcard 2=regexp */
	gboolean chanlist_caption_is_stale;
};

/* this struct is persistant even when delinking/relinking */

typedef struct restore_gui
{
	/* banlist stuff */
	GtkWidget *banlist_window;
	GtkWidget *banlist_treeview;
	GtkWidget *banlist_butRefresh;

	void *tab;			/* (chan *) */

	/* information stored when this tab isn't front-most */
	void *user_model;	/* for filling the GtkTreeView */
	void *buffer;		/* xtext_Buffer */
	char *input_text;	/* input text buffer (while not-front tab) */
	char *topic_text;	/* topic GtkEntry buffer */
	char *key_text;
	char *limit_text;
	gfloat old_ul_value;	/* old userlist value (for adj) */
	gfloat lag_value;	/* lag-o-meter */
	char *lag_text;	/* lag-o-meter text */
	char *lag_tip;		/* lag-o-meter tooltip */
	gfloat queue_value; /* outbound queue meter */
	char *queue_text;		/* outbound queue text */
	char *queue_tip;		/* outbound queue tooltip */
	short flag_wid_state[NUM_FLAG_WIDS];
	unsigned int c_graph:1;	/* connecting graph, is there one? */
} restore_gui;

typedef struct session_gui
{
	GtkWidget
		*xtext,
		*vscrollbar,
		*window,	/* toplevel */
		*topic_entry,
		*note_book,
		*main_table,
		*user_tree,	/* GtkTreeView */
		*user_box,	/* userlist box */
		*button_box_parent,
		*button_box,	/* userlist buttons' box */
		*dialogbutton_box,
		*topicbutton_box,
		*meter_box,	/* all the meters inside this */
		*lagometer,
		*laginfo,
		*throttlemeter,
		*throttleinfo,
		*topic_bar,
		*hpane_left,
		*hpane_right,
		*vpane_left,
		*vpane_right,
		*menu,
		*bar,				/* connecting progress bar */
		*nick_box,		/* contains label to the left of input_box */
		*nick_label,
		*op_xpm,			/* icon to the left of nickname */
		*namelistinfo,	/* label above userlist */
		*input_box,
		*flag_wid[NUM_FLAG_WIDS],		/* channelmode buttons */
		*limit_entry,		  /* +l */
		*key_entry;		  /* +k */

#define MENU_ID_NUM 12
	GtkWidget *menu_item[MENU_ID_NUM+1]; /* some items we may change state of */

	void *chanview;	/* chanview.h */

	int bartag;		/*connecting progressbar timeout */

	int pane_left_size;	/*last position of the pane*/
	int pane_right_size;

	guint16 is_tab;	/* is tab or toplevel? */
	guint16 ul_hidden;	/* userlist hidden? */

} session_gui;

extern GdkPixmap *channelwin_pix;
extern GdkPixmap *dialogwin_pix;


#ifdef USE_GTKSPELL
char *SPELL_ENTRY_GET_TEXT (GtkWidget *entry);
#define SPELL_ENTRY_SET_TEXT(e,txt) gtk_text_buffer_set_text (gtk_text_view_get_buffer(GTK_TEXT_VIEW(e)),txt,-1);
#define SPELL_ENTRY_SET_EDITABLE(e,v) gtk_text_view_set_editable(GTK_TEXT_VIEW(e), v)
int SPELL_ENTRY_GET_POS (GtkWidget *entry);
void SPELL_ENTRY_SET_POS (GtkWidget *entry, int pos);
void SPELL_ENTRY_INSERT (GtkWidget *entry, const char *text, int len, int *pos);
#else
#define SPELL_ENTRY_GET_TEXT(e) (GTK_ENTRY(e)->text)
#define SPELL_ENTRY_SET_TEXT(e,txt) gtk_entry_set_text(GTK_ENTRY(e),txt)
#define SPELL_ENTRY_SET_EDITABLE(e,v) gtk_editable_set_editable(GTK_EDITABLE(e),v)
#define SPELL_ENTRY_GET_POS(e) gtk_editable_get_position(GTK_EDITABLE(e))
#define SPELL_ENTRY_SET_POS(e,p) gtk_editable_set_position(GTK_EDITABLE(e),p);
#define SPELL_ENTRY_INSERT(e,t,l,p) gtk_editable_insert_text(GTK_EDITABLE(e),t,l,p)
#endif