From ae573836483d6acc56761918336cb8d2b0486d08 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 2 Sep 2018 18:28:27 +1000 Subject: Cleanup: comment blocks --- intern/ghost/intern/GHOST_Context.h | 7 ++++--- intern/ghost/intern/GHOST_DropTargetWin32.cpp | 4 ++-- intern/ghost/intern/GHOST_System.h | 11 +++++++---- intern/ghost/intern/GHOST_SystemWin32.cpp | 6 +++--- intern/ghost/intern/GHOST_SystemX11.h | 2 +- intern/ghost/intern/GHOST_Window.h | 6 +++--- 6 files changed, 20 insertions(+), 16 deletions(-) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_Context.h b/intern/ghost/intern/GHOST_Context.h index 670b86d456f..327ecd4b245 100644 --- a/intern/ghost/intern/GHOST_Context.h +++ b/intern/ghost/intern/GHOST_Context.h @@ -117,9 +117,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; diff --git a/intern/ghost/intern/GHOST_DropTargetWin32.cpp b/intern/ghost/intern/GHOST_DropTargetWin32.cpp index de12dfad815..72463b456c6 100644 --- a/intern/ghost/intern/GHOST_DropTargetWin32.cpp +++ b/intern/ghost/intern/GHOST_DropTargetWin32.cpp @@ -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) diff --git a/intern/ghost/intern/GHOST_System.h b/intern/ghost/intern/GHOST_System.h index 2fd8603516d..464d9269f28 100644 --- a/intern/ghost/intern/GHOST_System.h +++ b/intern/ghost/intern/GHOST_System.h @@ -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 + *
+	 * GHOST_TSuccess getCursorPosition(GHOST_TInt32& x, GHOST_TInt32& y) const = 0;
+	 * GHOST_TSuccess setCursorPosition(GHOST_TInt32 x, GHOST_TInt32 y)
+	 * 
*/ /*************************************************************************************** diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index 99fa5026c03..bcf7d4e587a 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -1446,9 +1446,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); diff --git a/intern/ghost/intern/GHOST_SystemX11.h b/intern/ghost/intern/GHOST_SystemX11.h index 4564bebe4fc..ec6da53631d 100644 --- a/intern/ghost/intern/GHOST_SystemX11.h +++ b/intern/ghost/intern/GHOST_SystemX11.h @@ -397,7 +397,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 */ diff --git a/intern/ghost/intern/GHOST_Window.h b/intern/ghost/intern/GHOST_Window.h index e6a4682ee7c..59d3123b9de 100644 --- a/intern/ghost/intern/GHOST_Window.h +++ b/intern/ghost/intern/GHOST_Window.h @@ -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; -- cgit v1.2.3