Benoît Minisini b73debd6b9 [GB.GTK]
* BUG: Frame label inherits foreground color correctly.


git-svn-id: svn://localhost/gambas/trunk@2423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-15 14:47:28 +00:00

32 lines
490 B
C++

#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);
virtual void setFont(gFont *ft);
virtual void setRealForeground(gColor color);
//"Private"
GtkWidget *fr;
GtkWidget *label;
};
#endif