Projet visual scripting

Sujets variés concernant le développement en PureBasic
Avatar de l’utilisateur
microdevweb
Messages : 1800
Inscription : mer. 29/juin/2011 14:11
Localisation : Belgique

Projet visual scripting

Message par microdevweb »

Voila je me lance un projet un peux fou, un visual scripting pour pb. La je travail sur le module de rendu des que je partagerais peut être si cela intéresse certaines personnes et en voici un petit aperçu.

Image

Code : Tout sélectionner

; ***********************************************************************************************
; AUTHOR        : microDevWeb
; PROJECT       : PB BOARD
; TEST          : main.pb
; VERSION       : 1.0
; DESIGNED WITH : PB 5.71
; DATE          : 2019/07/04
; ***********************************************************************************************
XIncludeFile "BOARD\PACKAGES\BOARD\BOARD.pbi"
XIncludeFile "BOARD\PACKAGES\BOX\BOX.pbi"

#FORM = 0
#CONTAINER = 0
Define flags = #PB_Window_SystemMenu|#PB_Window_ScreenCentered|#PB_Window_SizeGadget|
               #PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget
OpenWindow(#FORM,0,0,800,600,"Test",flags)
ContainerGadget(#CONTAINER,0,0,800,600,#PB_Container_BorderLess)
CloseGadgetList()
Global myBoard.BOARD::BOARD = BOARD::newBoard(#CONTAINER)
Global  mt.BOX::MethodBox = BOX::newMethodBox("getName",50,50)
Global  v1.BOX::VariableBox = BOX::newVariableBox("name",250,250)
Global  v2.BOX::VariableBox = BOX::newVariableBox("name",250,150)
mt\addMeToBoard(myBoard)
v1\addMeToBoard(myBoard)
v2\addMeToBoard(myBoard)
myBoard\build()

Repeat
  WaitWindowEvent()
Until Event() = #PB_Event_CloseWindow
Windows 10 64 bits PB: 5.70 ; 5.72 LST
Work at Centre Spatial de Liège
Avatar de l’utilisateur
Zorro
Messages : 2185
Inscription : mar. 31/mai/2016 9:06

Re: Projet visual scripting

Message par Zorro »

manque les Pbi :)
Image
Image
Site: http://michel.dobro.free.fr/
Devise :"dis moi ce dont tu as besoin, je t'expliquerai comment t'en passer"
Shadow
Messages : 1373
Inscription : mer. 04/nov./2015 17:39

Re: Projet visual scripting

Message par Shadow »

Gros taf en perspective, je suis très intéresser et ça à de la gueule en plus :)
Courage et merci de ton partage, je vais suivre ça avec attention.
Processeur: Intel Core I7-4790 - 4 Cœurs - 8 Thread: 3.60 Ghz.
Ram: 32 GB.
Disque: C: SDD 250 GB, D: 3 TB.
Vidéo: NVIDIA GeForce GTX 960: 2 GB DDR5.
Écran: Asus VX248 24 Pouces: 1920 x 1080.
Système: Windows 7 64 Bits.

PureBasic: 5.60 x64 Bits.
Répondre