Cleanup: clang-format
This commit is contained in:
parent
316a5914bc
commit
523414dda2
|
@ -961,9 +961,9 @@ GHOST_EventButton *GHOST_SystemWin32::processButtonEvent(GHOST_TEventType type,
|
|||
}
|
||||
|
||||
GHOST_TSuccess GHOST_SystemWin32::processWintabEvent(GHOST_TEventType type,
|
||||
GHOST_WindowWin32 *window,
|
||||
GHOST_TButtonMask mask,
|
||||
bool mousePressed)
|
||||
GHOST_WindowWin32 *window,
|
||||
GHOST_TButtonMask mask,
|
||||
bool mousePressed)
|
||||
{
|
||||
GHOST_SystemWin32 *system = (GHOST_SystemWin32 *)getSystem();
|
||||
|
||||
|
@ -1169,7 +1169,8 @@ GHOST_EventCursor *GHOST_SystemWin32::processCursorEvent(GHOST_WindowWin32 *wind
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* If using Wintab but no button event is currently active, fall through to default handling. */
|
||||
/* If using Wintab but no button event is currently active,
|
||||
* fall through to default handling. */
|
||||
}
|
||||
|
||||
system->getCursorPosition(x_screen, y_screen);
|
||||
|
|
|
@ -329,9 +329,9 @@ class GHOST_SystemWin32 : public GHOST_System {
|
|||
* \return True if the method handled the event.
|
||||
*/
|
||||
static GHOST_TSuccess processWintabEvent(GHOST_TEventType type,
|
||||
GHOST_WindowWin32 *window,
|
||||
GHOST_TButtonMask mask,
|
||||
bool mousePressed);
|
||||
GHOST_WindowWin32 *window,
|
||||
GHOST_TButtonMask mask,
|
||||
bool mousePressed);
|
||||
|
||||
/**
|
||||
* Creates tablet events from pointer events.
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
# include "GHOST_ImeWin32.h"
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
|
||||
#include <wintab.h>
|
||||
// PACKETDATA and PACKETMODE modify structs in pktdef.h, so make sure they come first
|
||||
|
|
|
@ -999,8 +999,9 @@ static void sculpt_gesture_trim_normals_update(SculptGestureContext *sgcontext)
|
|||
|
||||
/* Get the origin and normal that are going to be used for calculating the depth and position the
|
||||
* trimming geometry. */
|
||||
static void sculpt_gesture_trim_shape_origin_normal_get(
|
||||
SculptGestureContext *sgcontext, float *r_origin, float *r_normal)
|
||||
static void sculpt_gesture_trim_shape_origin_normal_get(SculptGestureContext *sgcontext,
|
||||
float *r_origin,
|
||||
float *r_normal)
|
||||
{
|
||||
SculptGestureTrimOperation *trim_operation = (SculptGestureTrimOperation *)sgcontext->operation;
|
||||
/* Use the view origin and normal in world space. The trimming mesh coordinates are
|
||||
|
|
|
@ -3265,10 +3265,7 @@ static uiBlock *block_create__close_file_dialog(struct bContext *C,
|
|||
/* Modified Images Checkbox. */
|
||||
if (modified_images_count > 0) {
|
||||
char message[64];
|
||||
BLI_snprintf(message,
|
||||
sizeof(message),
|
||||
"Save %u modified image(s)",
|
||||
modified_images_count);
|
||||
BLI_snprintf(message, sizeof(message), "Save %u modified image(s)", modified_images_count);
|
||||
uiItemS(layout);
|
||||
uiDefButBitC(block,
|
||||
UI_BTYPE_CHECKBOX,
|
||||
|
|
Loading…
Reference in New Issue