taskmgr: Make some functions static.
This commit is contained in:
parent
0ecc22be61
commit
c6643c6108
@ -507,7 +507,7 @@ void RefreshApplicationPage(void)
|
|||||||
SetEvent(hApplicationPageEvent);
|
SetEvent(hApplicationPageEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateApplicationListControlViewSetting(void)
|
static void UpdateApplicationListControlViewSetting(void)
|
||||||
{
|
{
|
||||||
DWORD dwStyle = GetWindowLong(hApplicationPageListCtrl, GWL_STYLE);
|
DWORD dwStyle = GetWindowLong(hApplicationPageListCtrl, GWL_STYLE);
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ TGraphCtrl::~TGraphCtrl(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void GraphCtrl_Resize(TGraphCtrl* this)
|
static void GraphCtrl_Resize(TGraphCtrl* this)
|
||||||
{
|
{
|
||||||
/* NOTE: Resize automatically gets called during the setup of the control */
|
/* NOTE: Resize automatically gets called during the setup of the control */
|
||||||
GetClientRect(this->m_hWnd, &this->m_rectClient);
|
GetClientRect(this->m_hWnd, &this->m_rectClient);
|
||||||
@ -165,7 +165,7 @@ BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphCtrl_InvalidateCtrl(TGraphCtrl* this)
|
static void GraphCtrl_InvalidateCtrl(TGraphCtrl* this)
|
||||||
{
|
{
|
||||||
/* There is a lot of drawing going on here - particularly in terms of */
|
/* There is a lot of drawing going on here - particularly in terms of */
|
||||||
/* drawing the grid. Don't panic, this is all being drawn (only once) */
|
/* drawing the grid. Don't panic, this is all being drawn (only once) */
|
||||||
@ -374,7 +374,7 @@ void GraphCtrl_SetBackgroundColor(TGraphCtrl* this, COLORREF color)
|
|||||||
GraphCtrl_InvalidateCtrl(this);
|
GraphCtrl_InvalidateCtrl(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphCtrl_DrawPoint(TGraphCtrl* this)
|
static void GraphCtrl_DrawPoint(TGraphCtrl* this)
|
||||||
{
|
{
|
||||||
/* this does the work of "scrolling" the plot to the left
|
/* this does the work of "scrolling" the plot to the left
|
||||||
* and appending a new data point all of the plotting is
|
* and appending a new data point all of the plotting is
|
||||||
@ -477,7 +477,7 @@ double GraphCtrl_AppendPoint(TGraphCtrl* this,
|
|||||||
return dPrevious;
|
return dPrevious;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphCtrl_Paint(TGraphCtrl* this, HWND hWnd, HDC dc)
|
static void GraphCtrl_Paint(TGraphCtrl* this, HWND hWnd, HDC dc)
|
||||||
{
|
{
|
||||||
HDC memDC;
|
HDC memDC;
|
||||||
HBITMAP memBitmap;
|
HBITMAP memBitmap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user