mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 21:46:57 +03:00
31def6a338
- Currently only libnsfb's SDL surface supports resizing. - Flickers like crazy while resizing. Possibly because the SDL surface is not set to use double buffering. - The internal widget library, fbtk, was never intended for this, as such it has no knowledge of how a widget should be positioned with respect to its parent. This means the top level window has to track everything and move them itself.
15 lines
452 B
C
15 lines
452 B
C
#include "desktop/plotters.h"
|
|
|
|
extern const struct plotter_table fb_plotters;
|
|
|
|
nsfb_t *framebuffer_initialise(const char *fename, int width, int height, int bpp);
|
|
bool framebuffer_resize(nsfb_t *nsfb, int width, int height, int bpp);
|
|
void framebuffer_finalise(void);
|
|
bool framebuffer_set_cursor(struct fbtk_bitmap *bm);
|
|
|
|
/** Set framebuffer surface to render into
|
|
*
|
|
* @return return old surface
|
|
*/
|
|
nsfb_t *framebuffer_set_surface(nsfb_t *new_nsfb);
|