Anklang-0.3.0.dev956+gd75ac925
anklang-0.3.0.dev956+gd75ac925
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
#pragma once
3
4
#include <
string
>
5
#include <
functional
>
6
7
namespace
Ase
{
8
9
struct
Gtk2WindowSetup
{
10
std::string
title;
11
int
width = 0, height = 0;
12
std::function
<void()> deleterequest_mt;
13
};
14
15
struct
Gtk2DlWrapEntry
{
16
ulong (*create_window) (
const
Gtk2WindowSetup
&windowsetup);
17
bool
(*resize_window) (ulong windowid,
int
width,
int
height);
18
void (*show_window) (ulong windowid);
19
void (*hide_window) (ulong windowid);
20
void (*destroy_window) (ulong windowid);
21
void (*threads_enter) ();
22
void (*threads_leave) ();
23
};
24
25
}
// Ase
26
27
extern
"C"
{
28
extern
Ase::Gtk2DlWrapEntry
Ase__Gtk2__wrapentry;
29
}
30
std::string
bool
std::function
functional
Ase
The Anklang C++ API namespace.
Definition
api.hh:8
Ase::Gtk2WindowSetup
Definition
gtk2wrap.hh:9
string
Ase::Gtk2DlWrapEntry
Definition
gtk2wrap.hh:15
« « « Anklang Documentation