git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
include
/
wm_renderer.h
diff --git
a/Usermode/Applications/axwin3_src/WM/include/wm_renderer.h
b/Usermode/Applications/axwin3_src/WM/include/wm_renderer.h
index
165d38a
..
5882549
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/include/wm_renderer.h
+++ b/
Usermode/Applications/axwin3_src/WM/include/wm_renderer.h
@@
-1,14
+1,15
@@
/*
/*
-* Acess2 Window Manager v3 (axwin3)
-* - By John Hodge (thePowersGang)
-*
-* include/wm_renderer.h
-* - Window renderer API
-*/
+
* Acess2 Window Manager v3 (axwin3)
+
* - By John Hodge (thePowersGang)
+
*
+
* include/wm_renderer.h
+
* - Window renderer API
+
*/
#ifndef _WM_RENDERER_H_
#define _WM_RENDERER_H_
#include <wm.h>
#ifndef _WM_RENDERER_H_
#define _WM_RENDERER_H_
#include <wm.h>
+#include <wm_internals.h>
struct sWMRenderer
{
struct sWMRenderer
{
@@
-24,14
+25,12
@@
struct sWMRenderer
/**
* \brief Initialise a window structure for the renderer
/**
* \brief Initialise a window structure for the renderer
- * \param W Width of the new window
- * \param H Height of the new window
* \param Flags Flags for the window
* \return malloc()'d window structure, or NULL on error
* \param Flags Flags for the window
* \return malloc()'d window structure, or NULL on error
- * \note
Only the fields \a W and \a H need be filled in the window
- * s
tructure, the rest will be filled by the caller
.
+ * \note
\a Flags is provided for convinience, the caller will
+ * s
et the copy in the window structure
.
*/
*/
- tWindow *(*CreateWindow)(int
W, int H, int Flags
);
+ tWindow *(*CreateWindow)(int
Arg
);
/**
* \brief Redraw a window on the screen
/**
* \brief Redraw a window on the screen
@@
-50,8
+49,9
@@
struct sWMRenderer
* \param MessageID Implementation defined message ID (usually the command)
* \param Length Length of the buffer \a Data
* \param Data Implementation defined data buffer
* \param MessageID Implementation defined message ID (usually the command)
* \param Length Length of the buffer \a Data
* \param Data Implementation defined data buffer
+ * \return Boolean failure (0: Handled, 1: Unhandled)
*/
*/
- int (*HandleMessage)(tWindow *Window, int MessageID, int Length, void *Data);
+ int (*HandleMessage)(tWindow *Window, int MessageID, int Length,
const
void *Data);
};
extern void WM_RegisterRenderer(tWMRenderer *Renderer);
};
extern void WM_RegisterRenderer(tWMRenderer *Renderer);
UCC
git Repository :: git.ucc.asn.au