LMMS
Loading...
Searching...
No Matches
eel_lice_state Class Reference

#include <eel_lice.h>

Classes

struct  gfxFontStruct

Public Types

enum  { EELFONT_FLAG_BOLD = (1<<24) , EELFONT_FLAG_ITALIC = (2<<24) , EELFONT_FLAG_UNDERLINE = (4<<24) , EELFONT_FLAG_MASK = EELFONT_FLAG_BOLD|EELFONT_FLAG_ITALIC|EELFONT_FLAG_UNDERLINE }

Public Member Functions

 eel_lice_state (NSEEL_VMCTX vm, void *ctx, int image_slots, int font_slots)
 ~eel_lice_state ()
void resetVarsToStock ()
LICE_IFontGetActiveFont ()
LICE_IBitmapGetImageForIndex (EEL_F idx, const char *callername)
void SetImageDirty (LICE_IBitmap *bm)
int setup_frame (HWND hwnd, RECT r, int _mouse_x=0, int _mouse_y=0, int has_dpi=0)
void finish_draw ()
void gfx_lineto (EEL_F xpos, EEL_F ypos, EEL_F aaflag)
void gfx_rectto (EEL_F xpos, EEL_F ypos)
void gfx_line (int np, EEL_F **parms)
void gfx_rect (int np, EEL_F **parms)
void gfx_roundrect (int np, EEL_F **parms)
void gfx_arc (int np, EEL_F **parms)
void gfx_set (int np, EEL_F **parms)
void gfx_grad_or_muladd_rect (int mode, int np, EEL_F **parms)
void gfx_setpixel (EEL_F r, EEL_F g, EEL_F b)
void gfx_getpixel (EEL_F *r, EEL_F *g, EEL_F *b)
void gfx_drawnumber (EEL_F n, EEL_F ndigits)
void gfx_drawchar (EEL_F ch)
void gfx_getimgdim (EEL_F img, EEL_F *w, EEL_F *h)
EEL_F gfx_setimgdim (int img, EEL_F *w, EEL_F *h)
void gfx_blurto (EEL_F x, EEL_F y)
void gfx_blitext (EEL_F img, EEL_F *coords, EEL_F angle)
void gfx_blitext2 (int np, EEL_F **parms, int mode)
void gfx_transformblit (EEL_F **parms, int div_w, int div_h, EEL_F *tab)
void gfx_circle (float x, float y, float r, bool fill, bool aaflag)
void gfx_triangle (EEL_F **parms, int nparms)
void gfx_drawstr (void *opaque, EEL_F **parms, int nparms, int formatmode)
EEL_F gfx_loadimg (void *opaque, int img, EEL_F loadFrom)
EEL_F gfx_setfont (void *opaque, int np, EEL_F **parms)
EEL_F gfx_getfont (void *opaque, int np, EEL_F **parms)
EEL_F gfx_getdropfile (void *opaque, int np, EEL_F **parms)
LICE_pixel getCurColor ()
int getCurMode ()
int getCurModeForBlit (bool isFBsrc)

Public Attributes

LICE_IBitmapm_framebuffer
LICE_IBitmapm_framebuffer_extra
int m_framebuffer_dirty
WDL_TypedBuf< LICE_IBitmap * > m_gfx_images
WDL_TypedBuf< gfxFontStructm_gfx_fonts
int m_gfx_font_active
EEL_F * m_gfx_r
EEL_F * m_gfx_g
EEL_F * m_gfx_b
EEL_F * m_gfx_w
EEL_F * m_gfx_h
EEL_F * m_gfx_a
EEL_F * m_gfx_x
EEL_F * m_gfx_y
EEL_F * m_gfx_mode
EEL_F * m_gfx_clear
EEL_F * m_gfx_texth
EEL_F * m_gfx_dest
EEL_F * m_gfx_a2
EEL_F * m_mouse_x
EEL_F * m_mouse_y
EEL_F * m_mouse_cap
EEL_F * m_mouse_wheel
EEL_F * m_mouse_hwheel
EEL_F * m_gfx_ext_retina
NSEEL_VMCTX m_vmref
voidm_user_ctx
int m_has_cap
bool m_has_had_getch
WDL_PtrList< char > m_ddrop_files

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
EELFONT_FLAG_BOLD 
EELFONT_FLAG_ITALIC 
EELFONT_FLAG_UNDERLINE 
EELFONT_FLAG_MASK 

Constructor & Destructor Documentation

◆ eel_lice_state()

eel_lice_state::eel_lice_state ( NSEEL_VMCTX vm,
void * ctx,
int image_slots,
int font_slots )

◆ ~eel_lice_state()

eel_lice_state::~eel_lice_state ( )

Member Function Documentation

◆ finish_draw()

void eel_lice_state::finish_draw ( )

◆ GetActiveFont()

LICE_IFont * eel_lice_state::GetActiveFont ( )
inline

◆ getCurColor()

LICE_pixel eel_lice_state::getCurColor ( )

◆ getCurMode()

int eel_lice_state::getCurMode ( )

◆ getCurModeForBlit()

int eel_lice_state::getCurModeForBlit ( bool isFBsrc)

◆ GetImageForIndex()

LICE_IBitmap * eel_lice_state::GetImageForIndex ( EEL_F idx,
const char * callername )
inline

◆ gfx_arc()

void eel_lice_state::gfx_arc ( int np,
EEL_F ** parms )

◆ gfx_blitext()

void eel_lice_state::gfx_blitext ( EEL_F img,
EEL_F * coords,
EEL_F angle )

◆ gfx_blitext2()

void eel_lice_state::gfx_blitext2 ( int np,
EEL_F ** parms,
int mode )

◆ gfx_blurto()

void eel_lice_state::gfx_blurto ( EEL_F x,
EEL_F y )

◆ gfx_circle()

void eel_lice_state::gfx_circle ( float x,
float y,
float r,
bool fill,
bool aaflag )

◆ gfx_drawchar()

void eel_lice_state::gfx_drawchar ( EEL_F ch)

◆ gfx_drawnumber()

void eel_lice_state::gfx_drawnumber ( EEL_F n,
EEL_F ndigits )

◆ gfx_drawstr()

void eel_lice_state::gfx_drawstr ( void * opaque,
EEL_F ** parms,
int nparms,
int formatmode )

◆ gfx_getdropfile()

EEL_F eel_lice_state::gfx_getdropfile ( void * opaque,
int np,
EEL_F ** parms )

◆ gfx_getfont()

EEL_F eel_lice_state::gfx_getfont ( void * opaque,
int np,
EEL_F ** parms )

◆ gfx_getimgdim()

void eel_lice_state::gfx_getimgdim ( EEL_F img,
EEL_F * w,
EEL_F * h )

◆ gfx_getpixel()

void eel_lice_state::gfx_getpixel ( EEL_F * r,
EEL_F * g,
EEL_F * b )

◆ gfx_grad_or_muladd_rect()

void eel_lice_state::gfx_grad_or_muladd_rect ( int mode,
int np,
EEL_F ** parms )

◆ gfx_line()

void eel_lice_state::gfx_line ( int np,
EEL_F ** parms )

◆ gfx_lineto()

void eel_lice_state::gfx_lineto ( EEL_F xpos,
EEL_F ypos,
EEL_F aaflag )

◆ gfx_loadimg()

EEL_F eel_lice_state::gfx_loadimg ( void * opaque,
int img,
EEL_F loadFrom )

◆ gfx_rect()

void eel_lice_state::gfx_rect ( int np,
EEL_F ** parms )

◆ gfx_rectto()

void eel_lice_state::gfx_rectto ( EEL_F xpos,
EEL_F ypos )

◆ gfx_roundrect()

void eel_lice_state::gfx_roundrect ( int np,
EEL_F ** parms )

◆ gfx_set()

void eel_lice_state::gfx_set ( int np,
EEL_F ** parms )

◆ gfx_setfont()

EEL_F eel_lice_state::gfx_setfont ( void * opaque,
int np,
EEL_F ** parms )

◆ gfx_setimgdim()

EEL_F eel_lice_state::gfx_setimgdim ( int img,
EEL_F * w,
EEL_F * h )

◆ gfx_setpixel()

void eel_lice_state::gfx_setpixel ( EEL_F r,
EEL_F g,
EEL_F b )

◆ gfx_transformblit()

void eel_lice_state::gfx_transformblit ( EEL_F ** parms,
int div_w,
int div_h,
EEL_F * tab )

◆ gfx_triangle()

void eel_lice_state::gfx_triangle ( EEL_F ** parms,
int nparms )

◆ resetVarsToStock()

void eel_lice_state::resetVarsToStock ( )
inline

◆ SetImageDirty()

void eel_lice_state::SetImageDirty ( LICE_IBitmap * bm)
inline

◆ setup_frame()

int eel_lice_state::setup_frame ( HWND hwnd,
RECT r,
int _mouse_x = 0,
int _mouse_y = 0,
int has_dpi = 0 )

Member Data Documentation

◆ m_ddrop_files

WDL_PtrList<char> eel_lice_state::m_ddrop_files

◆ m_framebuffer

LICE_IBitmap* eel_lice_state::m_framebuffer

◆ m_framebuffer_dirty

int eel_lice_state::m_framebuffer_dirty

◆ m_framebuffer_extra

LICE_IBitmap * eel_lice_state::m_framebuffer_extra

◆ m_gfx_a

EEL_F * eel_lice_state::m_gfx_a

◆ m_gfx_a2

EEL_F * eel_lice_state::m_gfx_a2

◆ m_gfx_b

EEL_F * eel_lice_state::m_gfx_b

◆ m_gfx_clear

EEL_F * eel_lice_state::m_gfx_clear

◆ m_gfx_dest

EEL_F * eel_lice_state::m_gfx_dest

◆ m_gfx_ext_retina

EEL_F* eel_lice_state::m_gfx_ext_retina

◆ m_gfx_font_active

int eel_lice_state::m_gfx_font_active

◆ m_gfx_fonts

WDL_TypedBuf<gfxFontStruct> eel_lice_state::m_gfx_fonts

◆ m_gfx_g

EEL_F * eel_lice_state::m_gfx_g

◆ m_gfx_h

EEL_F * eel_lice_state::m_gfx_h

◆ m_gfx_images

WDL_TypedBuf<LICE_IBitmap *> eel_lice_state::m_gfx_images

◆ m_gfx_mode

EEL_F * eel_lice_state::m_gfx_mode

◆ m_gfx_r

EEL_F* eel_lice_state::m_gfx_r

◆ m_gfx_texth

EEL_F * eel_lice_state::m_gfx_texth

◆ m_gfx_w

EEL_F * eel_lice_state::m_gfx_w

◆ m_gfx_x

EEL_F * eel_lice_state::m_gfx_x

◆ m_gfx_y

EEL_F * eel_lice_state::m_gfx_y

◆ m_has_cap

int eel_lice_state::m_has_cap

◆ m_has_had_getch

bool eel_lice_state::m_has_had_getch

◆ m_mouse_cap

EEL_F * eel_lice_state::m_mouse_cap

◆ m_mouse_hwheel

EEL_F * eel_lice_state::m_mouse_hwheel

◆ m_mouse_wheel

EEL_F * eel_lice_state::m_mouse_wheel

◆ m_mouse_x

EEL_F* eel_lice_state::m_mouse_x

◆ m_mouse_y

EEL_F * eel_lice_state::m_mouse_y

◆ m_user_ctx

void* eel_lice_state::m_user_ctx

◆ m_vmref

NSEEL_VMCTX eel_lice_state::m_vmref

The documentation for this class was generated from the following file: