Remove wIconUpdate in wDockAttachIcon
[wmaker-crm.git] / WPrefs.app / TexturePanel.h
blob03f348f56a5716711394d8d43fba9ead41a5c88c
1 /* TexturePanel.h- texture editting panel
3 * WPrefs - WindowMaker Preferences Program
5 * Copyright (c) 1998-2003 Alfredo K. Kojima
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef TEXTUREPANEL_H_
23 #define TEXTUREPANEL_H_
27 typedef struct _TexturePanel TexturePanel;
30 TexturePanel *CreateTexturePanel(WMWindow *keyWindow);
32 void DestroyTexturePanel(TexturePanel *panel);
34 void ShowTexturePanel(TexturePanel *panel);
36 void HideTexturePanel(TexturePanel *panel);
38 void SetTexturePanelTexture(TexturePanel *panel, char *name,
39 WMPropList *texture);
42 char *GetTexturePanelTextureName(TexturePanel *panel);
44 WMPropList *GetTexturePanelTexture(TexturePanel *panel);
46 RImage *RenderTexturePanelTexture(TexturePanel *panel, unsigned width,
47 unsigned height);
49 void SetTexturePanelOkAction(TexturePanel *panel, WMCallback *action,
50 void *clientData);
52 void SetTexturePanelCancelAction(TexturePanel *panel, WMCallback *action,
53 void *clientData);
55 void SetTexturePanelPixmapPath(TexturePanel *panel, WMPropList *array);
57 #endif