summaryrefslogtreecommitdiff
path: root/src/video/cocoa/cocoa_v.h
AgeCommit message (Collapse)Author
2021-02-13Cleanup: [OSX] Improve some comments.Michael Lutz
2021-02-13Codechange: [OSX] Remove unused 'app active' flag.Michael Lutz
2021-02-13Cleanup: [OSX] Move event loop into video driver file.Michael Lutz
2021-02-13Codechange: [OSX] Move mouse event handling to our NSView.Michael Lutz
2021-02-13Codechange: [OSX] Move some things from video driver to our NSView.Michael Lutz
2021-02-13Codechange: [OSX] Split Window and back buffer creation in Cocoa video driver.Michael Lutz
2021-02-13Cleanup: [OSX] Doxygen comment style in video driver.Michael Lutz
2021-02-13Codechange: [OSX] Inline some functions that are used in only one place.Michael Lutz
2021-02-13Codechange: [OSX] Replace #define with modern code.Michael Lutz
2021-02-13Codechange: [OSX] Fold remaining Cocoa video subdriver into the main driver.Michael Lutz
2021-02-13Change: [OSX] Replace screen resolution list with suggested window sizes.Michael Lutz
We never change the real screen resolution on OSX. As such, offering a list of resolutions is pointless. Instead of that, offer the user a list of commonly used window sizes up to the current screen size.
2021-02-13Codechange: [OSX] There is only one subdriver left, remove virtual dispatch.Michael Lutz
2021-01-14Feature: Choose a sensible window size on a fresh OTTD config file. (#8536)Michael Lutz
2021-01-03Revert 4ce53cb8: [OSX] Delayed fullscreen switch is not needed anymore.Michael Lutz
The fix for #8067 solves the real issue, making this workaround unneeded.
2021-01-03Fix: [OSX] Quitting in fullscreen mode would loose the original window size.Michael Lutz
This replicates the behaviour on e.g. Windows, which saves the original window size.
2021-01-03Change: [OSX] Hide Dock and menu during fullscreen mode.Michael Lutz
2021-01-03Cleanup: [OSX] Remove cargo cult back-buffer alpha setting on show/hide and ↵Michael Lutz
instead simply initialise the buffer on allocation.
2021-01-03Change: [OSX] Compiling the Cocoa/Quartz video driver cannot be disabled ↵Michael Lutz
anymore.
2021-01-03Codechange: [OSX] Re-arrange the OSX video driver code by combining all ↵Michael Lutz
drawing code and moving the window/event handling to a different file. This is just a code move/rename, not a functionality change.
2020-05-21Codechange: Use std::string in the driver and blitter selection code.Michael Lutz
2020-04-12Remove: [OSX] Stuff that is pre-10.7 from the Cocoa/Quartz video driver.Michael Lutz
2020-04-12Remove: [OSX] Old fullscreen subdriver for pre 10.7 systems.Michael Lutz
Since the move to C++11, building for pre 10.7 is not possible with the native Apple tools. Also, due to bitrot, the file doesn't even compile anymore. While this could be fixed, it shows that this subdriver is basically never used anymore.
2020-04-12Remove: [OSX] QuickDraw video subdriver used for OSX versions up to 10.4.Michael Lutz
Since the C++11 move, getting OpenTTD to compile and run for anything below 10.7 basically requires building a custom compiler and libc++. Also, the QuickDraw subdriver crashes on more modern OSX version. While this is fixable, keeping the driver around is probably pointless.
2020-03-30Fix #7644: [Cocoa] Manually set colorspace to sRGBSebastian Pauka
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-16Change: [OSX] Recreate backing store if the colour profile of the screen (or ↵Michael Lutz
the screen) the game window is one changes. This will result in changing colours if moving OpenTTD from one screen to another, but should avoid performance problems if the window is moved.
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2018-04-10Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers.Michael Lutz
2013-11-25(svn r26108) -Codechange: some coding style (whitespace)rubidium
2013-11-25(svn r26107) -Codechange/cleanup: remove some coding bloat and simplify the ↵rubidium
driver factory instatiations
2013-08-05(svn r25693) -Add: [OSX] Support the new IME functions introduced with 10.5.michi_cc
2013-08-05(svn r25688) -Codechange: [OSX] Make our view aware of text input by IMEs.michi_cc
2013-08-05(svn r25686) -Codechange: [OSX] Abandon IME input if the edit box lost the ↵michi_cc
focus.
2013-08-05(svn r25655) -Fix: [OSX] Mouse cursor wasn't displayed properly after ↵michi_cc
switching to fullscreen on 10.7+. (Based on patch by Maedhros)
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2011-12-08(svn r23446) -Codechange: move _cur_palette and it's related first/count ↵rubidium
dirty variables into a single structure
2011-10-04(svn r22999) -Codechange: Allow changing the blitter during the running game.michi_cc
2011-09-05(svn r22894) -Doc: Some sprinkles of doxygen for the cocoa video driverplanetmaker
2011-09-04(svn r22893) -Fix [FS#4744]: [OSX] Compilation on OSX 10.7 was broken (based ↵planetmaker
on patch by leecbaker) -Add: [OSX] Support for fullscreen mode when compiled against SDK 10.7. Otherwise fullscreen mode is disabled when OpenTTD is run on OSX Lion
2010-12-21(svn r21578) -Fix [FS#2585]: [OSX] A double mouse cursor was shown under ↵planetmaker
certain circumstances (based on patch by matheweis)
2010-12-21(svn r21577) -Codechange: [OSX] Deduplicate code by moving the handling of ↵planetmaker
the window class for screen drivers to a common class
2010-12-21(svn r21576) -Codechange: [OSX] Deduplicate code by moving the handling of ↵planetmaker
the view for windowed screen drivers to a common class
2010-12-21(svn r21575) -Codechange: [OSX] Use the same class for the window delegate ↵planetmaker
routines in windowed screen drivers
2010-12-21(svn r21574) -Codechange: [OSX] Move the variable declaration of the screen ↵planetmaker
drivers to the generic class, deduplicating code
2009-10-17(svn r17793) -Fix: [OSX] The splash image wasn't displayed if the Quartz ↵michi_cc
video driver was used.
2009-09-06(svn r17438) -Fix (r17428): ofcourse some part of the OSX port would be ↵rubidium
forgotten due to it being so much different than the rest :(
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-01-01(svn r11734) -Change: Allow ToggleFullScreen to return the result of the ↵belugas
operation' attempt. Previously, only visual clues were available. -Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed. As for the reason it did not work, each computer/OS has its reason.