aboutsummaryrefslogtreecommitdiffstats
path: root/src/systemtime.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-03-05Unify header files (so far most)Mattias Andrée1-27/+0
Signed-off-by: Mattias Andrée <m@maandree.se>
2014-12-28systemtime: Add function wrapping platform sleep functionJon Lund Steffensen1-0/+1
Adds systemtime_msleep() which sleeps for a number of milliseconds. This wraps Sleep() on windows and usleep() on other platforms.
2014-12-28systemtime: Fix includes and check for _POSIX_TIMERSJon Lund Steffensen1-7/+1
Fix missing include of windows.h on windows platform. Change check for _POSIX_TIMERS to check that it is greater than 0. On OS X, the POSIX timers are not available and _POSIX_TIMERS is -1.
2014-03-23Fix #22: remove initial underscore from include guardsJon Lund Steffensen1-3/+3
2010-05-06systemtime.c: Portably read current time on posix and windows.Jon Lund Steffensen1-7/+11
w32gdi.c: Implements gamma ramp method for Windows GDI API. Use double as a cross platform time representation. Add WinGDI as a selectable method (currently limitied to minimum 4500K). Fix a bug where redshift would crash if RANDR failed and VidMode wasn't compiled in.
2010-02-02Add gettext support in redshift.Jon Lund Steffensen1-1/+1
2009-12-23Move source and headers to src dir.Jon Lund Steffensen1-0/+0
2009-12-23Move RandR code to separate file.Jon Lund Steffensen1-6/+8
2009-11-04Add COPYING file (GPLv3).Jon Lund Steffensen1-1/+18
Add copyright and license in file headers.
2009-11-04Allow individual adjustment of each gamma channel.Jon Lund Steffensen1-1/+1