ReactOS  0.4.13-dev-235-g7373cb3
gui.h File Reference
#include <windef.h>
#include <atlstr.h>
Include dependency graph for gui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

HWND CreateMainWindow ()
 
DWORD_PTR ListViewGetlParam (INT item)
 
INT ListViewAddItem (INT ItemIndex, INT IconIndex, LPWSTR lpName, LPARAM lParam)
 
VOID SetStatusBarText (LPCWSTR szText)
 
VOID NewRichEditText (LPCWSTR szText, DWORD flags)
 
VOID InsertRichEditText (LPCWSTR szText, DWORD flags)
 
VOID SetStatusBarText (const ATL::CStringW &szText)
 
INT ListViewAddItem (INT ItemIndex, INT IconIndex, const ATL::CStringW &Name, LPARAM lParam)
 
VOID NewRichEditText (const ATL::CStringW &szText, DWORD flags)
 
VOID InsertRichEditText (const ATL::CStringW &szText, DWORD flags)
 
CAvailableAppsGetAvailableApps ()
 

Variables

HWND hListView
 
ATL::CStringW szSearchPattern
 

Function Documentation

◆ CreateMainWindow()

HWND CreateMainWindow ( )

Definition at line 1772 of file gui.cpp.

1773 {
1774  g_MainWindow = new CMainWindow();
1775  return g_MainWindow->Create();
1776 }
CMainWindow * g_MainWindow
Definition: gui.cpp:1770
HWND Create()
Definition: gui.cpp:1731

◆ GetAvailableApps()

CAvailableApps* GetAvailableApps ( )

Definition at line 1807 of file gui.cpp.

1808 {
1809  return g_MainWindow->GetAvailableApps();
1810 }
CMainWindow * g_MainWindow
Definition: gui.cpp:1770
CAvailableApps * GetAvailableApps()
Definition: gui.cpp:1763

◆ InsertRichEditText() [1/2]

VOID InsertRichEditText ( LPCWSTR  szText,
DWORD  flags 
)

Definition at line 1802 of file gui.cpp.

1803 {
1805 }
CMainWindow * g_MainWindow
Definition: gui.cpp:1770
static const WCHAR szText[]
Definition: dialog.c:139
CRichEdit * GetRichEdit()
Definition: gui.cpp:1758
GLbitfield flags
Definition: glext.h:7161
VOID InsertText(LPCWSTR lpszText, DWORD dwEffects)
Definition: crichedit.h:72

Referenced by CAvailableAppView::InsertLanguageInfo_RichEdit(), CAvailableAppView::InsertLoadedTextNewl_RichEdit(), InsertRichEditText(), CAvailableAppView::InsertTextAfterLoaded_RichEdit(), SetWelcomeText(), and ShowInstalledAppInfo().

◆ InsertRichEditText() [2/2]

VOID InsertRichEditText ( const ATL::CStringW szText,
DWORD  flags 
)

Definition at line 1828 of file gui.cpp.

1829 {
1830  InsertRichEditText(szText.GetString(), flags);
1831 }
static const WCHAR szText[]
Definition: dialog.c:139
GLbitfield flags
Definition: glext.h:7161
VOID InsertRichEditText(LPCWSTR szText, DWORD flags)
Definition: gui.cpp:1802

◆ ListViewAddItem() [1/2]

INT ListViewAddItem ( INT  ItemIndex,
INT  IconIndex,
LPWSTR  lpName,
LPARAM  lParam 
)

Definition at line 1792 of file gui.cpp.

1793 {
1794  return g_MainWindow->GetListView()->AddItem(ItemIndex, IconIndex, lpName, lParam);
1795 }
CMainWindow * g_MainWindow
Definition: gui.cpp:1770
_In_ LPCSTR lpName
Definition: winbase.h:2729
static const WCHAR IconIndex[]
Definition: install.c:51
CAppsListView * GetListView()
Definition: gui.cpp:1753
INT AddItem(INT ItemIndex, INT IconIndex, LPWSTR lpText, LPARAM lParam)
Definition: gui.cpp:503
LPARAM lParam
Definition: combotst.c:139

Referenced by ListViewAddItem(), CMainWindow::s_EnumAvailableAppProc(), and CMainWindow::s_EnumInstalledAppProc().

◆ ListViewAddItem() [2/2]

INT ListViewAddItem ( INT  ItemIndex,
INT  IconIndex,
const ATL::CStringW Name,
LPARAM  lParam 
)

Definition at line 1818 of file gui.cpp.

1819 {
1820  return ListViewAddItem(ItemIndex, IconIndex, const_cast<LPWSTR>(Name.GetString()), lParam);
1821 }
INT ListViewAddItem(INT ItemIndex, INT IconIndex, LPWSTR lpName, LPARAM lParam)
Definition: gui.cpp:1792
static const WCHAR IconIndex[]
Definition: install.c:51
LPARAM lParam
Definition: combotst.c:139

◆ ListViewGetlParam()

DWORD_PTR ListViewGetlParam ( INT  item)

Definition at line 1778 of file gui.cpp.

1779 {
1780  if (item < 0)
1781  {
1783  }
1785 }
DWORD_PTR GetItemData(int i)
Definition: rosctrls.h:191
int GetSelectionMark()
Definition: rosctrls.h:156
CMainWindow * g_MainWindow
Definition: gui.cpp:1770
static ATOM item
Definition: dde.c:856
CAppsListView * GetListView()
Definition: gui.cpp:1753

Referenced by CMainWindow::FreeInstalledAppList(), RemoveAppFromRegistry(), CAvailableAppView::ShowAvailableAppInfo(), and ShowInstalledAppInfo().

◆ NewRichEditText() [1/2]

VOID NewRichEditText ( LPCWSTR  szText,
DWORD  flags 
)

Definition at line 1797 of file gui.cpp.

1798 {
1800 }
CMainWindow * g_MainWindow
Definition: gui.cpp:1770
static const WCHAR szText[]
Definition: dialog.c:139
CRichEdit * GetRichEdit()
Definition: gui.cpp:1758
GLbitfield flags
Definition: glext.h:7161
VOID SetText(LPCWSTR lpszText, DWORD dwEffects)
Definition: crichedit.h:84

Referenced by NewRichEditText(), SetWelcomeText(), CAvailableAppView::ShowAvailableAppInfo(), and ShowInstalledAppInfo().

◆ NewRichEditText() [2/2]

VOID NewRichEditText ( const ATL::CStringW szText,
DWORD  flags 
)

Definition at line 1823 of file gui.cpp.

1824 {
1825  NewRichEditText(szText.GetString(), flags);
1826 }
VOID NewRichEditText(LPCWSTR szText, DWORD flags)
Definition: gui.cpp:1797
static const WCHAR szText[]
Definition: dialog.c:139
GLbitfield flags
Definition: glext.h:7161

◆ SetStatusBarText() [1/2]

VOID SetStatusBarText ( LPCWSTR  szText)

Definition at line 1787 of file gui.cpp.

1788 {
1790 }
CMainWindow * g_MainWindow
Definition: gui.cpp:1770
CStatusBar * GetStatusBar()
Definition: gui.cpp:1748
static const WCHAR szText[]
Definition: dialog.c:139
VOID SetText(LPCWSTR lpszText)
Definition: rosctrls.h:437

Referenced by SetStatusBarText().

◆ SetStatusBarText() [2/2]

VOID SetStatusBarText ( const ATL::CStringW szText)

Definition at line 1813 of file gui.cpp.

1814 {
1815  SetStatusBarText(szText.GetString());
1816 }
VOID SetStatusBarText(LPCWSTR szText)
Definition: gui.cpp:1787
static const WCHAR szText[]
Definition: dialog.c:139

Variable Documentation

◆ hListView

◆ szSearchPattern