home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / yagirc-0.51.tar.gz / yagirc-0.51.tar / yagirc-0.51 / gui_channels.h < prev    next >
C/C++ Source or Header  |  1998-05-06  |  1KB  |  33 lines

  1. #ifndef __GUI_CHANNELS_H
  2. #define __GUI_CHANNELS_H
  3.  
  4. #include "data.h"
  5.  
  6. /* Hilight channel button */
  7. void gui_channel_hilight(CHAN_REC *chan);
  8. /* Dehilight channel button */
  9. void gui_channel_dehilight(CHAN_REC *chan);
  10.  
  11. /* Channel changed in window - draw new topic, nicks, hilight channel button */
  12. void gui_draw_channel(WINDOW_REC *win, CHAN_REC *chan);
  13. /* Select channel in specific window, if channel is in some other window,
  14.    move it from there */
  15. void gui_select_channel(WINDOW_REC *win, CHAN_REC *chan);
  16.  
  17. /* Change topic of channel */
  18. void gui_change_topic(CHAN_REC *chan);
  19.  
  20. #ifdef USE_GUI /* privates */
  21. /* Draw new channel button */
  22. GtkWidget *gui_private_add_channel_button(GtkBox *box, CHAN_REC *chan);
  23. /* Remove channel button */
  24. void gui_private_remove_channel_button(CHAN_REC *chan);
  25.  
  26. /* text widget click signal */
  27. void sigchantext_button_released(GtkWidget *widget, GdkEventButton *event, WINDOW_REC *win);
  28. /* channel button click signal */
  29. void sigchanbut_button_released(GtkWidget *widget, GdkEventButton *event, CHAN_REC *chan);
  30. #endif
  31.  
  32. #endif
  33.