2007-12-30 16:41:49 +00:00
|
|
|
#ifndef __GFRAME_H
|
|
|
|
#define __GFRAME_H
|
|
|
|
|
|
|
|
#include "gcontainer.h"
|
|
|
|
|
|
|
|
class gPanel : public gContainer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
gPanel(gContainer *parent);
|
|
|
|
|
|
|
|
int getBorder() { return getFrameBorder(); }
|
|
|
|
void setBorder(int vl) { setFrameBorder(vl); }
|
|
|
|
};
|
|
|
|
|
|
|
|
class gFrame : public gContainer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
gFrame(gContainer *parent);
|
|
|
|
|
|
|
|
char* text();
|
|
|
|
void setText(char* vl);
|
|
|
|
|
2009-07-03 20:15:26 +00:00
|
|
|
virtual void setFont(gFont *ft);
|
2009-11-15 14:47:28 +00:00
|
|
|
virtual void setRealForeground(gColor color);
|
2009-07-03 20:15:26 +00:00
|
|
|
|
2007-12-30 16:41:49 +00:00
|
|
|
//"Private"
|
|
|
|
GtkWidget *fr;
|
2009-11-15 14:47:28 +00:00
|
|
|
GtkWidget *label;
|
2007-12-30 16:41:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|