#include "common.h"
/**
- * \brief Number of elements that can be owned by each application)
+ * \brief Number of elements that can be owned by each application
*/
// TODO: Fine tune these values
#define MAX_ELEMENTS_PER_APP 1024
#define DEFAULT_ELEMENTS_PER_APP 128
typedef struct sAxWin_Element tElement;
+typedef struct sWindow tWindow;
typedef struct sApplication tApplication;
struct sAxWin_Element
uint32_t Flags;
- short FixedWith; //!< Fixed Long Size attribute (height)
+ short FixedWith; //!< Fixed lengthways Size attribute (height)
short FixedCross; //!< Fixed Cross Size attribute (width)
char *Text;
char DebugName[];
};
+struct sWindow
+{
+ int X, Y, W, H;
+ tImage *Icon;
+
+ tWindow *OrderNext; // Render order
+
+ tElement Element;
+};
+
struct sApplication
{
tApplication *Next;
+ tIPC_Type *IPCType;
void *Ident; //!< Client Identifier
- tMessages_Handle_Callback *SendMessage;
char *Name; //!< Application name