changeset: 2:74c07ad48edd
tag: tip
user: arg_AT_garbe.us
date: Thu Feb 26 16:14:21 2009 +0000
files: leinwand.h
description:
typo fix
diff -r 89e7aee30f9b -r 74c07ad48edd leinwand.h
--- a/leinwand.h Thu Feb 26 13:54:41 2009 +0000
+++ b/leinwand.h Thu Feb 26 16:14:21 2009 +0000
@@ -1,19 +1,19 @@
/* See LICENSE file for license details */
typedef enum {
- ComposerTypeSourceOver,
- ComposerTypeSourceAtTop,
- ComposerTypeSourceIn,
- ComposerTypeSourceOut,
- ComposerTypeDestOver,
- ComposerTypeDestAtTop,
- ComposerTypeDestIn,
- ComposerTypeDestOut,
- ComposerTypeLighter,
- ComposerTypeCopy,
- ComposerTypeXOR,
- ComposerTypeEnd
-} LComposerType;
+ CompositorTypeSourceOver,
+ CompositorTypeSourceAtTop,
+ CompositorTypeSourceIn,
+ CompositorTypeSourceOut,
+ CompositorTypeDestOver,
+ CompositorTypeDestAtTop,
+ CompositorTypeDestIn,
+ CompositorTypeDestOut,
+ CompositorTypeLighter,
+ CompositorTypeCopy,
+ CompositorTypeXOR,
+ CompositorTypeEnd
+} LCompositorType;
typedef enum {
EventTypeKeyPress,
@@ -30,14 +30,14 @@
InputTypeEnd
} LInputType;
-typedef struct _LComposer LComposer;
-typedef struct _LDisplay LDisplay;
-typedef struct _LEvent LEvent;
-typedef struct _LImage LImage;
-typedef struct _LInput LInput;
-typedef struct _LRectangle LRectangle;
-typedef struct _LScreen LScreen;
-typedef struct _LSurface LSurface;
+typedef struct _LCompositor LCompositor;
+typedef struct _LDisplay LDisplay;
+typedef struct _LEvent LEvent;
+typedef struct _LImage LImage;
+typedef struct _LInput LInput;
+typedef struct _LRectangle LRectangle;
+typedef struct _LScreen LScreen;
+typedef struct _LSurface LSurface;
struct _LRectangle {
int x;
@@ -46,15 +46,15 @@
unsigned int h;
};
-struct _LComposer {
- unsigned int id;
- LComposerType type;
+struct _LCompositor {
+ unsigned int id;
+ LCompositorType type;
};
struct _LDisplay {
unsigned int id;
LRectangle r; /* virtual rectangle spanned over all screens */
- LComposer *composer;
+ LCompositor *compositor;
LSurface *root; /* root surface tier is 0 */
LScreen *screens;
LInput *inputs;
@@ -96,7 +96,7 @@
LDisplay *LOpen(unsigned int id);
-LComposer *LCreateComposer(LDisplay *dpy, LComposerType type);
+LCompositor *LCreateCompositor(LDisplay *dpy, LCompositorType type);
void LClose(LDisplay *dpy);
@@ -104,7 +104,7 @@
LSurface *LCreateSurface(LDisplay *dpy, LSurface *parent);
-void LSetComposer(LDisplay *dpy, LSurface *surface, LComposer *composer);
+void LSetCompositor(LDisplay *dpy, LSurface *surface, LCompositor *compositor);
void LDrawSurface(LDisplay *dpy, LSurface *surface, LRectangle destr, LImage *src, LRectangle srcr);
Received on Thu Feb 26 2009 - 16:14:40 UTC
This archive was generated by hypermail 2.2.0 : Thu Feb 26 2009 - 16:24:04 UTC