Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
osx.mm File Reference
#include <Carbon/Carbon.h>
#include <ApplicationServices/ApplicationServices.h>
#include <CoreServices/CoreServices.h>
#include <AppKit/AppKit.h>
#include <gtk/gtk.h>
#include <gdk/gdkquartz.h>
#include <gio/gio.h>
#include <glib.h>
#include <string.h>
#include "osx.h"
#include "libintl.h"
+ Include dependency graph for osx.mm:

Macros

#define _DARWIN_C_SOURCE
 

Functions

void dt_osx_autoset_dpi (GtkWidget *widget)
 
float dt_osx_get_ppd ()
 
static void dt_osx_disable_fullscreen (GtkWidget *widget)
 
void dt_osx_disallow_fullscreen (GtkWidget *widget)
 
gboolean dt_osx_file_trash (const char *filename, GError **error)
 
char * dt_osx_get_bundle_res_path ()
 
static char * _get_user_locale ()
 
static void _setup_ssl_trust (const char *const res_path)
 
void dt_osx_prepare_environment ()
 
void dt_osx_focus_window ()
 

Macro Definition Documentation

◆ _DARWIN_C_SOURCE

#define _DARWIN_C_SOURCE

Function Documentation

◆ _get_user_locale()

static char * _get_user_locale ( )
static

◆ _setup_ssl_trust()

static void _setup_ssl_trust ( const char *const  res_path)
static

References FALSE.

Referenced by dt_osx_prepare_environment().

◆ dt_osx_autoset_dpi()

void dt_osx_autoset_dpi ( GtkWidget *  widget)

References height, and width.

Referenced by dt_configure_ppd_dpi().

◆ dt_osx_disable_fullscreen()

static void dt_osx_disable_fullscreen ( GtkWidget *  widget)
static

◆ dt_osx_disallow_fullscreen()

◆ dt_osx_file_trash()

gboolean dt_osx_file_trash ( const char *  filename,
GError **  error 
)

References error(), FALSE, and TRUE.

Referenced by delete_file_from_disk().

◆ dt_osx_focus_window()

void dt_osx_focus_window ( )

Referenced by dt_gui_gtk_run(), and main_gui().

◆ dt_osx_get_bundle_res_path()

char * dt_osx_get_bundle_res_path ( )

◆ dt_osx_get_ppd()

float dt_osx_get_ppd ( )

Referenced by dt_get_system_gui_ppd().

◆ dt_osx_prepare_environment()

void dt_osx_prepare_environment ( )