ReactOS 0.4.16-dev-1067-ge98bba2
|
#include "shimgvw.h"
#include <windowsx.h>
#include <commctrl.h>
#include <commdlg.h>
#include <shlobj.h>
#include <shellapi.h>
Go to the source code of this file.
Classes | |
struct | TB_BUTTON_CONFIG |
struct | tagPREVIEW_DATA |
Macros | |
#define | TB_IMAGE_WIDTH 16 |
#define | TB_IMAGE_HEIGHT 16 |
#define | SLIDESHOW_TIMER_ID 0xFACE |
#define | SLIDESHOW_TIMER_INTERVAL 5000 /* 5 seconds */ |
#define | HIDECURSOR_TIMER_ID 0xBABE |
#define | HIDECURSOR_TIMER_TIMEOUT 3000 |
#define | MIN_ZOOM s_ZoomSteps[0] |
#define | MAX_ZOOM s_ZoomSteps[_countof(s_ZoomSteps) - 1] |
#define | DEFINE_BTN_INFO(_name) { TBICON_##_name, IDC_##_name, TBSTATE_ENABLED, BTNS_BUTTON, {0}, 0, 0 } |
#define | DEFINE_BTN_SEPARATOR { -1, 0, TBSTATE_ENABLED, BTNS_SEP, {0}, 0, 0 } |
#define | DEFINE_BTN_CONFIG(_name) { IDB_##_name, IDS_TOOLTIP_##_name } |
Typedefs | |
typedef struct tagPREVIEW_DATA | PREVIEW_DATA |
typedef struct tagPREVIEW_DATA * | PPREVIEW_DATA |
Variables | |
HINSTANCE | g_hInstance = NULL |
HWND | g_hMainWnd = NULL |
HWND | g_hwndFullscreen = NULL |
SHIMGVW_FILENODE * | g_pCurrentFile = NULL |
WCHAR | g_szFile [MAX_PATH] |
GpImage * | g_pImage = NULL |
SHIMGVW_SETTINGS | g_Settings |
UINT | g_ImageId |
static const UINT | s_ZoomSteps [] |
static const TBBUTTON | s_Buttons [] |
static const TB_BUTTON_CONFIG | s_ButtonConfig [] |
#define DEFINE_BTN_CONFIG | ( | _name | ) | { IDB_##_name, IDS_TOOLTIP_##_name } |
#define DEFINE_BTN_INFO | ( | _name | ) | { TBICON_##_name, IDC_##_name, TBSTATE_ENABLED, BTNS_BUTTON, {0}, 0, 0 } |
#define DEFINE_BTN_SEPARATOR { -1, 0, TBSTATE_ENABLED, BTNS_SEP, {0}, 0, 0 } |
#define MAX_ZOOM s_ZoomSteps[_countof(s_ZoomSteps) - 1] |
#define MIN_ZOOM s_ZoomSteps[0] |
typedef struct tagPREVIEW_DATA * PPREVIEW_DATA |
typedef struct tagPREVIEW_DATA PREVIEW_DATA |
|
static |
Definition at line 735 of file shimgvw.c.
Referenced by ZoomWnd_OnDraw().
@DllMain
Core routine of the Utility Manager's library.
[in] | hDllInstance | The entry point instance of the library. |
[in] | fdwReason | The reason argument to indicate the motive DllMain is being called. |
[in] | lpvReserved | Reserved. |
Definition at line 999 of file shimgvw.c.
Referenced by ZoomWnd_OnButtonUp(), and ZoomWndProc().
Definition at line 131 of file loader.cpp.
Referenced by pBuildFileList().
Definition at line 914 of file shimgvw.c.
Referenced by ImageView_Main().
Definition at line 1734 of file shimgvw.c.
Referenced by ImageView_Fullscreen(), ImageView_FullscreenA(), and ImageView_FullscreenW().
Definition at line 932 of file shimgvw.c.
Referenced by ImageView_Main().
Definition at line 1460 of file shimgvw.c.
Referenced by Preview_OnCommand().
Definition at line 269 of file loader.cpp.
Referenced by Preview_pLoadImage().
|
static |
Definition at line 595 of file shimgvw.c.
Referenced by Preview_Delete(), Preview_OnCreate(), and Preview_OnDropFiles().
|
static |
Definition at line 717 of file shimgvw.c.
Referenced by Preview_Delete(), Preview_OnDestroy(), and Preview_OnDropFiles().
|
static |
Definition at line 152 of file shimgvw.c.
Referenced by Preview_OnCommand().
|
static |
Definition at line 947 of file shimgvw.c.
Referenced by Preview_OnCreate().
|
static |
Definition at line 1373 of file shimgvw.c.
Referenced by Preview_OnCommand().
Definition at line 1405 of file shimgvw.c.
Referenced by Preview_OnCommand().
Definition at line 987 of file shimgvw.c.
Referenced by Preview_OnCommand(), Preview_ToggleSlideShowEx(), and ZoomWnd_OnButtonDown().
|
inlinestatic |
Definition at line 128 of file shimgvw.c.
Referenced by Preview_Edit(), Preview_EndSlideShow(), Preview_OnCommand(), Preview_OnDestroy(), Preview_OnDropFiles(), Preview_OnSize(), Preview_RestartTimer(), Preview_ToggleSlideShowEx(), PreviewWndProc(), ZoomWnd_OnButtonDown(), ZoomWnd_OnButtonUp(), ZoomWnd_OnMouseMove(), ZoomWnd_OnMouseWheel(), ZoomWnd_OnSetCursor(), and ZoomWndProc().
|
static |
Definition at line 1446 of file shimgvw.c.
Referenced by Preview_OnCommand(), and PreviewWndProc().
Definition at line 134 of file shimgvw.c.
Referenced by Preview_ChangeSlideShowTimer(), Preview_CreateToolBar(), Preview_EndSlideShow(), Preview_OnCommand(), Preview_OnMoveSize(), Preview_OnSize(), Preview_RestartTimer(), Preview_UpdateImage(), ZoomWnd_OnButtonDown(), ZoomWnd_OnButtonUp(), ZoomWnd_OnDraw(), ZoomWnd_OnMouseMove(), and ZoomWndProc().
|
static |
Definition at line 587 of file shimgvw.c.
Referenced by Preview_Delete(), Preview_GoNextPic(), Preview_OnCreate(), and Preview_OnDropFiles().
Definition at line 1468 of file shimgvw.c.
Referenced by PreviewWndProc().
|
static |
Definition at line 1260 of file shimgvw.c.
Referenced by PreviewWndProc().
Definition at line 1607 of file shimgvw.c.
Referenced by PreviewWndProc().
Definition at line 1633 of file shimgvw.c.
Referenced by PreviewWndProc().
Definition at line 1319 of file shimgvw.c.
Referenced by Preview_OnSize(), and PreviewWndProc().
Definition at line 1591 of file shimgvw.c.
Referenced by PreviewWndProc().
Definition at line 1340 of file shimgvw.c.
Referenced by PreviewWndProc().
|
static |
Definition at line 368 of file shimgvw.c.
Referenced by Preview_OnDestroy(), and Preview_pLoadImage().
|
static |
Definition at line 380 of file shimgvw.c.
Referenced by Preview_pLoadImageFromNode().
|
static |
Definition at line 412 of file shimgvw.c.
Referenced by Preview_LoadImage().
|
static |
Definition at line 562 of file shimgvw.c.
Referenced by Preview_OnCommand().
|
static |
Definition at line 418 of file shimgvw.c.
Referenced by Preview_OnCommand().
|
static |
Definition at line 465 of file shimgvw.c.
Referenced by Preview_OnCommand().
|
static |
Definition at line 304 of file shimgvw.c.
Referenced by Preview_EndSlideShow(), Preview_OnCommand(), Preview_OnSize(), Preview_pLoadImage(), Preview_ToggleSlideShowEx(), and Preview_UpdateImage().
Definition at line 140 of file shimgvw.c.
Referenced by Preview_ChangeSlideShowTimer(), Preview_GoNextPic(), Preview_ToggleSlideShowEx(), and Preview_UpdateZoom().
|
inlinestatic |
Definition at line 1440 of file shimgvw.c.
Referenced by Preview_OnCommand().
|
static |
Definition at line 1412 of file shimgvw.c.
Referenced by Preview_OnCommand(), Preview_ToggleSlideShow(), and ZoomWndProc().
|
static |
Definition at line 578 of file shimgvw.c.
Referenced by Preview_LoadImage(), and Preview_OnCommand().
|
static |
Definition at line 350 of file shimgvw.c.
Referenced by Preview_pLoadImage().
|
static |
Definition at line 568 of file shimgvw.c.
Referenced by Preview_LoadImage().
|
static |
Definition at line 242 of file shimgvw.c.
Referenced by Preview_OnCommand(), Preview_ResetZoom(), and Preview_ZoomInOrOut().
|
static |
Definition at line 270 of file shimgvw.c.
Referenced by Preview_OnCommand(), and ZoomWnd_OnMouseWheel().
Definition at line 1648 of file shimgvw.c.
Referenced by ImageView_Main().
Definition at line 1012 of file shimgvw.c.
Referenced by ZoomWndProc().
Definition at line 1073 of file shimgvw.c.
Referenced by ZoomWndProc().
|
static |
Definition at line 756 of file shimgvw.c.
Referenced by ZoomWnd_OnPaint().
|
static |
Definition at line 1088 of file shimgvw.c.
Referenced by ZoomWndProc().
Definition at line 1032 of file shimgvw.c.
Referenced by ZoomWndProc().
Definition at line 1153 of file shimgvw.c.
Referenced by ZoomWndProc().
|
static |
Definition at line 888 of file shimgvw.c.
Referenced by ZoomWndProc().
Definition at line 1055 of file shimgvw.c.
Referenced by ZoomWndProc().
|
static |
Definition at line 1005 of file shimgvw.c.
Referenced by ZoomWnd_OnButtonDown(), ZoomWnd_OnMouseMove(), and ZoomWndProc().
|
static |
Definition at line 169 of file shimgvw.c.
Referenced by Preview_OnSize(), Preview_UpdateImage(), and Preview_UpdateZoom().
Definition at line 1180 of file shimgvw.c.
Referenced by ImageView_Main(), and PreviewWndProc().
Definition at line 30 of file shimgvw.c.
Referenced by DllMain(), ImageView_Main(), Preview_CreateToolBar(), Preview_OnCreate(), Preview_OnNotify(), Preview_ToggleSlideShowEx(), Preview_UpdateTitle(), ZoomWnd_OnButtonDown(), ZoomWnd_OnDraw(), and ZoomWnd_OnSetCursor().
Definition at line 31 of file shimgvw.c.
Referenced by IsCommandEnabled(), Preview_Edit(), Preview_EndSlideShow(), Preview_IsMainWnd(), Preview_OnCreate(), Preview_pLoadImage(), Preview_pPrintImage(), Preview_ToggleSlideShowEx(), and PreviewWndProc().
Definition at line 32 of file shimgvw.c.
Referenced by ImageView_Main(), Preview_OnCreate(), and Preview_ToggleSlideShowEx().
UINT g_ImageId |
Definition at line 37 of file shimgvw.c.
Referenced by Preview_pLoadImage(), and PreviewWndProc().
SHIMGVW_FILENODE* g_pCurrentFile = NULL |
Definition at line 33 of file shimgvw.c.
Referenced by Preview_Delete(), Preview_GoNextPic(), Preview_OnCreate(), Preview_OnDestroy(), and Preview_OnDropFiles().
Definition at line 35 of file shimgvw.c.
Referenced by Anime_LoadInfo(), Anime_SetFrameIndex(), Preview_OnCommand(), Preview_pFreeImage(), Preview_pLoadImage(), Preview_pSaveImage(), Preview_pSaveImageAs(), Preview_ResetZoom(), Preview_UpdateUI(), Preview_ZoomInOrOut(), ZoomWnd_OnDraw(), ZoomWnd_OnHVScroll(), and ZoomWnd_UpdateScroll().
SHIMGVW_SETTINGS g_Settings |
Definition at line 36 of file shimgvw.c.
Referenced by ImageView_LoadSettings(), ImageView_Main(), ImageView_ResetSettings(), ImageView_SaveSettings(), and Preview_OnMoveSize().
Definition at line 34 of file shimgvw.c.
Referenced by ImageView_Main(), Preview_Delete(), Preview_Edit(), Preview_OnCommand(), Preview_pLoadImage(), Preview_pPrintImage(), and ZoomWndProc().
|
static |
Definition at line 90 of file shimgvw.c.
Referenced by Preview_CreateToolBar(), and Preview_OnNotify().
Definition at line 55 of file shimgvw.c.
Referenced by Preview_CreateToolBar().
Definition at line 39 of file shimgvw.c.
Referenced by Preview_ZoomInOrOut().