24#define BROKENIMG_ICON_SIZE 96
27#define SCRNSHOT_MAX_ASPECT_RAT 2.5
30#define INFO_DISPLAY_PADDING 10
33#define RICHEDIT_MIN_WIDTH 160
36#define TOOLBAR_PADDING 6
39#define WM_RAPPS_DOWNLOAD_COMPLETE \
41#define WM_RAPPS_RESIZE_CHILDREN (WM_USER + 2)
42#define WM_RAPPSLIST_ASYNCICON (WM_APP + 0)
52#define TIMER_LOADING_ANIMATION 1
54#define LOADING_ANIMATION_PERIOD 3
55#define LOADING_ANIMATION_FPS 18
60#define STATEIMAGETOINDEX(x) (((x)&LVIS_STATEIMAGEMASK) >> 12)
64#define STATEIMAGE_UNCHECKED 1
65#define STATEIMAGE_CHECKED 2
296 ShowButtonCaption(
bool bShow);
299 UpdateMaxButtonsWidth();
302 GetMaxButtonsWidth()
const;
333 const int m_DefaultSelectType = m_AppDisplayTypeDetails;
372 CreateAppInfoDisplay();
389 SetRedraw(
BOOL bRedraw);
391 SetFocusOnSearchBar();
396 AddApplication(
CAppInfo *InstAppInfo,
BOOL InitialCheckState);
403 GetFocusedItemData();
421 ItemGetFocus(
LPVOID CallbackParam);
426 ItemCheckStateChanged(
BOOL bChecked,
LPVOID CallbackParam);
#define WM_RAPPSLIST_ASYNCICON
int ScrnshotDownloadCallback(pASYNCINET AsyncInet, ASYNC_EVENT Event, WPARAM wParam, LPARAM lParam, VOID *Extension)
#define BROKENIMG_ICON_SIZE
struct __ScrnshotDownloadParam ScrnshotDownloadParam
HICON g_hDefaultPackageIcon
@ AppViewTypeInstalledApps
@ AppViewTypeAvailableApps
BOOL CreateListView(PMAIN_WND_INFO Info)
HIMAGELIST InitImageList(UINT StartResource, UINT EndResource, UINT Width, UINT Height, ULONG type)
#define IDS_APP_DISPLAY_DETAILS
#define IDS_APP_DISPLAY_LIST
#define IDS_APP_DISPLAY_TILE
static void OnGetDispInfo(NMLVDISPINFO *plvdi)
VOID OnCommand(WPARAM wParam, LPARAM lParam)
VOID ShowAppInfo(CAppInfo *Info)
BOOL ProcessWindowMessage(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT &theResult, DWORD dwMapId)
VOID OnLink(ENLINK *Link)
void SetWelcomeText(bool bAppwiz)
CAppScrnshotPreview * ScrnshotPrev
static ATL::CWndClassInfo & GetWndClassInfo()
VOID InsertTextWithString(UINT StringID, const CStringW &Text, DWORD TextFlags)
VOID LoadAndInsertText(UINT uStringID, const CStringW &szText, DWORD TextFlags)
float GetLoadingDotWidth(int width, int height)
VOID PreviousDisplayCleanup()
VOID SetStatus(SCRNSHOT_STATUS Status)
SCRNSHOT_STATUS ScrnshotPrevStauts
BOOL DisplayFile(LPCWSTR lpszFileName)
VOID PaintOnDC(HDC hdc, int width, int height, BOOL bDrawBkgnd)
BOOL ProcessWindowMessage(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT &theResult, DWORD dwMapId)
int LoadingAnimationFrame
float GetFrameDotShift(int Frame, int width, int height)
BOOL DisplayImage(LPCWSTR lpszLocation)
static ATL::CWndClassInfo & GetWndClassInfo()
int GetRequestedWidth(int Height)
void DeleteColumn(INT Index)
VOID ColumnClick(LPNMLISTVIEW pnmv)
BOOL SetViewMode(DWORD ViewMode)
void ShowCheckboxes(bool bShow)
VOID ItemCheckStateNotify(int iItem, BOOL bCheck)
HIMAGELIST m_hImageListView
HIMAGELIST GetImageList(int iImageList)
BOOL SetDisplayAppType(APPLICATION_VIEW_TYPE AppType)
APPLICATION_VIEW_TYPE ApplicationViewType
LRESULT OnEraseBackground(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
PVOID GetFocusedItemData()
BOOL GetCheckState(INT item)
VOID SetWatermark(const CStringW &Text)
VOID SetCheckState(INT item, BOOL fCheck)
LRESULT OnAsyncIcon(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
BOOL AddColumn(INT Index, CStringW &Text, INT Width, INT Format)
BOOL AddApplication(CAppInfo *AppInfo, BOOL InitialCheckState)
static INT CALLBACK s_CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
INT CompareFunc(LPARAM lParam1, LPARAM lParam2, INT iSubItem)
@ m_AppDisplayTypeDetails
const INT m_iToolbarHeight
static int OnCommand(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
HWND WINAPI CreateToolbar(HWND hwnd, DWORD style, UINT wID, INT nBitmaps, HINSTANCE hBMInst, UINT wBMID, LPCTBBUTTON lpButtons, INT iNumButtons)
static const WCHAR IconIndex[]
static VOID OnSize(HWND hDlg, PDETAILDATA pData, INT cx, INT cy)
_Inout_opt_ PUNICODE_STRING Extension
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
#define MESSAGE_HANDLER(msg, func)
#define BEGIN_MSG_MAP(theClass)
CStringW DownloadFileName
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_In_ HFONT _Out_ PUINT Height
static int Link(const char **args)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_In_ WDFCOLLECTION _In_ ULONG Index
WDF_EXTERN_C_START typedef _In_ WDFDEVICE _In_ WDFCONTEXT _In_ WDF_DMA_DIRECTION Direction