Anklang
0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation
Loading...
Searching...
No Matches
ase
gtk2wrap.hh
Go to the documentation of this file.
1
// This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
2
#ifndef __ASE_GTK2WRAP_HH__
3
#define __ASE_GTK2WRAP_HH__
4
5
#include <
string
>
6
#include <
functional
>
7
8
namespace
Ase
{
9
10
struct
Gtk2WindowSetup
{
11
std::string
title;
12
int
width = 0, height = 0;
13
std::function
<void()> deleterequest_mt;
14
};
15
16
struct
Gtk2DlWrapEntry
{
17
ulong (*create_window) (
const
Gtk2WindowSetup
&windowsetup);
18
bool
(*resize_window) (ulong windowid,
int
width,
int
height);
19
void (*show_window) (ulong windowid);
20
void (*hide_window) (ulong windowid);
21
void (*destroy_window) (ulong windowid);
22
void (*threads_enter) ();
23
void (*threads_leave) ();
24
};
25
26
}
// Ase
27
28
extern
"C"
{
29
extern
Ase::Gtk2DlWrapEntry
Ase__Gtk2__wrapentry;
30
}
31
32
#endif
// __ASE_GTK2WRAP_HH__
std::string
bool
std::function
functional
Ase
The Anklang C++ API namespace.
Definition
api.hh:9
Ase::Gtk2WindowSetup
Definition
gtk2wrap.hh:10
string
Ase::Gtk2DlWrapEntry
Definition
gtk2wrap.hh:16
« « « Anklang Documentation