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

Classes

struct  modalDlgRet

Functions

static SWELL_DialogResourceIndexresById (SWELL_DialogResourceIndex *reshead, const char *resid)
bool IsModalDialogBox (HWND hwnd)
HWND DialogBoxIsActive ()
void swell_dlg_destroyspare ()
static void spareTimer (HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwtime)
void EndDialog (HWND wnd, int ret)
int SWELL_DialogBox (SWELL_DialogResourceIndex *reshead, const char *resid, HWND parent, DLGPROC dlgproc, LPARAM param)
HWND SWELL_CreateDialog (SWELL_DialogResourceIndex *reshead, const char *resid, HWND parent, DLGPROC dlgproc, LPARAM param)
HMENU SWELL_GetDefaultWindowMenu ()
void SWELL_SetDefaultWindowMenu (HMENU menu)
HMENU SWELL_GetDefaultModalWindowMenu ()
void SWELL_SetDefaultModalWindowMenu (HMENU menu)

Variables

static HMENU g_swell_defaultmenu
static HMENU g_swell_defaultmenumodal
void(* SWELL_DDrop_onDragLeave )()
void(* SWELL_DDrop_onDragOver )(POINT pt)
void(* SWELL_DDrop_onDragEnter )(void *hGlobal, POINT pt)
const char *(* SWELL_DDrop_getDroppedFileTargetPath )(const char *extension)
bool SWELL_owned_windows_levelincrease =false
static WDL_PtrList< modalDlgRets_modalDialogs
static SWELL_OSWINDOW s_spare
static RECT s_spare_rect
static UINT_PTR s_spare_timer
static int s_spare_style
static int s_last_dlgret
SWELL_DialogResourceIndexSWELL_curmodule_dialogresource_head

Function Documentation

◆ DialogBoxIsActive()

HWND DialogBoxIsActive ( void )

◆ EndDialog()

void EndDialog ( HWND wnd,
int ret )

◆ IsModalDialogBox()

bool IsModalDialogBox ( HWND hwnd)

◆ resById()

SWELL_DialogResourceIndex * resById ( SWELL_DialogResourceIndex * reshead,
const char * resid )
static

◆ spareTimer()

void spareTimer ( HWND hwnd,
UINT uMsg,
UINT_PTR idEvent,
DWORD dwtime )
static

◆ SWELL_CreateDialog()

HWND SWELL_CreateDialog ( SWELL_DialogResourceIndex * reshead,
const char * resid,
HWND parent,
DLGPROC dlgproc,
LPARAM param )

◆ SWELL_DialogBox()

int SWELL_DialogBox ( SWELL_DialogResourceIndex * reshead,
const char * resid,
HWND parent,
DLGPROC dlgproc,
LPARAM param )

◆ swell_dlg_destroyspare()

void swell_dlg_destroyspare ( )

◆ SWELL_GetDefaultModalWindowMenu()

HMENU SWELL_GetDefaultModalWindowMenu ( )

◆ SWELL_GetDefaultWindowMenu()

HMENU SWELL_GetDefaultWindowMenu ( )

◆ SWELL_SetDefaultModalWindowMenu()

void SWELL_SetDefaultModalWindowMenu ( HMENU menu)

◆ SWELL_SetDefaultWindowMenu()

void SWELL_SetDefaultWindowMenu ( HMENU menu)

Variable Documentation

◆ g_swell_defaultmenu

HMENU g_swell_defaultmenu
static

◆ g_swell_defaultmenumodal

HMENU g_swell_defaultmenumodal
static

◆ s_last_dlgret

int s_last_dlgret
static

◆ s_modalDialogs

WDL_PtrList<modalDlgRet> s_modalDialogs
static

◆ s_spare

SWELL_OSWINDOW s_spare
static

◆ s_spare_rect

RECT s_spare_rect
static

◆ s_spare_style

int s_spare_style
static

◆ s_spare_timer

UINT_PTR s_spare_timer
static

◆ SWELL_curmodule_dialogresource_head

SWELL_DialogResourceIndex* SWELL_curmodule_dialogresource_head

◆ SWELL_DDrop_getDroppedFileTargetPath

const char *(* SWELL_DDrop_getDroppedFileTargetPath) (const char *extension) ( const char * extension)

◆ SWELL_DDrop_onDragEnter

void(* SWELL_DDrop_onDragEnter) (void *hGlobal, POINT pt) ( void * hGlobal,
POINT pt )

◆ SWELL_DDrop_onDragLeave

void(* SWELL_DDrop_onDragLeave) () ( )

◆ SWELL_DDrop_onDragOver

void(* SWELL_DDrop_onDragOver) (POINT pt) ( POINT pt)

◆ SWELL_owned_windows_levelincrease

bool SWELL_owned_windows_levelincrease =false