Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
lektor
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Kubat
lektor
Requêtes de fusion
!57
Resolve "SDL2 module"
Code
Examiner les modifications
Extraire la branche
Télécharger
Correctifs
Diff brut
Étendre la barre latérale
Fusionnées
Resolve "SDL2 module"
sdl2
vers
master
Vue d'ensemble
0
Validations
24
Pipelines
0
Modifications
12
Fusionnées
Kubat
a demandé de fusionner
sdl2
vers
master
Il y a 5 ans
Vue d'ensemble
0
Validations
24
Pipelines
0
Modifications
12
Closes
#29 (closed)
create a working sdl module
using only async commands with mpv
put the sdl module in its own thread
make the thing working
Modification effectuée
Il y a 5 ans
par
Kubat
0
0
Rapports de requête de fusion
Comparer
master
version 24
f94bad46
Il y a 5 ans
version 23
63913fe4
Il y a 5 ans
version 22
dbf12798
Il y a 5 ans
version 21
b6189d59
Il y a 5 ans
version 20
93673b8d
Il y a 5 ans
version 19
6f61189f
Il y a 5 ans
version 18
15b7d97b
Il y a 5 ans
version 17
1404510a
Il y a 5 ans
version 16
7cf7064e
Il y a 5 ans
version 15
f4efb1e8
Il y a 5 ans
version 14
3feb2e11
Il y a 5 ans
version 13
818ddb0a
Il y a 5 ans
version 12
3a59612c
Il y a 5 ans
version 11
c9dfacfa
Il y a 5 ans
version 10
23a3b777
Il y a 5 ans
version 9
61df93a2
Il y a 5 ans
version 8
86ce3ea3
Il y a 5 ans
version 7
ae31efcd
Il y a 5 ans
version 6
013bb733
Il y a 5 ans
version 5
b1ca6f24
Il y a 5 ans
version 4
bed922f4
Il y a 5 ans
version 3
d9758bca
Il y a 5 ans
version 2
eb4d8df5
Il y a 5 ans
version 1
5dac5fdf
Il y a 5 ans
master (base)
et
dernière version
dernière version
13681ce3
24 validations,
Il y a 5 ans
version 24
f94bad46
23 validations,
Il y a 5 ans
version 23
63913fe4
22 validations,
Il y a 5 ans
version 22
dbf12798
21 validations,
Il y a 5 ans
version 21
b6189d59
20 validations,
Il y a 5 ans
version 20
93673b8d
19 validations,
Il y a 5 ans
version 19
6f61189f
18 validations,
Il y a 5 ans
version 18
15b7d97b
17 validations,
Il y a 5 ans
version 17
1404510a
16 validations,
Il y a 5 ans
version 16
7cf7064e
16 validations,
Il y a 5 ans
version 15
f4efb1e8
15 validations,
Il y a 5 ans
version 14
3feb2e11
14 validations,
Il y a 5 ans
version 13
818ddb0a
13 validations,
Il y a 5 ans
version 12
3a59612c
12 validations,
Il y a 5 ans
version 11
c9dfacfa
11 validations,
Il y a 5 ans
version 10
23a3b777
10 validations,
Il y a 5 ans
version 9
61df93a2
9 validations,
Il y a 5 ans
version 8
86ce3ea3
8 validations,
Il y a 5 ans
version 7
ae31efcd
7 validations,
Il y a 5 ans
version 6
013bb733
6 validations,
Il y a 5 ans
version 5
b1ca6f24
5 validations,
Il y a 5 ans
version 4
bed922f4
4 validations,
Il y a 5 ans
version 3
d9758bca
3 validations,
Il y a 5 ans
version 2
eb4d8df5
2 validations,
Il y a 5 ans
version 1
5dac5fdf
1 validation,
Il y a 5 ans
12 files
+
631
−
384
En ligne
Comparer les modifications
Côte à côte
En ligne
Afficher les modifications des espaces
Afficher un fichier à la fois
Fichiers
12
inc/lektor/module/module_sdl2.h
0 → 100644
+
27
−
0
Afficher le fichier @ 13681ce3
Modifier dans l'éditeur de fichier unique
Ouvrir dans Web EDI
#pragma once
#include
<lektor/defines.h>
#include
<stdbool.h>
#include
<sqlite3.h>
#include
<lektor/window.h>
/* The only function with a setted filename */
int
module_set_function
(
void
*
mod
,
void
*
handle
);
/* Below there are needed functions for a window module.
* Names are not fixed but they follow a convention (to get a code easy
* to read). They should not be used in lektor! They will be loaded into
* the struct lkt_win by the module_set_function.
*/
bool
module_sdl2_new
(
struct
lkt_win
*
const
win
);
void
module_sdl2_close
(
struct
lkt_win
*
const
win
);
void
module_sdl2_free
(
struct
lkt_win
*
const
win
);
bool
module_sdl2_toggle_pause
(
struct
lkt_win
*
const
win
);
bool
module_sdl2_load_file
(
struct
lkt_win
*
const
win
,
const
char
*
filepath
);
bool
module_sdl2_set_volume
(
struct
lkt_win
*
const
win
,
int
vol
);
bool
module_sdl2_get_duration
(
struct
lkt_win
*
const
win
,
int
*
dur_sec
);
bool
module_sdl2_get_elapsed
(
struct
lkt_win
*
const
win
,
int
*
elapsed_sec
);
bool
module_sdl2_handle_events
(
struct
lkt_win
*
const
win
,
sqlite3
*
db
,
enum
mpd_idle_flag
*
mpd_idle_events
);
Chargement en cours