summary refs log blame commit diff stats
path: root/plugins/xtray/sdTray.h
blob: 68469fe08ceb84e2c52c68715456414b66f3b6b1 (plain) (tree)






































                                                                                                   
/* X-Tray
 * Copyright (C) 2005 Michael Hotaling <Mike.Hotaling@SinisterDevelopments.com>
 *
 * X-Tray 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.
 * 
 * X-Tray 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 X-Tray; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef _H_SDTRAY_H
#define _H_SDTRAY_H

int				AddIcon		(HWND, UINT, HICON, char *, unsigned short, UINT);
int				ShowBalloon	(HWND, UINT, char *, char *, UINT, UINT);
int				BlinkIcon	(HWND, UINT, HICON, HICON, UINT, UINT);
int				SetTooltip	(HWND, UINT, char *);
int				SetIcon		(HWND, UINT, HICON);
void			StopBlink	(HWND, UINT, HICON);
int				RemoveIcon	(HWND, UINT);

typedef struct IBLINK
{
	HICON hBase;
	HICON hBlink;
	HWND hwnd;
	UINT id;
	UINT time;
	UINT num;
}iBlink;
#endif
oolbar # disable images in buttons. i've only seen ugly delphi apps use this feature. gtk-button-images = 0 # enable/disable images in menus. most "stock" microsoft apps don't use these, except sparingly. # the office apps use them heavily, though. gtk-menu-images = 1 # use the win32 button ordering instead of the GNOME HIG one, where applicable gtk-alternative-button-order = 1 # use the win32 sort indicators direction, as in Explorer gtk-alternative-sort-arrows = 1 # Windows users don't expect the PC Speaker beeping at them when they backspace in an empty textview and stuff like that gtk-error-bell = 0 # hide mnemonic underlines until the Alt key is pressed gtk-auto-mnemonics = 1 style "msw-default" { GtkWidget::interior-focus = 1 GtkOptionMenu::indicator-size = { 9, 5 } GtkOptionMenu::indicator-spacing = { 7, 5, 2, 2 } GtkSpinButton::shadow-type = in # Owen and I disagree that these should be themable #GtkUIManager::add-tearoffs = 0 #GtkComboBox::add-tearoffs = 0 GtkComboBox::appears-as-list = 1 GtkComboBox::focus-on-click = 0 GOComboBox::add_tearoffs = 0 GtkTreeView::allow-rules = 0 GtkTreeView::expander-size = 12 GtkExpander::expander-size = 12 GtkScrolledWindow::scrollbar_spacing = 1 GtkSeparatorMenuItem::horizontal-padding = 2 engine "wimp" { } } class "*" style "msw-default" binding "ms-windows-tree-view" { bind "Right" { "expand-collapse-cursor-row" (1,1,0) } bind "Left" { "expand-collapse-cursor-row" (1,0,0) } } class "GtkTreeView" binding "ms-windows-tree-view" style "msw-combobox-thickness" = "msw-default" { xthickness = 0 ythickness = 0 } widget_class "*TreeView*ComboBox*" style "msw-combobox-thickness" widget_class "*ComboBox*GtkFrame*" style "msw-combobox-thickness"