LMMS
Loading...
Searching...
No Matches
eel_lice.h File Reference
#include "../lice/lice.h"
#include "../lice/lice_text.h"
#include "../wdlutf8.h"

Go to the source code of this file.

Classes

class  eel_lice_state
struct  eel_lice_state::gfxFontStruct

Macros

#define LICE_FUNCTION_VALID(x)

Functions

void eel_lice_register ()
static HDC LICE__GetDC (LICE_IBitmap *bm)
static int LICE__GetWidth (LICE_IBitmap *bm)
static int LICE__GetHeight (LICE_IBitmap *bm)
static void LICE__Destroy (LICE_IBitmap *bm)
static void LICE__SetFromHFont (LICE_IFont *ifont, HFONT font, int flags)
static LICE_pixel LICE__SetTextColor (LICE_IFont *ifont, LICE_pixel color)
static void LICE__SetTextCombineMode (LICE_IFont *ifont, int mode, float alpha)
static int LICE__DrawText (LICE_IFont *ifont, LICE_IBitmap *bm, const char *str, int strcnt, RECT *rect, UINT dtFlags)
static LICE_IFontLICE_CreateFont ()
static void LICE__DestroyFont (LICE_IFont *bm)
static bool LICE__resize (LICE_IBitmap *bm, int w, int h)
static LICE_IBitmap__LICE_CreateBitmap (int mode, int w, int h)
static EEL_F *NSEEL_CGEN_CALL _gfx_lineto (void *opaque, EEL_F *xpos, EEL_F *ypos, EEL_F *useaa)
static EEL_F *NSEEL_CGEN_CALL _gfx_lineto2 (void *opaque, EEL_F *xpos, EEL_F *ypos)
static EEL_F *NSEEL_CGEN_CALL _gfx_rectto (void *opaque, EEL_F *xpos, EEL_F *ypos)
static EEL_F NSEEL_CGEN_CALL _gfx_line (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_rect (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_roundrect (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_arc (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_set (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_gradrect (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_muladdrect (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_deltablit (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_transformblit (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_circle (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_triangle (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F *NSEEL_CGEN_CALL _gfx_drawnumber (void *opaque, EEL_F *n, EEL_F *nd)
static EEL_F *NSEEL_CGEN_CALL _gfx_drawchar (void *opaque, EEL_F *n)
static EEL_F *NSEEL_CGEN_CALL _gfx_measurestr (void *opaque, EEL_F *str, EEL_F *xOut, EEL_F *yOut)
static EEL_F *NSEEL_CGEN_CALL _gfx_measurechar (void *opaque, EEL_F *str, EEL_F *xOut, EEL_F *yOut)
static EEL_F NSEEL_CGEN_CALL _gfx_drawstr (void *opaque, INT_PTR nparms, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_printf (void *opaque, INT_PTR nparms, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_showmenu (void *opaque, INT_PTR nparms, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_setcursor (void *opaque, INT_PTR nparms, EEL_F **parms)
static EEL_F *NSEEL_CGEN_CALL _gfx_setpixel (void *opaque, EEL_F *r, EEL_F *g, EEL_F *b)
static EEL_F *NSEEL_CGEN_CALL _gfx_getpixel (void *opaque, EEL_F *r, EEL_F *g, EEL_F *b)
static EEL_F NSEEL_CGEN_CALL _gfx_setfont (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_getfont (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_blit2 (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F *NSEEL_CGEN_CALL _gfx_blitext (void *opaque, EEL_F *img, EEL_F *coordidx, EEL_F *rotate)
static EEL_F *NSEEL_CGEN_CALL _gfx_blurto (void *opaque, EEL_F *x, EEL_F *y)
static EEL_F *NSEEL_CGEN_CALL _gfx_getimgdim (void *opaque, EEL_F *img, EEL_F *w, EEL_F *h)
static EEL_F NSEEL_CGEN_CALL _gfx_loadimg (void *opaque, EEL_F *img, EEL_F *fr)
static EEL_F NSEEL_CGEN_CALL _gfx_getdropfile (void *opaque, INT_PTR np, EEL_F **parms)
static EEL_F NSEEL_CGEN_CALL _gfx_setimgdim (void *opaque, EEL_F *img, EEL_F *w, EEL_F *h)
static EEL_F NSEEL_CGEN_CALL _gfx_getsyscol (void *ctxe, INT_PTR np, EEL_F **parms)
static bool CoordsSrcDestOverlap (EEL_F *coords)
static int __drawTextWithFont (LICE_IBitmap *dest, const RECT *rect, LICE_IFont *font, const char *buf, int buflen, int fg, int mode, float alpha, int flags, EEL_F *wantYoutput, EEL_F **measureOnly)
static HMENU PopulateMenuFromStr (const char **str, int *startid)

Macro Definition Documentation

◆ LICE_FUNCTION_VALID

#define LICE_FUNCTION_VALID ( x)
Value:
(sizeof(int) > 0)
typedef int(UZ_EXP MsgFn)()

Function Documentation

◆ __drawTextWithFont()

int __drawTextWithFont ( LICE_IBitmap * dest,
const RECT * rect,
LICE_IFont * font,
const char * buf,
int buflen,
int fg,
int mode,
float alpha,
int flags,
EEL_F * wantYoutput,
EEL_F ** measureOnly )
static

◆ __LICE_CreateBitmap()

LICE_IBitmap * __LICE_CreateBitmap ( int mode,
int w,
int h )
static

◆ _gfx_arc()

EEL_F NSEEL_CGEN_CALL _gfx_arc ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_blit2()

EEL_F NSEEL_CGEN_CALL _gfx_blit2 ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_blitext()

EEL_F *NSEEL_CGEN_CALL _gfx_blitext ( void * opaque,
EEL_F * img,
EEL_F * coordidx,
EEL_F * rotate )
static

◆ _gfx_blurto()

EEL_F *NSEEL_CGEN_CALL _gfx_blurto ( void * opaque,
EEL_F * x,
EEL_F * y )
static

◆ _gfx_circle()

EEL_F NSEEL_CGEN_CALL _gfx_circle ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_deltablit()

EEL_F NSEEL_CGEN_CALL _gfx_deltablit ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_drawchar()

EEL_F *NSEEL_CGEN_CALL _gfx_drawchar ( void * opaque,
EEL_F * n )
static

◆ _gfx_drawnumber()

EEL_F *NSEEL_CGEN_CALL _gfx_drawnumber ( void * opaque,
EEL_F * n,
EEL_F * nd )
static

◆ _gfx_drawstr()

EEL_F NSEEL_CGEN_CALL _gfx_drawstr ( void * opaque,
INT_PTR nparms,
EEL_F ** parms )
static

◆ _gfx_getdropfile()

EEL_F NSEEL_CGEN_CALL _gfx_getdropfile ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_getfont()

EEL_F NSEEL_CGEN_CALL _gfx_getfont ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_getimgdim()

EEL_F *NSEEL_CGEN_CALL _gfx_getimgdim ( void * opaque,
EEL_F * img,
EEL_F * w,
EEL_F * h )
static

◆ _gfx_getpixel()

EEL_F *NSEEL_CGEN_CALL _gfx_getpixel ( void * opaque,
EEL_F * r,
EEL_F * g,
EEL_F * b )
static

◆ _gfx_getsyscol()

EEL_F NSEEL_CGEN_CALL _gfx_getsyscol ( void * ctxe,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_gradrect()

EEL_F NSEEL_CGEN_CALL _gfx_gradrect ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_line()

EEL_F NSEEL_CGEN_CALL _gfx_line ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_lineto()

EEL_F *NSEEL_CGEN_CALL _gfx_lineto ( void * opaque,
EEL_F * xpos,
EEL_F * ypos,
EEL_F * useaa )
static

◆ _gfx_lineto2()

EEL_F *NSEEL_CGEN_CALL _gfx_lineto2 ( void * opaque,
EEL_F * xpos,
EEL_F * ypos )
static

◆ _gfx_loadimg()

EEL_F NSEEL_CGEN_CALL _gfx_loadimg ( void * opaque,
EEL_F * img,
EEL_F * fr )
static

◆ _gfx_measurechar()

EEL_F *NSEEL_CGEN_CALL _gfx_measurechar ( void * opaque,
EEL_F * str,
EEL_F * xOut,
EEL_F * yOut )
static

◆ _gfx_measurestr()

EEL_F *NSEEL_CGEN_CALL _gfx_measurestr ( void * opaque,
EEL_F * str,
EEL_F * xOut,
EEL_F * yOut )
static

◆ _gfx_muladdrect()

EEL_F NSEEL_CGEN_CALL _gfx_muladdrect ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_printf()

EEL_F NSEEL_CGEN_CALL _gfx_printf ( void * opaque,
INT_PTR nparms,
EEL_F ** parms )
static

◆ _gfx_rect()

EEL_F NSEEL_CGEN_CALL _gfx_rect ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_rectto()

EEL_F *NSEEL_CGEN_CALL _gfx_rectto ( void * opaque,
EEL_F * xpos,
EEL_F * ypos )
static

◆ _gfx_roundrect()

EEL_F NSEEL_CGEN_CALL _gfx_roundrect ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_set()

EEL_F NSEEL_CGEN_CALL _gfx_set ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_setcursor()

EEL_F NSEEL_CGEN_CALL _gfx_setcursor ( void * opaque,
INT_PTR nparms,
EEL_F ** parms )
static

◆ _gfx_setfont()

EEL_F NSEEL_CGEN_CALL _gfx_setfont ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_setimgdim()

EEL_F NSEEL_CGEN_CALL _gfx_setimgdim ( void * opaque,
EEL_F * img,
EEL_F * w,
EEL_F * h )
static

◆ _gfx_setpixel()

EEL_F *NSEEL_CGEN_CALL _gfx_setpixel ( void * opaque,
EEL_F * r,
EEL_F * g,
EEL_F * b )
static

◆ _gfx_showmenu()

EEL_F NSEEL_CGEN_CALL _gfx_showmenu ( void * opaque,
INT_PTR nparms,
EEL_F ** parms )
static

◆ _gfx_transformblit()

EEL_F NSEEL_CGEN_CALL _gfx_transformblit ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ _gfx_triangle()

EEL_F NSEEL_CGEN_CALL _gfx_triangle ( void * opaque,
INT_PTR np,
EEL_F ** parms )
static

◆ CoordsSrcDestOverlap()

bool CoordsSrcDestOverlap ( EEL_F * coords)
static

◆ eel_lice_register()

void eel_lice_register ( )

◆ LICE__Destroy()

void LICE__Destroy ( LICE_IBitmap * bm)
static

◆ LICE__DestroyFont()

void LICE__DestroyFont ( LICE_IFont * bm)
static

◆ LICE__DrawText()

int LICE__DrawText ( LICE_IFont * ifont,
LICE_IBitmap * bm,
const char * str,
int strcnt,
RECT * rect,
UINT dtFlags )
static

◆ LICE__GetDC()

HDC LICE__GetDC ( LICE_IBitmap * bm)
static

◆ LICE__GetHeight()

int LICE__GetHeight ( LICE_IBitmap * bm)
static

◆ LICE__GetWidth()

int LICE__GetWidth ( LICE_IBitmap * bm)
static

◆ LICE__resize()

bool LICE__resize ( LICE_IBitmap * bm,
int w,
int h )
static

◆ LICE__SetFromHFont()

void LICE__SetFromHFont ( LICE_IFont * ifont,
HFONT font,
int flags )
static

◆ LICE__SetTextColor()

LICE_pixel LICE__SetTextColor ( LICE_IFont * ifont,
LICE_pixel color )
static

◆ LICE__SetTextCombineMode()

void LICE__SetTextCombineMode ( LICE_IFont * ifont,
int mode,
float alpha )
static

◆ LICE_CreateFont()

LICE_IFont * LICE_CreateFont ( )
static

◆ PopulateMenuFromStr()

HMENU PopulateMenuFromStr ( const char ** str,
int * startid )
static