Explorar o código

Added WindowICCProfChange event.

Brucey %!s(int64=3) %!d(string=hai) anos
pai
achega
7d8ce8b226
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  1. 2 0
      event.mod/event.bmx
  2. 1 0
      event.mod/event.h

+ 2 - 0
event.mod/event.bmx

@@ -194,6 +194,7 @@ Const EVENT_WINDOWMINIMIZE:Int=$4006
 Const EVENT_WINDOWMAXIMIZE:Int=$4007
 Const EVENT_WINDOWRESTORE:Int=$4008
 Const EVENT_WINDOWDISPLAYCHANGE:Int=$4009
+Const EVENT_WINDOWICCPROFCHANGE:Int=$400A
 Const EVENT_DISPLAYORIENTATION:Int=$4020
 Const EVENT_DISPLAYCONNECT:Int=$4021
 Const EVENT_DISPLAYDISCONNECT:Int=$4022
@@ -246,6 +247,7 @@ TEvent.RegisterId EVENT_WINDOWMINIMIZE,"WindowMinimize"
 TEvent.RegisterId EVENT_WINDOWMAXIMIZE,"WindowMaximize"
 TEvent.RegisterId EVENT_WINDOWRESTORE,"WindowRestore"
 TEvent.RegisterId EVENT_WINDOWDISPLAYCHANGE,"WindowDisplayChange"
+TEvent.RegisterId EVENT_WINDOWICCPROFCHANGE,"WindowICCProfChange"
 TEvent.RegisterId EVENT_DISPLAYORIENTATION,"DisplayOrientation"
 TEvent.RegisterId EVENT_DISPLAYCONNECT,"DisplayConnect"
 TEvent.RegisterId EVENT_DISPLAYDISCONNECT,"DisplayDisconnect"

+ 1 - 0
event.mod/event.h

@@ -51,6 +51,7 @@ enum{
 	BBEVENT_WINDOWMAXIMIZE=0x4007,
 	BBEVENT_WINDOWRESTORE=0x4008,
 	BBEVENT_WINDOWDISPLAYCHANGE=0x4009,
+	BBEVENT_WINDOWICCPROFCHANGE=0x400A,
 	BBEVENT_DISPLAYORIENTATION=0x4020,
 	BBEVENT_DISPLAYCONNECT=0x4021,
 	BBEVENT_DISPLAYDISCONNECT=0x4022,