Blender
V5.0
source
blender
windowmanager
intern
wm_window_private.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2019 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
#pragma once
9
10
#include "
GHOST_Types.h
"
11
12
#include "
GPU_platform_backend_enum.h
"
13
14
struct
bContext
;
15
16
/* *************** Message box *************** */
17
/* `WM_ghost_show_message_box` is implemented in `wm_windows.c` it is
18
* defined here as it was implemented to be used for showing
19
* a message to the user when the platform is not (fully) supported.
20
*
21
* In all other cases this message box should not be used. */
22
void
WM_ghost_show_message_box
(
const
char
*title,
23
const
char
*message,
24
const
char
*help_label,
25
const
char
*continue_label,
26
const
char
*link,
27
GHOST_DialogOptions
dialog_options);
28
29
GHOST_TDrawingContextType
wm_ghost_drawing_context_type
(
const
GPUBackendType
gpu_backend);
30
31
void
wm_test_gpu_backend_fallback
(
bContext
*
C
);
GHOST_Types.h
GHOST_TDrawingContextType
GHOST_TDrawingContextType
Definition
GHOST_Types.h:277
GHOST_DialogOptions
GHOST_DialogOptions
Definition
GHOST_Types.h:119
GPU_platform_backend_enum.h
GPUBackendType
GPUBackendType
Definition
GPU_platform_backend_enum.h:12
C
#define C
Definition
RandGen.cpp:29
bContext
Definition
blenkernel/intern/context.cc:63
wm_test_gpu_backend_fallback
void wm_test_gpu_backend_fallback(bContext *C)
Definition
wm_window.cc:2225
wm_ghost_drawing_context_type
GHOST_TDrawingContextType wm_ghost_drawing_context_type(const GPUBackendType gpu_backend)
Definition
wm_window.cc:2193
WM_ghost_show_message_box
void WM_ghost_show_message_box(const char *title, const char *message, const char *help_label, const char *continue_label, const char *link, GHOST_DialogOptions dialog_options)
Definition
wm_window.cc:3275
Generated on
for Blender by
doxygen
1.16.1