Ultralight  1.0.0
A fast, lightweight, HTML UI engine for native apps.
Monitor.h
Go to the documentation of this file.
1 #pragma once
15 #include "Defines.h"
16 
17 namespace ultralight {
18 
22 class AExport Monitor {
23 public:
24  virtual ~Monitor() {}
25 
29  virtual double scale() const = 0;
30 
34  virtual int width() const = 0;
35 
38  virtual int height() const = 0;
39 };
40 
41 } // namespace ultralight
This is a set of common JavaScriptCore Helper functions to simplify sample code.
Definition: App.h:19
Monitor class, represents a platform monitor.
Definition: Monitor.h:22