MeVisLab Toolbox Reference
macCoreUI.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2013, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef MAC_CORE_UI_H
14
#define MAC_CORE_UI_H
15
17
18
#if defined(__APPLE__)
19
20
#include <
macSymbolVisibilityMacros.h
>
21
#include <ApplicationServices/ApplicationServices.h>
22
#include <string>
23
24
namespace
macos
{
25
27
class
OSXSUPPORT_PUBLIC_API
CoreUI
28
{
29
public
:
30
33
static
CGImageRef
createUIImageFromTemplate
(
unsigned
short
width,
unsigned
short
height,
const
std::string &templateFileName);
34
};
35
36
}
37
38
#endif
// __APPLE__
39
#endif
// __macCoreUI_H
macos::CoreUI
CoreUI related functions.
Definition:
macCoreUI.h:28
macos::CoreUI::createUIImageFromTemplate
static CGImageRef createUIImageFromTemplate(unsigned short width, unsigned short height, const std::string &templateFileName)
Returns a core graphics image of the specified size that uses a PDF template file with black and tran...
macSymbolVisibilityMacros.h
OSXSUPPORT_PUBLIC_API
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.
Definition:
macSymbolVisibilityMacros.h:25
macos
AppleScript support.
Definition:
macAppleScript.h:23
MeVis
Foundation
Sources
OSXSupport
macCoreUI.h
Generated by
1.9.1