Cleanup: comment blocks

This commit is contained in:
Campbell Barton
2018-09-02 18:51:31 +10:00
parent 8a3b548cb2
commit 0ddf3e110e
85 changed files with 570 additions and 540 deletions

View File

@@ -112,9 +112,10 @@ public:
return GHOST_kFailure;
}
/** Stereo visual created. Only necessary for 'real' stereo support,
* ie quad buffered stereo. This is not always possible, depends on
* the graphics h/w
/**
* Stereo visual created. Only necessary for 'real' stereo support,
* ie quad buffered stereo. This is not always possible, depends on
* the graphics h/w
*/
inline bool isStereoVisual() const {
return m_stereoVisual;

View File

@@ -60,7 +60,7 @@ GHOST_DropTargetWin32::~GHOST_DropTargetWin32()
/*
* IUnknown::QueryInterface
* IUnknown::QueryInterface
*/
HRESULT __stdcall GHOST_DropTargetWin32::QueryInterface(REFIID riid, void **ppvObj)
{
@@ -82,7 +82,7 @@ HRESULT __stdcall GHOST_DropTargetWin32::QueryInterface(REFIID riid, void **ppvO
/*
* IUnknown::AddRef
* IUnknown::AddRef
*/
ULONG __stdcall GHOST_DropTargetWin32::AddRef(void)

View File

@@ -184,7 +184,7 @@ public:
/**
* Inherited from GHOST_ISystem but left pure virtual
*
* virtual bool processEvents(bool waitForEvent) = 0;
* virtual bool processEvents(bool waitForEvent) = 0;
*/
@@ -213,9 +213,12 @@ public:
* Cursor management functionality
***************************************************************************************/
/** Inherited from GHOST_ISystem but left pure virtual
* GHOST_TSuccess getCursorPosition(GHOST_TInt32& x, GHOST_TInt32& y) const = 0;
* GHOST_TSuccess setCursorPosition(GHOST_TInt32 x, GHOST_TInt32 y)
/**
* Inherited from GHOST_ISystem but left pure virtual
* <pre>
* GHOST_TSuccess getCursorPosition(GHOST_TInt32& x, GHOST_TInt32& y) const = 0;
* GHOST_TSuccess setCursorPosition(GHOST_TInt32 x, GHOST_TInt32 y)
* </pre>
*/
/***************************************************************************************

View File

@@ -1332,9 +1332,9 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
break;
case WM_DPICHANGED:
/* The WM_DPICHANGED message is sent when the effective dots per inch (dpi) for a window has changed.
* The DPI is the scale factor for a window. There are multiple events that can cause the DPI to
* change such as when the window is moved to a monitor with a different DPI.
*/
* The DPI is the scale factor for a window. There are multiple events that can cause the DPI to
* change such as when the window is moved to a monitor with a different DPI.
*/
{
WORD newYAxisDPI = HIWORD(wParam);
WORD newXAxisDPI = LOWORD(wParam);

View File

@@ -377,7 +377,7 @@ private:
char m_keyboard_vector[32];
/* to prevent multiple warp, we store the time of the last warp event
* and stop accumulating all events generated before that */
* and stop accumulating all events generated before that */
Time m_last_warp;
/* detect autorepeat glitch */

View File

@@ -296,9 +296,9 @@ public:
}
/**
* Returns the recommended DPI for this window.
* \return The recommended DPI for this window.
*/
* Returns the recommended DPI for this window.
* \return The recommended DPI for this window.
*/
virtual inline GHOST_TUns16 getDPIHint()
{
return 96;