Update Serbian translation from master branch
[wmaker-crm.git] / WPrefs.app / TexturePanel.h
blob05b8a48ace9c55d2bc6052a85b387ea55fa8d498
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 ShowTexturePanel(TexturePanel *panel);
34 void HideTexturePanel(TexturePanel *panel);
36 void SetTexturePanelTexture(TexturePanel *panel, const char *name,
37 WMPropList *texture);
40 char *GetTexturePanelTextureName(TexturePanel *panel);
42 WMPropList *GetTexturePanelTexture(TexturePanel *panel);
44 RImage *RenderTexturePanelTexture(TexturePanel *panel, unsigned width,
45 unsigned height);
47 void SetTexturePanelOkAction(TexturePanel *panel, WMCallback *action,
48 void *clientData);
50 void SetTexturePanelCancelAction(TexturePanel *panel, WMCallback *action,
51 void *clientData);
53 void SetTexturePanelPixmapPath(TexturePanel *panel, WMPropList *array);
55 #endif