Blender  V3.3
Classes | Macros | Typedefs
GHOST_Wintab.h File Reference
#include <memory>
#include <stdio.h>
#include <vector>
#include <wtypes.h>
#include "GHOST_Types.h"
#include <wintab.h>
#include <pktdef.h>

Go to the source code of this file.

Classes

struct  GHOST_WintabInfoWin32
 
class  GHOST_Wintab
 

Macros

#define PACKETDATA    (PK_BUTTONS | PK_NORMAL_PRESSURE | PK_ORIENTATION | PK_CURSOR | PK_X | PK_Y | PK_TIME)
 
#define PACKETMODE   0
 
#define WINTAB_PRINTF(x, ...)
 

Typedefs

typedef UINT(API * GHOST_WIN32_WTInfo) (UINT, UINT, LPVOID)
 
typedef BOOL(API * GHOST_WIN32_WTGet) (HCTX, LPLOGCONTEXTA)
 
typedef BOOL(API * GHOST_WIN32_WTSet) (HCTX, LPLOGCONTEXTA)
 
typedef HCTX(API * GHOST_WIN32_WTOpen) (HWND, LPLOGCONTEXTA, BOOL)
 
typedef BOOL(API * GHOST_WIN32_WTClose) (HCTX)
 
typedef int(API * GHOST_WIN32_WTPacketsGet) (HCTX, int, LPVOID)
 
typedef int(API * GHOST_WIN32_WTQueueSizeGet) (HCTX)
 
typedef BOOL(API * GHOST_WIN32_WTQueueSizeSet) (HCTX, int)
 
typedef BOOL(API * GHOST_WIN32_WTEnable) (HCTX, BOOL)
 
typedef BOOL(API * GHOST_WIN32_WTOverlap) (HCTX, BOOL)
 
typedef std::unique_ptr< std::remove_pointer_t< HMODULE >, decltype(&::FreeLibrary)> unique_hmodule
 
typedef std::unique_ptr< std::remove_pointer_t< HCTX >, GHOST_WIN32_WTCloseunique_hctx
 

Detailed Description

Declaration of GHOST_WintabWin32 class.

Definition in file GHOST_Wintab.h.

Macro Definition Documentation

◆ PACKETDATA

#define PACKETDATA    (PK_BUTTONS | PK_NORMAL_PRESSURE | PK_ORIENTATION | PK_CURSOR | PK_X | PK_Y | PK_TIME)

Definition at line 24 of file GHOST_Wintab.h.

◆ PACKETMODE

#define PACKETMODE   0

Definition at line 26 of file GHOST_Wintab.h.

◆ WINTAB_PRINTF

#define WINTAB_PRINTF (   x,
  ... 
)
Value:
{ \
printf(x, __VA_ARGS__); \
} \
} \
(void)0
static bool getDebug()
SyclQueue void void size_t num_bytes void

Definition at line 29 of file GHOST_Wintab.h.

Typedef Documentation

◆ GHOST_WIN32_WTClose

typedef BOOL(API * GHOST_WIN32_WTClose) (HCTX)

Definition at line 42 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTEnable

typedef BOOL(API * GHOST_WIN32_WTEnable) (HCTX, BOOL)

Definition at line 46 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTGet

typedef BOOL(API * GHOST_WIN32_WTGet) (HCTX, LPLOGCONTEXTA)

Definition at line 39 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTInfo

typedef UINT(API * GHOST_WIN32_WTInfo) (UINT, UINT, LPVOID)

Definition at line 38 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTOpen

typedef HCTX(API * GHOST_WIN32_WTOpen) (HWND, LPLOGCONTEXTA, BOOL)

Definition at line 41 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTOverlap

typedef BOOL(API * GHOST_WIN32_WTOverlap) (HCTX, BOOL)

Definition at line 47 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTPacketsGet

typedef int(API * GHOST_WIN32_WTPacketsGet) (HCTX, int, LPVOID)

Definition at line 43 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTQueueSizeGet

typedef int(API * GHOST_WIN32_WTQueueSizeGet) (HCTX)

Definition at line 44 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTQueueSizeSet

typedef BOOL(API * GHOST_WIN32_WTQueueSizeSet) (HCTX, int)

Definition at line 45 of file GHOST_Wintab.h.

◆ GHOST_WIN32_WTSet

typedef BOOL(API * GHOST_WIN32_WTSet) (HCTX, LPLOGCONTEXTA)

Definition at line 40 of file GHOST_Wintab.h.

◆ unique_hctx

typedef std::unique_ptr<std::remove_pointer_t<HCTX>, GHOST_WIN32_WTClose> unique_hctx

Definition at line 51 of file GHOST_Wintab.h.

◆ unique_hmodule

typedef std::unique_ptr<std::remove_pointer_t<HMODULE>, decltype(&::FreeLibrary)> unique_hmodule

Definition at line 50 of file GHOST_Wintab.h.