2003-06-26 11:40:10 +00:00
|
|
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2002 CodeFactory AB
|
2003-06-27 15:47:32 +00:00
|
|
|
* Copyright (C) 2002 Richard Hult <richard@imendio.com>
|
2003-06-26 11:40:10 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public
|
|
|
|
* License along with this program; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DRW_BREAK_WINDOW_H__
|
|
|
|
#define __DRW_BREAK_WINDOW_H__
|
|
|
|
|
2008-11-20 18:43:38 +00:00
|
|
|
#include <gtk/gtk.h>
|
2003-06-26 11:40:10 +00:00
|
|
|
|
Use compositing to display the typing break window when available. Fixes
2007-02-02 William Jon McCann <mccann@jhu.edu>
* drw-break-window.c: (drw_break_window_class_init),
(drw_break_window_init), (drw_break_window_finalize),
(drw_break_window_dispose), (drw_break_window_new),
(postpone_sensitize_cb), (clock_timeout_cb), (postpone_cancel_cb),
(postpone_entry_key_press_event_cb), (postpone_clicked_cb):
* drw-break-window.h:
* drw-utils.c: (window_expose_event), (set_pixmap_background),
(drw_setup_background):
* drwright.c: (break_window_map_event_cb), (maybe_change_state),
(create_secondary_break_windows):
Use compositing to display the typing break window when
available. Fixes #363665.
svn path=/trunk/; revision=7233
2007-02-03 00:42:23 +00:00
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2003-06-26 11:40:10 +00:00
|
|
|
#define DRW_TYPE_BREAK_WINDOW (drw_break_window_get_type ())
|
|
|
|
#define DRW_BREAK_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DRW_TYPE_BREAK_WINDOW, DrwBreakWindow))
|
|
|
|
#define DRW_BREAK_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DRW_TYPE_BREAK_WINDOW, DrwBreakWindowClass))
|
|
|
|
#define DRW_IS_BREAK_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DRW_TYPE_BREAK_WINDOW))
|
|
|
|
#define DRW_IS_BREAK_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DRW_TYPE_BREAK_WINDOW))
|
|
|
|
#define DRW_BREAK_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DRW_TYPE_BREAK_WINDOW, DrwBreakWindowClass))
|
|
|
|
|
Use compositing to display the typing break window when available. Fixes
2007-02-02 William Jon McCann <mccann@jhu.edu>
* drw-break-window.c: (drw_break_window_class_init),
(drw_break_window_init), (drw_break_window_finalize),
(drw_break_window_dispose), (drw_break_window_new),
(postpone_sensitize_cb), (clock_timeout_cb), (postpone_cancel_cb),
(postpone_entry_key_press_event_cb), (postpone_clicked_cb):
* drw-break-window.h:
* drw-utils.c: (window_expose_event), (set_pixmap_background),
(drw_setup_background):
* drwright.c: (break_window_map_event_cb), (maybe_change_state),
(create_secondary_break_windows):
Use compositing to display the typing break window when
available. Fixes #363665.
svn path=/trunk/; revision=7233
2007-02-03 00:42:23 +00:00
|
|
|
typedef struct _DrwBreakWindow DrwBreakWindow;
|
|
|
|
typedef struct _DrwBreakWindowClass DrwBreakWindowClass;
|
|
|
|
typedef struct _DrwBreakWindowPrivate DrwBreakWindowPrivate;
|
2003-06-26 11:40:10 +00:00
|
|
|
|
|
|
|
struct _DrwBreakWindow {
|
Use compositing to display the typing break window when available. Fixes
2007-02-02 William Jon McCann <mccann@jhu.edu>
* drw-break-window.c: (drw_break_window_class_init),
(drw_break_window_init), (drw_break_window_finalize),
(drw_break_window_dispose), (drw_break_window_new),
(postpone_sensitize_cb), (clock_timeout_cb), (postpone_cancel_cb),
(postpone_entry_key_press_event_cb), (postpone_clicked_cb):
* drw-break-window.h:
* drw-utils.c: (window_expose_event), (set_pixmap_background),
(drw_setup_background):
* drwright.c: (break_window_map_event_cb), (maybe_change_state),
(create_secondary_break_windows):
Use compositing to display the typing break window when
available. Fixes #363665.
svn path=/trunk/; revision=7233
2007-02-03 00:42:23 +00:00
|
|
|
GtkWindow parent;
|
2003-06-26 11:40:10 +00:00
|
|
|
|
Use compositing to display the typing break window when available. Fixes
2007-02-02 William Jon McCann <mccann@jhu.edu>
* drw-break-window.c: (drw_break_window_class_init),
(drw_break_window_init), (drw_break_window_finalize),
(drw_break_window_dispose), (drw_break_window_new),
(postpone_sensitize_cb), (clock_timeout_cb), (postpone_cancel_cb),
(postpone_entry_key_press_event_cb), (postpone_clicked_cb):
* drw-break-window.h:
* drw-utils.c: (window_expose_event), (set_pixmap_background),
(drw_setup_background):
* drwright.c: (break_window_map_event_cb), (maybe_change_state),
(create_secondary_break_windows):
Use compositing to display the typing break window when
available. Fixes #363665.
svn path=/trunk/; revision=7233
2007-02-03 00:42:23 +00:00
|
|
|
DrwBreakWindowPrivate *priv;
|
2003-06-26 11:40:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _DrwBreakWindowClass {
|
|
|
|
GtkWindowClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
GType drw_break_window_get_type (void) G_GNUC_CONST;
|
|
|
|
GtkWidget * drw_break_window_new (void);
|
|
|
|
|
Use compositing to display the typing break window when available. Fixes
2007-02-02 William Jon McCann <mccann@jhu.edu>
* drw-break-window.c: (drw_break_window_class_init),
(drw_break_window_init), (drw_break_window_finalize),
(drw_break_window_dispose), (drw_break_window_new),
(postpone_sensitize_cb), (clock_timeout_cb), (postpone_cancel_cb),
(postpone_entry_key_press_event_cb), (postpone_clicked_cb):
* drw-break-window.h:
* drw-utils.c: (window_expose_event), (set_pixmap_background),
(drw_setup_background):
* drwright.c: (break_window_map_event_cb), (maybe_change_state),
(create_secondary_break_windows):
Use compositing to display the typing break window when
available. Fixes #363665.
svn path=/trunk/; revision=7233
2007-02-03 00:42:23 +00:00
|
|
|
G_END_DECLS
|
2003-06-26 11:40:10 +00:00
|
|
|
|
|
|
|
#endif /* __DRW_BREAK_WINDOW_H__ */
|