better alpha blending
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
122fbd949d
commit
0320cd64eb
21 changed files with 170 additions and 87 deletions
|
|
@ -184,6 +184,12 @@ MWDECL unsigned char* MWAPI MwPixmapGetRaw(MwLLPixmap pixmap);
|
|||
*/
|
||||
MWDECL void MWAPI MwPixmapGetSize(MwLLPixmap pixmap, MwRect* rect);
|
||||
|
||||
/*!
|
||||
* @brief Destroys the pixmap
|
||||
* @param pixmap Pixmap
|
||||
*/
|
||||
MWDECL void MWAPI MwDestroyPixmap(MwLLPixmap pixmap);
|
||||
|
||||
/*!
|
||||
* @brief Creates a pixmap from XPM data
|
||||
* @param handle Widget
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ enum MwLLBackends {
|
|||
};
|
||||
|
||||
struct _MwLLCommon {
|
||||
void* user;
|
||||
void* internal;
|
||||
int copy_buffer;
|
||||
int type;
|
||||
int coordinate_type;
|
||||
|
|
@ -58,7 +58,8 @@ struct _MwLLCommonPixmap {
|
|||
int width;
|
||||
int height;
|
||||
unsigned char* raw;
|
||||
void* user;
|
||||
unsigned char* before_blend;
|
||||
void* internal;
|
||||
};
|
||||
|
||||
#ifdef USE_DBUS
|
||||
|
|
|
|||
|
|
@ -99,11 +99,14 @@ struct _MwWidget {
|
|||
int prop_event;
|
||||
int held;
|
||||
|
||||
void* internal;
|
||||
void* opaque;
|
||||
void* user;
|
||||
void (*draw_inject)(MwWidget handle);
|
||||
void (*destroy_inject)(MwWidget handle);
|
||||
void* internal;
|
||||
void* opaque;
|
||||
void* user;
|
||||
MwHandler draw_inject;
|
||||
MwHandler destroy_inject;
|
||||
MwHandlerProp prop_inject_pixmap; /* this is for pixmap; do not use */
|
||||
|
||||
MwLLPixmap* pixmaps;
|
||||
|
||||
MwIntegerKeyValue* integer;
|
||||
MwTextKeyValue* text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue