facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
|
|
/** \file background.h
|
|
* \brief Header: WBackground widget
|
|
*/
|
|
|
|
#ifndef MC__WIDGET_BACKGROUND_H
|
|
#define MC__WIDGET_BACKGROUND_H
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
#define BACKGROUND(x) ((WBackground *)(x))
|
|
#define CONST_BACKGROUND(x) ((const WBackground *)(x))
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
typedef struct
|
|
{
|
|
Widget widget;
|
|
|
|
int color; /* Color to fill area */
|
|
unsigned char pattern; /* Symbol to fill area */
|
|
} WBackground;
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
WBackground *background_new (int y, int x, int lines, int cols, int color, unsigned char pattern,
|
|
widget_cb_fn callback);
|
|
cb_ret_t background_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data);
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
|
|
#endif /* MC__WIDGET_BACKGROUND_H */
|