|
| static bool | swell_is_virtkey_char (int c) |
| HWND | swell_oswindow_to_hwnd (SWELL_OSWINDOW w) |
| void | swell_on_toplevel_raise (SWELL_OSWINDOW wnd) |
| HWND | GetParent (HWND hwnd) |
| HWND | GetDlgItem (HWND hwnd, int idx) |
| LONG_PTR | SetWindowLong (HWND hwnd, int idx, LONG_PTR val) |
| LONG_PTR | GetWindowLong (HWND hwnd, int idx) |
| static bool | __isWindow (HWND hc, HWND hFind) |
| bool | IsWindow (HWND hwnd) |
| bool | IsWindowVisible (HWND hwnd) |
| bool | IsModalDialogBox (HWND hwnd) |
| LRESULT | SendMessage (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static void | swell_removeWindowFromParentOrTop (HWND__ *hwnd, bool removeFromOwner) |
| void | RecurseDestroyWindow (HWND hwnd) |
| void | DestroyWindow (HWND hwnd) |
| bool | IsWindowEnabled (HWND hwnd) |
| void | EnableWindow (HWND hwnd, int enable) |
| void | SetForegroundWindow (HWND hwnd) |
| void | SetFocus (HWND hwnd) |
| void | SWELL_OnNavigationFocus (HWND ch) |
| int | IsChild (HWND hwndParent, HWND hwndChild) |
| HWND | SWELL_GetFocusedChild (HWND h) |
| HWND | GetFocusIncludeMenus () |
| HWND | GetForegroundWindow () |
| HWND | GetFocus () |
| void | ScreenToClient (HWND hwnd, POINT *pt) |
| void | ClientToScreen (HWND hwnd, POINT *pt) |
| void | GetWindowContentViewRect (HWND hwnd, RECT *r) |
| void | GetClientRect (HWND hwnd, RECT *r) |
| void | SetWindowPos (HWND hwnd, HWND zorder, int x, int y, int cx, int cy, int flags) |
| BOOL | EnumWindows (BOOL(*proc)(HWND, LPARAM), LPARAM lp) |
| HWND | GetWindow (HWND hwnd, int what) |
| HWND | SetParent (HWND hwnd, HWND newPar) |
| static void | free_timer (TimerInfoRec *rec) |
| void | SWELL_RunMessageLoop () |
| UINT_PTR | SetTimer (HWND hwnd, UINT_PTR timerid, UINT rate, TIMERPROC tProc) |
| BOOL | KillTimer (HWND hwnd, UINT_PTR timerid) |
| BOOL | SetDlgItemText (HWND hwnd, int idx, const char *text) |
| int | GetWindowTextLength (HWND hwnd) |
| BOOL | GetDlgItemText (HWND hwnd, int idx, char *text, int textlen) |
| void | CheckDlgButton (HWND hwnd, int idx, int check) |
| int | IsDlgButtonChecked (HWND hwnd, int idx) |
| BOOL | SetDlgItemInt (HWND hwnd, int idx, int val, int issigned) |
| int | GetDlgItemInt (HWND hwnd, int idx, BOOL *translated, int issigned) |
| void | ShowWindow (HWND hwnd, int cmd) |
| void * | SWELL_ModalWindowStart (HWND hwnd) |
| bool | SWELL_ModalWindowRun (void *ctx, int *ret) |
| void | SWELL_ModalWindowEnd (void *ctx) |
| void | SWELL_CloseWindow (HWND hwnd) |
| static void | Draw3DBox (HDC hdc, const RECT *r, int bgc, int topc, int botc, bool swap=false) |
| void | SWELL_MakeSetCurParms (float xscale, float yscale, float xtrans, float ytrans, HWND parent, bool doauto, bool dosizetofit) |
| static void | UpdateAutoCoords (RECT r) |
| static RECT | MakeCoords (int x, int y, int w, int h, bool wantauto) |
| static void | paintDialogBackground (HWND hwnd, const RECT *r, HDC hdc) |
| static bool | fast_has_focus (HWND hwnd) |
| static bool | draw_focus_indicator (HWND hwnd, HDC hdc, const RECT *drawr) |
| static LRESULT WINAPI | buttonWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static HWND | swell_makeButton (HWND owner, int idx, RECT *tr, const char *label, bool vis, int style) |
| static LRESULT WINAPI | groupWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static void | calcScroll (int wh, int totalw, int scroll_x, int *thumbsz, int *thumbpos) |
| static void | drawHorizontalScrollbar (HDC hdc, RECT cr, int vieww, int totalw, int scroll_x) |
| static void | drawVerticalScrollbar (HDC hdc, RECT cr, int totalh, int scroll_y) |
| static int | editMeasureLineLength (HDC hdc, const char *str, int str_len) |
| int | swell_getLineLength (const char *buf, int *post_skip, int wrap_maxwid, HDC hdc) |
| static int | utf8fs_charpos_to_bytepos (const WDL_FastString *fs, int charpos) |
| static bool | editGetCharPos (HDC hdc, const char *str, int singleline_len, int charpos, int line_h, POINT *pt, int word_wrap, __SWELL_editControlState *es, HWND hwnd) |
| static int | editHitTestLine (HDC hdc, const char *str, int str_len, int xpos, int ypos) |
| static int | editHitTest (HDC hdc, const char *str, int singleline_len, int xpos, int ypos, int word_wrap, __SWELL_editControlState *es, HWND hwnd) |
| static bool | is_word_char (char c) |
| static int | scanWord (const char *buf, int bytepos, int dir) |
| static LRESULT | OnEditKeyDown (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, bool wantReturn, bool isMultiLine, __SWELL_editControlState *es, bool isEditCtl) |
| static int | editControlPaintLine (HDC hdc, const char *str, int str_len, int cursor_pos, int sel1, int sel2, const RECT *r, int dtflags) |
| static void | passwordify (WDL_FastString **s) |
| static LRESULT WINAPI | editWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static LRESULT WINAPI | progressWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static LRESULT WINAPI | trackbarWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static LRESULT WINAPI | labelWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static LRESULT WINAPI | comboWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| HWND | SWELL_MakeButton (int def, const char *label, int idx, int x, int y, int w, int h, int flags) |
| | these are for swell-dlggen.h
|
| HWND | SWELL_MakeLabel (int align, const char *label, int idx, int x, int y, int w, int h, int flags) |
| HWND | SWELL_MakeEditField (int idx, int x, int y, int w, int h, int flags) |
| HWND | SWELL_MakeCheckBox (const char *name, int idx, int x, int y, int w, int h, int flags=0) |
| static const char * | stateStringOnKey (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| static LRESULT | listViewWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static LRESULT | treeViewWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static LRESULT | tabControlWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| HWND | SWELL_MakeListBox (int idx, int x, int y, int w, int h, int styles) |
| void | SWELL_RegisterCustomControlCreator (SWELL_ControlCreatorProc proc) |
| void | SWELL_UnregisterCustomControlCreator (SWELL_ControlCreatorProc proc) |
| HWND | SWELL_MakeControl (const char *cname, int idx, const char *classname, int style, int x, int y, int w, int h, int exstyle) |
| HWND | SWELL_MakeCombo (int idx, int x, int y, int w, int h, int flags) |
| HWND | SWELL_MakeGroupBox (const char *name, int idx, int x, int y, int w, int h, int style) |
| int | TabCtrl_GetItemCount (HWND hwnd) |
| BOOL | TabCtrl_AdjustRect (HWND hwnd, BOOL fLarger, RECT *r) |
| BOOL | TabCtrl_DeleteItem (HWND hwnd, int idx) |
| int | TabCtrl_InsertItem (HWND hwnd, int idx, TCITEM *item) |
| int | TabCtrl_SetCurSel (HWND hwnd, int idx) |
| int | TabCtrl_GetCurSel (HWND hwnd) |
| void | ListView_SetExtendedListViewStyleEx (HWND h, int flag, int mask) |
| void | SWELL_SetListViewFastClickMask (HWND hList, int mask) |
| void | ListView_SetImageList (HWND h, HIMAGELIST imagelist, int which) |
| int | ListView_GetColumnWidth (HWND h, int pos) |
| void | ListView_InsertColumn (HWND h, int pos, const LVCOLUMN *lvc) |
| void | ListView_SetColumn (HWND h, int pos, const LVCOLUMN *lvc) |
| void | ListView_GetItemText (HWND hwnd, int item, int subitem, char *text, int textmax) |
| int | ListView_InsertItem (HWND h, const LVITEM *item) |
| void | ListView_SetItemText (HWND h, int ipos, int cpos, const char *txt) |
| int | ListView_GetNextItem (HWND h, int istart, int flags) |
| bool | ListView_SetItem (HWND h, LVITEM *item) |
| bool | ListView_GetItem (HWND h, LVITEM *item) |
| int | ListView_GetItemState (HWND h, int ipos, UINT mask) |
| bool | ListView_SetItemState (HWND h, int ipos, UINT state, UINT statemask) |
| void | ListView_RedrawItems (HWND h, int startitem, int enditem) |
| void | ListView_DeleteItem (HWND h, int ipos) |
| void | ListView_DeleteAllItems (HWND h) |
| int | ListView_GetSelectedCount (HWND h) |
| int | ListView_GetItemCount (HWND h) |
| int | ListView_GetSelectionMark (HWND h) |
| int | SWELL_GetListViewHeaderHeight (HWND h) |
| void | ListView_SetColumnWidth (HWND h, int pos, int wid) |
| int | ListView_HitTest (HWND h, LVHITTESTINFO *pinf) |
| int | ListView_SubItemHitTest (HWND h, LVHITTESTINFO *pinf) |
| void | ListView_SetItemCount (HWND h, int cnt) |
| void | ListView_EnsureVisible (HWND h, int i, BOOL pok) |
| bool | ListView_GetSubItemRect (HWND h, int item, int subitem, int code, RECT *r) |
| bool | ListView_GetItemRect (HWND h, int item, RECT *r, int code) |
| bool | ListView_Scroll (HWND h, int xscroll, int yscroll) |
| void | ListView_SortItems (HWND hwnd, PFNLVCOMPARE compf, LPARAM parm) |
| bool | ListView_DeleteColumn (HWND h, int pos) |
| int | ListView_GetCountPerPage (HWND h) |
| HWND | ChildWindowFromPoint (HWND h, POINT p) |
| static HWND | recurseOwnedWindowHitTest (HWND h, POINT p, int maxdepth) |
| HWND | WindowFromPoint (POINT p) |
| BOOL | InvalidateRect (HWND hwnd, const RECT *r, int eraseBk) |
| HWND | GetCapture () |
| HWND | SetCapture (HWND hwnd) |
| void | ReleaseCapture () |
| static HWND | getNextFocusWindow (HWND hwnd, bool rev, HWND foc_child) |
| LRESULT | SwellDialogDefaultWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| BOOL | EndPaint (HWND hwnd, PAINTSTRUCT *ps) |
| static bool | wantRightAlignedMenuBarItem (const char *p) |
| static int | menuBarHitTest (HWND hwnd, int mousex, int mousey, RECT *rOut, int forceItem, int expandedItem) |
| HWND | swell_window_wants_all_input () |
| int | menuBarNavigate (int dir) |
| static void | runMenuBar (HWND hwnd, HMENU__ *menu, int x, const RECT *use_r, int flag) |
| LRESULT | DefWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| BOOL | DragQueryPoint (HDROP hDrop, LPPOINT pt) |
| void | DragFinish (HDROP hDrop) |
| UINT | DragQueryFile (HDROP hDrop, UINT wf, char *buf, UINT bufsz) |
| BOOL | PostMessage (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| void | SWELL_MessageQueue_Clear (HWND h) |
| void | SWELL_Internal_PostMessage_Init () |
| void | SWELL_MessageQueue_Flush () |
| void | SWELL_Internal_PMQ_ClearAllMessages (HWND hwnd) |
| BOOL | SWELL_Internal_PostMessage (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| int | EnumPropsEx (HWND hwnd, PROPENUMPROCEX proc, LPARAM lParam) |
| HANDLE | GetProp (HWND hwnd, const char *name) |
| BOOL | SetProp (HWND hwnd, const char *name, HANDLE val) |
| HANDLE | RemoveProp (HWND hwnd, const char *name) |
| int | GetSystemMetrics (int p) |
| BOOL | ScrollWindow (HWND hwnd, int xamt, int yamt, const RECT *lpRect, const RECT *lpClipRect) |
| HWND | FindWindowEx (HWND par, HWND lastw, const char *classname, const char *title) |
| HTREEITEM | TreeView_InsertItem (HWND hwnd, TV_INSERTSTRUCT *ins) |
| BOOL | TreeView_Expand (HWND hwnd, HTREEITEM item, UINT flag) |
| HTREEITEM | TreeView_GetSelection (HWND hwnd) |
| void | TreeView_DeleteItem (HWND hwnd, HTREEITEM item) |
| void | TreeView_DeleteAllItems (HWND hwnd) |
| void | TreeView_EnsureVisible (HWND hwnd, HTREEITEM item) |
| void | TreeView_SelectItem (HWND hwnd, HTREEITEM item) |
| BOOL | TreeView_GetItem (HWND hwnd, LPTVITEM pitem) |
| BOOL | TreeView_SetItem (HWND hwnd, LPTVITEM pitem) |
| HTREEITEM | TreeView_HitTest (HWND hwnd, TVHITTESTINFO *hti) |
| HTREEITEM | TreeView_GetRoot (HWND hwnd) |
| HTREEITEM | TreeView_GetParent (HWND hwnd, HTREEITEM item) |
| HTREEITEM | TreeView_GetChild (HWND hwnd, HTREEITEM item) |
| HTREEITEM | TreeView_GetNextSibling (HWND hwnd, HTREEITEM item) |
| BOOL | TreeView_SetIndent (HWND hwnd, int indent) |
| void | TreeView_SetBkColor (HWND hwnd, int color) |
| void | TreeView_SetTextColor (HWND hwnd, int color) |
| void | ListView_SetBkColor (HWND h, int color) |
| void | ListView_SetTextBkColor (HWND h, int color) |
| void | ListView_SetTextColor (HWND h, int color) |
| void | ListView_SetGridColor (HWND h, int color) |
| void | ListView_SetSelColors (HWND h, int *colors, int ncolors) |
| int | ListView_GetTopIndex (HWND h) |
| BOOL | ListView_GetColumnOrderArray (HWND h, int cnt, int *arr) |
| BOOL | ListView_SetColumnOrderArray (HWND h, int cnt, int *arr) |
| HWND | ListView_GetHeader (HWND h) |
| int | Header_GetItemCount (HWND h) |
| BOOL | Header_GetItem (HWND h, int col, HDITEM *hi) |
| BOOL | Header_SetItem (HWND h, int col, HDITEM *hi) |
| BOOL | EnumChildWindows (HWND hwnd, BOOL(*cwEnumFunc)(HWND, LPARAM), LPARAM lParam) |
| void | SWELL_GetDesiredControlSize (HWND hwnd, RECT *r) |
| BOOL | SWELL_IsGroupBox (HWND hwnd) |
| BOOL | SWELL_IsButton (HWND hwnd) |
| BOOL | SWELL_IsStaticText (HWND hwnd) |
| BOOL | ShellExecute (HWND hwndDlg, const char *action, const char *content1, const char *content2, const char *content3, int blah) |
| static LRESULT WINAPI | focusRectWndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| void | SWELL_DrawFocusRect (HWND hwndPar, RECT *rct, void **handle) |
| void | SWELL_BroadcastMessage (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| void | SetOpaque (HWND h, bool opaque) |
| void | SetAllowNoMiddleManRendering (HWND h, bool allow) |
| int | SWELL_GetDefaultButtonID (HWND hwndDlg, bool onlyIfEnabled) |
| void | SWELL_HideApp () |
| BOOL | SWELL_GetGestureInfo (LPARAM lParam, GESTUREINFO *gi) |
| void | SWELL_SetWindowWantRaiseAmt (HWND h, int amt) |
| int | SWELL_GetWindowWantRaiseAmt (HWND h) |
| void | SWELL_GenerateDialogFromList (const void *_list, int listsz) |
| void | SWELL_SetClassName (HWND hwnd, const char *p) |
| int | GetClassName (HWND hwnd, char *buf, int bufsz) |
| void | SWELL_DisableContextMenu (HWND hwnd, bool dis) |