Page en cours de chargement

Donnez votre avis..
Que pensez-vous de gambaslinux.fr?
 
Interessant
Il manque des rubriques
excellent site
Résultats
INTERFACE GAMBAS
LOGICIELS GAMBAS 3
TUTORIELS
=Bibliothèque
_gb2.pngLOGICIELS GAMBAS 2 - Front end de mplayer

GBMEDIA, INTERFACE EN GB2 POUR MPLAYER


gbmedia.png

Voici un front-end pour mplayer, l'excellent lecteur de vidéo tous formats pour linux.
Il utilise une drawarea et la gestion des process.
 

Voici le code source de cette application  :



PRIVATE myprocess AS process
PUBLIC SUB _new()
END
PUBLIC SUB form_OPEN()
me.center
END
PUBLIC SUB bquit_click()
me.CLOSE
END
PUBLIC SUB bOPEN_click()
dialog.path = system.user.home
dialog.title = "select movie File"
IF dialog.OPENFile() THEN return
tpath.text = dialog.path
bplay.enabled = TRUE
END
PUBLIC SUB bplay_click()
bplay.enabled = FALSE
myprocess = exec ["mplayer", "-wid", drawingarea1.handle, "-loop", "0", conv$(tpath.text, desktop.charset, system.charset)] FOR read write
END
PUBLIC SUB bstop_click()
myprocess.kill()
drawingarea1.clear
bplay.enabled = TRUE
END


  A bientôt.
wink

Date de création : 30/03/2012 @ 22:56
Dernière modification : 17/02/2022 @ 00:55
Catégorie : LOGICIELS GAMBAS 2
Page lue 4021 fois


Imprimer l'article Imprimer l'article


react.gifRéactions à cet article

Personne n'a encore laissé de commentaire.
Soyez donc le premier !


ACCES RAPIDE
RECHERCHE




LES INSTRUCTIONS
Divers
INSTRUCTIONS
Où ça, qui ça?
VISITES

   visiteurs

   visiteurs en ligne

ARCHIVES GAMBAS 1/2
^ Haut ^