Files
wmaker/WPrefs.app/TexturePanel.h
T

57 lines
1.8 KiB
C
Raw Normal View History

1998-10-21 14:43:47 +00:00
/* TexturePanel.h- texture editting panel
2004-10-12 21:28:27 +00:00
*
1998-10-21 14:43:47 +00:00
* WPrefs - WindowMaker Preferences Program
2004-10-12 21:28:27 +00:00
*
2003-01-16 23:30:45 +00:00
* Copyright (c) 1998-2003 Alfredo K. Kojima
2004-10-12 21:28:27 +00:00
*
1998-10-21 14:43:47 +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.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1998-10-21 14:43:47 +00:00
*/
#ifndef TEXTUREPANEL_H_
#define TEXTUREPANEL_H_
typedef struct _TexturePanel TexturePanel;
TexturePanel *CreateTexturePanel(WMWindow *keyWindow);
1998-10-21 14:43:47 +00:00
void ShowTexturePanel(TexturePanel *panel);
void HideTexturePanel(TexturePanel *panel);
void SetTexturePanelTexture(TexturePanel *panel, const char *name,
2004-10-12 21:28:27 +00:00
WMPropList *texture);
char *GetTexturePanelTextureName(TexturePanel *panel);
1998-10-21 14:43:47 +00:00
WMPropList *GetTexturePanelTexture(TexturePanel *panel);
1998-10-21 14:43:47 +00:00
2004-10-12 21:28:27 +00:00
RImage *RenderTexturePanelTexture(TexturePanel *panel, unsigned width,
unsigned height);
1998-10-21 14:43:47 +00:00
void SetTexturePanelOkAction(TexturePanel *panel, WMCallback *action,
2004-10-12 21:28:27 +00:00
void *clientData);
1998-10-21 14:43:47 +00:00
void SetTexturePanelCancelAction(TexturePanel *panel, WMCallback *action,
2004-10-12 21:28:27 +00:00
void *clientData);
1998-10-21 14:43:47 +00:00
void SetTexturePanelPixmapPath(TexturePanel *panel, WMPropList *array);
1998-10-21 14:43:47 +00:00
#endif