mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 09:01:46 +00:00
Added changelog entry to readme
This commit is contained in:
parent
a480de9b1d
commit
e387ef3fdf
@ -121,6 +121,7 @@ information on what to include when reporting a bug.
|
||||
|
||||
## Changelog
|
||||
|
||||
- Added `glfwSetWindowTaskbarProgress` allowing to display progress on the taskbar (#2286,#1183)
|
||||
- Added `GLFW_PLATFORM` init hint for runtime platform selection (#1958)
|
||||
- Added `GLFW_ANY_PLATFORM`, `GLFW_PLATFORM_WIN32`, `GLFW_PLATFORM_COCOA`,
|
||||
`GLFW_PLATFORM_WAYLAND`, `GLFW_PLATFORM_X11` and `GLFW_PLATFORM_NULL` symbols to
|
||||
|
@ -1620,20 +1620,20 @@ void _glfwSetWindowTaskbarProgressWin32(_GLFWwindow* window, const int progressS
|
||||
switch(progressState)
|
||||
{
|
||||
case 1:
|
||||
winProgressState = 0x1;
|
||||
winProgressState = TBPF_INDETERMINATE;
|
||||
break;
|
||||
case 2:
|
||||
winProgressState = 0x2;
|
||||
winProgressState = TBPF_NORMAL;
|
||||
break;
|
||||
case 3:
|
||||
winProgressState = 0x4;
|
||||
winProgressState = TBPF_ERROR;
|
||||
break;
|
||||
case 4:
|
||||
winProgressState = 0x8;
|
||||
winProgressState = TBPF_PAUSED;
|
||||
break;
|
||||
case 0:
|
||||
|
||||
default:
|
||||
winProgressState = 0x0;
|
||||
winProgressState = TBPF_NOPROGRESS;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user