Blender V4.3
GHOST_Wintab.hh 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.hh.

Macro Definition Documentation

◆ PACKETDATA

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

Definition at line 26 of file GHOST_Wintab.hh.

◆ PACKETMODE

#define PACKETMODE   0

Definition at line 28 of file GHOST_Wintab.hh.

◆ WINTAB_PRINTF

Typedef Documentation

◆ GHOST_WIN32_WTClose

typedef BOOL(API * GHOST_WIN32_WTClose) (HCTX)

Definition at line 54 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTEnable

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

Definition at line 58 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTGet

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

Definition at line 51 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTInfo

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

Definition at line 50 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTOpen

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

Definition at line 53 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTOverlap

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

Definition at line 59 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTPacketsGet

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

Definition at line 55 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTQueueSizeGet

typedef int(API * GHOST_WIN32_WTQueueSizeGet) (HCTX)

Definition at line 56 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTQueueSizeSet

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

Definition at line 57 of file GHOST_Wintab.hh.

◆ GHOST_WIN32_WTSet

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

Definition at line 52 of file GHOST_Wintab.hh.

◆ unique_hctx

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

Definition at line 63 of file GHOST_Wintab.hh.

◆ unique_hmodule

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

Definition at line 62 of file GHOST_Wintab.hh.