LMMS
Loading...
Searching...
No Matches
swell-generic-headless.cpp File Reference
#include "swell.h"
#include "swell-internal.h"
#include "swell-dlggen.h"
#include "../wdlcstring.h"

Functions

void swell_oswindow_destroy (HWND hwnd)
void swell_oswindow_update_text (HWND hwnd)
void swell_oswindow_focus (HWND hwnd)
void swell_recalcMinMaxInfo (HWND hwnd)
void SWELL_initargs (int *argc, char ***argv)
void swell_oswindow_updatetoscreen (HWND hwnd, RECT *rect)
void swell_oswindow_manage (HWND hwnd, bool wantfocus)
void SWELL_RunEvents ()
void swell_oswindow_update_style (HWND hwnd, LONG oldstyle)
void swell_oswindow_update_enable (HWND hwnd)
int SWELL_SetWindowLevel (HWND hwnd, int newlevel)
void SWELL_GetViewPort (RECT *r, const RECT *sourcerect, bool wantWork)
bool GetWindowRect (HWND hwnd, RECT *r)
void swell_oswindow_begin_resize (SWELL_OSWINDOW wnd)
void swell_oswindow_resize (SWELL_OSWINDOW wnd, int reposflag, RECT f)
void swell_oswindow_postresize (HWND hwnd, RECT f)
void swell_oswindow_invalidate (HWND hwnd, const RECT *r)
void UpdateWindow (HWND hwnd)
bool OpenClipboard (HWND hwndDlg)
void CloseClipboard ()
UINT EnumClipboardFormats (UINT lastfmt)
HANDLE GetClipboardData (UINT type)
void EmptyClipboard ()
void SetClipboardData (UINT type, HANDLE h)
UINT RegisterClipboardFormat (const char *desc)
void GetCursorPos (POINT *pt)
WORD GetAsyncKeyState (int key)
DWORD GetMessagePos ()
HWND SWELL_CreateXBridgeWindow (HWND viewpar, void **wref, const RECT *r)
void SWELL_InitiateDragDrop (HWND hwnd, RECT *srcrect, const char *srcfn, void(*callback)(const char *dropfn))
void SWELL_InitiateDragDropOfFileList (HWND hwnd, RECT *srcrect, const char **srclist, int srccount, HICON icon)
void SWELL_FinishDragDrop ()
void SWELL_SetCursor (HCURSOR curs)
HCURSOR SWELL_GetCursor ()
HCURSOR SWELL_GetLastSetCursor ()
bool SWELL_IsCursorVisible ()
int SWELL_ShowCursor (BOOL bShow)
BOOL SWELL_SetCursorPos (int X, int Y)
HCURSOR SWELL_LoadCursorFromFile (const char *fn)
HCURSOR SWELL_LoadCursor (const char *_idx)
void SWELL_Register_Cursor_Resource (const char *idx, const char *name, int hotspot_x, int hotspot_y)
int SWELL_KeyToASCII (int wParam, int lParam, int *newflags)
int swell_is_app_inactive ()

Variables

static WDL_IntKeyedArray< HANDLEm_clip_recs (GlobalFree)
static WDL_PtrList< char > m_clip_curfmts
static HCURSOR m_last_setcursor
static int m_curvis_cnt
static SWELL_CursorResourceIndexSWELL_curmodule_cursorresource_head

Function Documentation

◆ CloseClipboard()

void CloseClipboard ( )

◆ EmptyClipboard()

void EmptyClipboard ( )

◆ EnumClipboardFormats()

UINT EnumClipboardFormats ( UINT lastfmt)

◆ GetAsyncKeyState()

WORD GetAsyncKeyState ( int key)

◆ GetClipboardData()

HANDLE GetClipboardData ( UINT type)

◆ GetCursorPos()

void GetCursorPos ( POINT * pt)

◆ GetMessagePos()

DWORD GetMessagePos ( )

◆ GetWindowRect()

bool GetWindowRect ( HWND hwnd,
RECT * r )

◆ OpenClipboard()

bool OpenClipboard ( HWND hwndDlg)

◆ RegisterClipboardFormat()

UINT RegisterClipboardFormat ( const char * desc)

◆ SetClipboardData()

void SetClipboardData ( UINT type,
HANDLE h )

◆ SWELL_CreateXBridgeWindow()

HWND SWELL_CreateXBridgeWindow ( HWND viewpar,
void ** wref,
const RECT * r )

◆ SWELL_FinishDragDrop()

void SWELL_FinishDragDrop ( )

◆ SWELL_GetCursor()

HCURSOR SWELL_GetCursor ( )

◆ SWELL_GetLastSetCursor()

HCURSOR SWELL_GetLastSetCursor ( )

◆ SWELL_GetViewPort()

void SWELL_GetViewPort ( RECT * r,
const RECT * sourcerect,
bool wantWork )

◆ SWELL_initargs()

void SWELL_initargs ( int * argc,
char *** argv )

◆ SWELL_InitiateDragDrop()

void SWELL_InitiateDragDrop ( HWND hwnd,
RECT * srcrect,
const char * srcfn,
void(* callback )(const char *dropfn) )

◆ SWELL_InitiateDragDropOfFileList()

void SWELL_InitiateDragDropOfFileList ( HWND hwnd,
RECT * srcrect,
const char ** srclist,
int srccount,
HICON icon )

◆ swell_is_app_inactive()

int swell_is_app_inactive ( )

◆ SWELL_IsCursorVisible()

bool SWELL_IsCursorVisible ( )

◆ SWELL_KeyToASCII()

int SWELL_KeyToASCII ( int wParam,
int lParam,
int * newflags )

◆ SWELL_LoadCursor()

HCURSOR SWELL_LoadCursor ( const char * _idx)

◆ SWELL_LoadCursorFromFile()

HCURSOR SWELL_LoadCursorFromFile ( const char * fn)

◆ swell_oswindow_begin_resize()

void swell_oswindow_begin_resize ( SWELL_OSWINDOW wnd)

◆ swell_oswindow_destroy()

void swell_oswindow_destroy ( HWND hwnd)

◆ swell_oswindow_focus()

void swell_oswindow_focus ( HWND hwnd)

◆ swell_oswindow_invalidate()

void swell_oswindow_invalidate ( HWND hwnd,
const RECT * r )

◆ swell_oswindow_manage()

void swell_oswindow_manage ( HWND hwnd,
bool wantfocus )

◆ swell_oswindow_postresize()

void swell_oswindow_postresize ( HWND hwnd,
RECT f )

◆ swell_oswindow_resize()

void swell_oswindow_resize ( SWELL_OSWINDOW wnd,
int reposflag,
RECT f )

◆ swell_oswindow_update_enable()

void swell_oswindow_update_enable ( HWND hwnd)

◆ swell_oswindow_update_style()

void swell_oswindow_update_style ( HWND hwnd,
LONG oldstyle )

◆ swell_oswindow_update_text()

void swell_oswindow_update_text ( HWND hwnd)

◆ swell_oswindow_updatetoscreen()

void swell_oswindow_updatetoscreen ( HWND hwnd,
RECT * rect )

◆ swell_recalcMinMaxInfo()

void swell_recalcMinMaxInfo ( HWND hwnd)

◆ SWELL_Register_Cursor_Resource()

void SWELL_Register_Cursor_Resource ( const char * idx,
const char * name,
int hotspot_x,
int hotspot_y )

◆ SWELL_RunEvents()

void SWELL_RunEvents ( )

◆ SWELL_SetCursor()

void SWELL_SetCursor ( HCURSOR curs)

◆ SWELL_SetCursorPos()

BOOL SWELL_SetCursorPos ( int X,
int Y )

◆ SWELL_SetWindowLevel()

int SWELL_SetWindowLevel ( HWND hwnd,
int newlevel )

◆ SWELL_ShowCursor()

int SWELL_ShowCursor ( BOOL bShow)

◆ UpdateWindow()

void UpdateWindow ( HWND hwnd)

Variable Documentation

◆ m_clip_curfmts

WDL_PtrList<char> m_clip_curfmts
static

◆ m_clip_recs

WDL_IntKeyedArray< HANDLE > m_clip_recs(GlobalFree) ( GlobalFree )
static

◆ m_curvis_cnt

int m_curvis_cnt
static

◆ m_last_setcursor

HCURSOR m_last_setcursor
static

◆ SWELL_curmodule_cursorresource_head

SWELL_CursorResourceIndex* SWELL_curmodule_cursorresource_head
static