瀏覽代碼

Added EVENT_DISPLAYMOVED event.

Brucey 2 年之前
父節點
當前提交
e0c9496532
共有 2 個文件被更改,包括 6 次插入1 次删除
  1. 5 1
      event.mod/event.bmx
  2. 1 0
      event.mod/event.h

+ 5 - 1
event.mod/event.bmx

@@ -6,12 +6,14 @@ bbdoc: Events/Events
 End Rem
 Module BRL.Event
 
-ModuleInfo "Version: 1.07"
+ModuleInfo "Version: 1.08"
 ModuleInfo "Author: Mark Sibly, Bruce A Henderson"
 ModuleInfo "License: zlib/libpng"
 ModuleInfo "Copyright: Blitz Research Ltd"
 ModuleInfo "Modserver: BRL"
 
+ModuleInfo "History: 1.08"
+ModuleInfo "History: Added EVENT_DISPLAYMOVED."
 ModuleInfo "History: 1.07"
 ModuleInfo "History: Removed event pool."
 ModuleInfo "History: 1.06"
@@ -198,6 +200,7 @@ Const EVENT_WINDOWICCPROFCHANGE:Int=$400A
 Const EVENT_DISPLAYORIENTATION:Int=$4020
 Const EVENT_DISPLAYCONNECT:Int=$4021
 Const EVENT_DISPLAYDISCONNECT:Int=$4022
+Const EVENT_DISPLAYMOVED:Int=$4023
 Const EVENT_MENUMASK:Int=$8000
 Const EVENT_MENUACTION:Int=$8001
 Const EVENT_STREAMMASK:Int=$10000
@@ -251,6 +254,7 @@ TEvent.RegisterId EVENT_WINDOWICCPROFCHANGE,"WindowICCProfChange"
 TEvent.RegisterId EVENT_DISPLAYORIENTATION,"DisplayOrientation"
 TEvent.RegisterId EVENT_DISPLAYCONNECT,"DisplayConnect"
 TEvent.RegisterId EVENT_DISPLAYDISCONNECT,"DisplayDisconnect"
+TEvent.RegisterId EVENT_DISPLAYMOVED,"DisplayMoved"
 TEvent.RegisterId EVENT_MENUACTION,"MenuAction"
 TEvent.RegisterId EVENT_STREAMEOF,"StreamEof"
 TEvent.RegisterId EVENT_STREAMAVAIL,"StreamAvail"

+ 1 - 0
event.mod/event.h

@@ -55,6 +55,7 @@ enum{
 	BBEVENT_DISPLAYORIENTATION=0x4020,
 	BBEVENT_DISPLAYCONNECT=0x4021,
 	BBEVENT_DISPLAYDISCONNECT=0x4022,
+	BBEVENT_DISPLAYMOVED=0x4023,
 
 	BBEVENT_MENUMASK=0x8000,
 	BBEVENT_MENUACTION=0x8001,