GLVis
v4.2
Accurate and flexible finite element visualization
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
glvis
lib
sdl_mac.hpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
2
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3
// LICENSE and NOTICE for details. LLNL-CODE-443271.
4
//
5
// This file is part of the GLVis visualization tool and library. For more
6
// information and source code availability see https://glvis.org.
7
//
8
// GLVis is free software; you can redistribute it and/or modify it under the
9
// terms of the BSD-3 license. We welcome feedback and contributions, see file
10
// CONTRIBUTING.md for details.
11
12
#ifndef GLVIS_SDL_MAC_HPP
13
#define GLVIS_SDL_MAC_HPP
14
#include "
sdl_helper.hpp
"
15
16
class
SdlCocoaPlatform
final :
public
SdlNativePlatform
17
{
18
public
:
19
void
WaitEvent
();
20
void
SendEvent
();
21
22
void
ContextUpdate
();
23
24
// TODO: Workaround methods for SDL 2.0.12, delete in follow-up PR
25
bool
UseThreadWorkaround
()
const
;
26
void
ClearCurrentContext
(
int
wnd_id);
27
void
SetCurrentContext
(
int
wnd_id);
28
void
SwapWindow
();
29
};
30
31
#endif
SdlCocoaPlatform::ClearCurrentContext
void ClearCurrentContext(int wnd_id)
Definition:
sdl_mac.mm:90
SdlCocoaPlatform::SwapWindow
void SwapWindow()
Definition:
sdl_mac.mm:111
SdlCocoaPlatform::UseThreadWorkaround
bool UseThreadWorkaround() const
Definition:
sdl_mac.mm:66
SdlCocoaPlatform::SetCurrentContext
void SetCurrentContext(int wnd_id)
Definition:
sdl_mac.mm:100
SdlCocoaPlatform
Definition:
sdl_mac.hpp:16
SdlNativePlatform
Definition:
sdl_helper.hpp:18
SdlCocoaPlatform::SendEvent
void SendEvent()
Definition:
sdl_mac.mm:48
SdlCocoaPlatform::ContextUpdate
void ContextUpdate()
Definition:
sdl_mac.mm:80
SdlCocoaPlatform::WaitEvent
void WaitEvent()
Definition:
sdl_mac.mm:35
sdl_helper.hpp
Generated on Tue May 24 2022 09:49:54 for GLVis by
1.8.5