[Bf-blender-cvs] [ff27b12] input_method_editor: Cleanup: Whitespace, Comments, etc.

Severin noreply at git.blender.org
Mon Nov 24 00:45:49 CET 2014


Commit: ff27b12904b170e146065fe15734844a384a1ced
Author: Severin
Date:   Mon Nov 17 23:28:59 2014 +0100
Branches: input_method_editor
https://developer.blender.org/rBff27b12904b170e146065fe15734844a384a1ced

Cleanup: Whitespace, Comments, etc.

It may be a bit early to do such cleanups, there are more important things
to do first, but those things are extremely time consuming and I wanted to
get rid of them first ;)

===================================================================

M	intern/ghost/intern/GHOST_SystemWin32.cpp
M	intern/ghost/intern/GHOST_Window.h
M	intern/ghost/intern/GHOST_WindowWin32.h

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index 7359f87..bed5280 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -978,7 +978,10 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
 					eventManager->removeTypeEvents(GHOST_kEventKeyDown, window);
 					window->getImeInput()->CreateImeWindow(window->getHWND());
 					window->getImeInput()->ResetComposition(window->getHWND());
-					event = processImeEvent(GHOST_kEventImeCompositionStart, window, &window->getImeInput()->eventImeData);
+					event = processImeEvent(
+					        GHOST_kEventImeCompositionStart,
+					        window,
+					        &window->getImeInput()->eventImeData);
 					break;
 				}
 				case WM_IME_COMPOSITION:
@@ -986,7 +989,10 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
 					eventHandled = true;
 					window->getImeInput()->UpdateImeWindow(window->getHWND());
 					window->getImeInput()->UpdateInfo(window->getHWND());
-					event = processImeEvent(GHOST_kEventImeComposition, window, &window->getImeInput()->eventImeData);
+					event = processImeEvent(
+					        GHOST_kEventImeComposition,
+					        window,
+					        &window->getImeInput()->eventImeData);
 					break;
 				}
 				case WM_IME_ENDCOMPOSITION:
@@ -996,7 +1002,10 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
 					eventManager->removeTypeEvents(GHOST_kEventKeyDown, window);
 					window->getImeInput()->ResetComposition(window->getHWND());
 					window->getImeInput()->DestroyImeWindow(window->getHWND());
-					event = processImeEvent(GHOST_kEventImeCompositionEnd, window, &window->getImeInput()->eventImeData);
+					event = processImeEvent(
+					        GHOST_kEventImeCompositionEnd,
+					        window,
+					        &window->getImeInput()->eventImeData);
 					break;
 				}
 #endif /* WITH_INPUT_IME */
diff --git a/intern/ghost/intern/GHOST_Window.h b/intern/ghost/intern/GHOST_Window.h
index 9be8651..ac31c54 100644
--- a/intern/ghost/intern/GHOST_Window.h
+++ b/intern/ghost/intern/GHOST_Window.h
@@ -297,10 +297,10 @@ public:
 
 #ifdef WITH_INPUT_IME
 	virtual void beginIME(GHOST_TInt32 x,
-	                       GHOST_TInt32 y,
-	                       GHOST_TInt32 w,
-	                       GHOST_TInt32 h,
-	                       int completed)
+	                      GHOST_TInt32 y,
+	                      GHOST_TInt32 w,
+	                      GHOST_TInt32 h,
+	                      int completed)
 	{
 		/* do nothing temporarily if not in windows */
 	}
diff --git a/intern/ghost/intern/GHOST_WindowWin32.h b/intern/ghost/intern/GHOST_WindowWin32.h
index 9696a7c..91f18ad 100644
--- a/intern/ghost/intern/GHOST_WindowWin32.h
+++ b/intern/ghost/intern/GHOST_WindowWin32.h
@@ -260,10 +260,10 @@ public:
 	GHOST_ImeWin32 *getImeInput() {return &m_imeImput;}
 
 	virtual void beginIME(GHOST_TInt32 x,
-	                       GHOST_TInt32 y,
-	                       GHOST_TInt32 w,
-	                       GHOST_TInt32 h,
-	                       int completed);
+	                      GHOST_TInt32 y,
+	                      GHOST_TInt32 w,
+	                      GHOST_TInt32 h,
+	                      int completed);
 
 	virtual void endIME();
 #endif /* WITH_INPUT_IME */




More information about the Bf-blender-cvs mailing list