mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-19 16:25:50 +01:00
WINGs: add functions to set widget background image
With this patch we can set widget background image. As now, only background color was available.
This commit is contained in:
committed by
Carlos R. Mafra
parent
47ac986b53
commit
c10469264d
@@ -930,6 +930,10 @@ void WMSetWidgetBackgroundColor(WMWidget *w, WMColor *color);
|
||||
|
||||
WMColor* WMGetWidgetBackgroundColor(WMWidget *w);
|
||||
|
||||
void WMSetWidgetBackgroundPixmap(WMWidget *w, WMPixmap *pix);
|
||||
|
||||
WMPixmap *WMGetWidgetBackgroundPixmap(WMWidget *w);
|
||||
|
||||
void WMMapSubwidgets(WMWidget *w);
|
||||
|
||||
void WMUnmapSubwidgets(WMWidget *w);
|
||||
|
||||
@@ -572,6 +572,8 @@ struct W_View {
|
||||
void *hangedData; /* data holder for user program */
|
||||
|
||||
WMColor *backColor;
|
||||
WMPixmap *backImage;
|
||||
|
||||
|
||||
Cursor cursor;
|
||||
|
||||
@@ -664,6 +666,8 @@ void W_ResizeView(W_View *view, unsigned int width, unsigned int height);
|
||||
|
||||
void W_SetViewBackgroundColor(W_View *view, WMColor *color);
|
||||
|
||||
void W_SetViewBackgroundPixmap(W_View *view, WMPixmap *pix);
|
||||
|
||||
void W_SetViewCursor(W_View *view, Cursor cursor);
|
||||
|
||||
void W_SetFocusOfTopLevel(W_View *toplevel, W_View *view);
|
||||
|
||||
Reference in New Issue
Block a user