summaryrefslogtreecommitdiff
path: root/obrender/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'obrender/render.h')
-rw-r--r--obrender/render.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/obrender/render.h b/obrender/render.h
index 1ec47a26..a8a8fe36 100644
--- a/obrender/render.h
+++ b/obrender/render.h
@@ -46,6 +46,7 @@ typedef struct _RrColor RrColor;
typedef struct _RrImage RrImage;
typedef struct _RrImagePic RrImagePic;
typedef struct _RrImageCache RrImageCache;
+typedef struct _RrButton RrButton;
typedef guint32 RrPixel32;
typedef guint16 RrPixel16;
@@ -220,6 +221,8 @@ struct _RrTexture {
struct _RrAppearance {
const RrInstance *inst;
+
+ gint ref;
RrSurface surface;
gint textures;
@@ -314,6 +317,7 @@ gulong RrColorPixel (const RrColor *c);
GC RrColorGC (RrColor *c);
RrAppearance *RrAppearanceNew (const RrInstance *inst, gint numtex);
+RrAppearance *RrAppearanceCopyShallow (RrAppearance *a);
RrAppearance *RrAppearanceCopy (RrAppearance *a);
void RrAppearanceFree (RrAppearance *a);
void RrAppearanceRemoveTextures(RrAppearance *a);
@@ -321,6 +325,9 @@ void RrAppearanceAddTextures(RrAppearance *a, gint numtex);
/*! Always call this when changing the type of a texture in an appearance */
void RrAppearanceClearTextures(RrAppearance *a);
+RrButton *RrButtonNew (const RrInstance *inst);
+void RrButtonFree(RrButton *b);
+
RrFont *RrFontOpen (const RrInstance *inst, const gchar *name,
gint size, RrFontWeight weight, RrFontSlant slant);
RrFont *RrFontOpenDefault (const RrInstance *inst);