mirror of https://github.com/aseprite/aseprite.git
				
				
				
			she_alleg4: Define unique_display and display_scale on all platforms
This commit is contained in:
		
							parent
							
								
									bc32c18dbb
								
							
						
					
					
						commit
						019c7c9f1f
					
				|  | @ -173,13 +173,15 @@ private: | ||||||
|   base::concurrent_queue<Event> m_events; |   base::concurrent_queue<Event> m_events; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| #if WIN32 |  | ||||||
| namespace { | namespace { | ||||||
| 
 | 
 | ||||||
| Display* unique_display = NULL; | Display* unique_display = NULL; | ||||||
|  | int display_scale; | ||||||
|  | 
 | ||||||
|  | #if WIN32 | ||||||
|  | 
 | ||||||
| wndproc_t base_wndproc = NULL; | wndproc_t base_wndproc = NULL; | ||||||
| bool display_has_mouse = false; | bool display_has_mouse = false; | ||||||
| int display_scale; |  | ||||||
| 
 | 
 | ||||||
| static void queue_event(Event& ev) | static void queue_event(Event& ev) | ||||||
| { | { | ||||||
|  | @ -329,8 +331,8 @@ void unsubclass_hwnd(HWND hwnd) | ||||||
|   base_wndproc = NULL; |   base_wndproc = NULL; | ||||||
| } | } | ||||||
|    |    | ||||||
| } |  | ||||||
| #endif | #endif | ||||||
|  | } // anonymous namespace
 | ||||||
| 
 | 
 | ||||||
| class Alleg4Display : public Display { | class Alleg4Display : public Display { | ||||||
| public: | public: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue