Move tablet driver API from OS to DisplayServer.
This commit is contained in:
parent
5c2fe970b8
commit
3e0262509f
13 changed files with 162 additions and 185 deletions
|
|
@ -264,7 +264,6 @@ class DisplayServerWindows : public DisplayServer {
|
|||
|
||||
_THREAD_SAFE_CLASS_
|
||||
|
||||
public:
|
||||
// WinTab API
|
||||
static bool wintab_available;
|
||||
static WTOpenPtr wintab_WTOpen;
|
||||
|
|
@ -279,8 +278,9 @@ public:
|
|||
static GetPointerPenInfoPtr win8p_GetPointerPenInfo;
|
||||
|
||||
void _update_tablet_ctx(const String &p_old_driver, const String &p_new_driver);
|
||||
String tablet_driver;
|
||||
Vector<String> tablet_drivers;
|
||||
|
||||
private:
|
||||
void GetMaskBitmaps(HBITMAP hSourceBitmap, COLORREF clrTransparent, OUT HBITMAP &hAndMaskBitmap, OUT HBITMAP &hXorMaskBitmap);
|
||||
|
||||
enum {
|
||||
|
|
@ -542,6 +542,11 @@ public:
|
|||
virtual String keyboard_get_layout_language(int p_index) const;
|
||||
virtual String keyboard_get_layout_name(int p_index) const;
|
||||
|
||||
virtual int tablet_get_driver_count() const;
|
||||
virtual String tablet_get_driver_name(int p_driver) const;
|
||||
virtual String tablet_get_current_driver() const;
|
||||
virtual void tablet_set_current_driver(const String &p_driver);
|
||||
|
||||
virtual void process_events();
|
||||
|
||||
virtual void force_process_and_drop_events();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue