NetSurf
|
#include <stdbool.h>
#include <stdlib.h>
#include <libnsfb.h>
#include <libnsfb_plot.h>
#include "netsurf/browser_window.h"
#include "framebuffer/gui.h"
#include "framebuffer/fbtk.h"
#include "widget.h"
Go to the source code of this file.
Functions | |
static int | fb_redraw_fill (fbtk_widget_t *widget, fbtk_callback_info *cbi) |
fbtk_widget_t * | fbtk_create_fill (fbtk_widget_t *parent, int x, int y, int width, int height, colour c) |
Create a filled rectangle. More... | |
|
static |
Definition at line 35 of file fill.c.
References fbtk_widget_s::bg, fbtk_get_bbox(), fbtk_get_nsfb(), and nsfb.
Referenced by fbtk_create_fill().
fbtk_widget_t * fbtk_create_fill | ( | fbtk_widget_t * | window, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
colour | c | ||
) |
Create a filled rectangle.
Create a widget which is a filled rectangle, usually used for backgrounds.
window | The window to add the filled area widget to. |
x | X coordinate of widget. |
y | Y coordinate of widget. |
width | Width of the widget |
height | Height of the widget |
c | widget colour |
Definition at line 59 of file fill.c.
References fbtk_widget_s::bg, fb_redraw_fill(), FB_WIDGET_TYPE_FILL, FBTK_CBT_REDRAW, fbtk_set_handler(), fbtk_widget_new(), height, fbtk_widget_s::mapped, parent, and width.
Referenced by create_normal_browser_window(), and fb_corewindow_init().