Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gui pisan u c
#1
Dali je neko zainteresovan za pisanje GUI-a u C jeziku na raspberry pi u kombinaciji sa libgd i dispmanx? Imam jedan davni i prvi projekat gde sam uspeo da napisem gui u ovoj kombinaciji sa dispmanx i libgd https://www.youtube.com/watch?v=7ZL5ZhLg3Zw ali nije optimizovan tj nisam radio u multitreadingu pa je iskoriscenost cpu-a skoro 100%, malo sam to pokusao srediti i sveo na nekih 50% ali je nemoguce prepraviti jer u startu nisam zapoceo kako treba i sve zakomplikovao. Novu implementaciju sam u startu zapoceo na multitreadingu, odradio sam touch screen evente, gpio evente i sve skupa sam sveo na apsolutnu nulu iskriscenosti procesora koristeci se polling funkcijama. Hocu da pisem novi gui zasnovan na dispmanx i libgd. Idea je da napravim neke osnovne gadgete tipa on-off dugme, rotaciono dugme, progress barove... da to moze kasnije lako da se prepise u neki potreban gui. Pitate se zasto ne koristim raylib... jednostavno ne svidja mi se raylib, isto tako embedded wizard, tesko ga je razumeti... itd, najvise bi voleo da napisem od starta te osnovne gadgete da ne budu komplikovani a da grafika bude u png, da bude lepa i da moze jednostavno da se menjaju skinovi jednostavnom zamenom png slika. Kompletan gui moze da se odradi prvo u php pa se to jednostavno prekopira i prevede u c. U atacmentu je stara i prljava implementacija koju sam odradio za jbc lemnu stanicu (video gore), ako nekoga zanima libgd + dispmanx


Attached Files
.c   jbc_old.c (Size: 94,46 KB / Downloads: 2)
Reply


Messages In This Thread
Gui pisan u c - by savan - 07-19-2022, 10:25 AM
RE: Gui pisan u c - by savan - 07-19-2022, 10:32 AM
RE: Gui pisan u c - by savan - 07-19-2022, 10:58 AM
RE: Gui pisan u c - by savan - 07-19-2022, 12:21 PM
RE: Gui pisan u c - by mikikg - 07-19-2022, 09:44 PM
RE: Gui pisan u c - by mikikg - 07-19-2022, 10:40 PM
RE: Gui pisan u c - by savan - 07-20-2022, 10:43 AM
RE: Gui pisan u c - by mikikg - 07-20-2022, 01:42 PM
RE: Gui pisan u c - by savan - 07-20-2022, 02:59 PM
RE: Gui pisan u c - by gorankg - 07-20-2022, 08:52 PM
RE: Gui pisan u c - by savan - 07-20-2022, 09:45 PM
RE: Gui pisan u c - by mikikg - 07-20-2022, 10:23 PM
RE: Gui pisan u c - by savan - 07-21-2022, 08:11 AM
RE: Gui pisan u c - by mikikg - 07-21-2022, 10:20 AM
RE: Gui pisan u c - by savan - 07-22-2022, 06:50 PM
RE: Gui pisan u c - by mikikg - 07-22-2022, 07:36 PM
RE: Gui pisan u c - by savan - 07-22-2022, 07:55 PM
RE: Gui pisan u c - by mikikg - 07-22-2022, 07:56 PM
RE: Gui pisan u c - by savan - 07-23-2022, 07:45 AM
RE: Gui pisan u c - by savan - 07-23-2022, 02:08 PM
RE: Gui pisan u c - by mikikg - 07-23-2022, 07:41 PM
RE: Gui pisan u c - by mikikg - 07-23-2022, 08:03 PM
RE: Gui pisan u c - by mikikg - 07-23-2022, 08:44 PM
RE: Gui pisan u c - by savan - 07-24-2022, 09:19 AM
RE: Gui pisan u c - by savan - 07-24-2022, 09:45 AM
RE: Gui pisan u c - by savan - 07-24-2022, 10:07 AM
RE: Gui pisan u c - by mikikg - 07-24-2022, 11:35 AM
RE: Gui pisan u c - by savan - 07-24-2022, 12:48 PM
RE: Gui pisan u c - by savan - 07-24-2022, 01:01 PM
RE: Gui pisan u c - by mikikg - 07-24-2022, 01:04 PM
RE: Gui pisan u c - by savan - 07-24-2022, 03:48 PM
RE: Gui pisan u c - by mikikg - 07-24-2022, 06:10 PM
RE: Gui pisan u c - by savan - 07-24-2022, 08:35 PM
RE: Gui pisan u c - by savan - 07-25-2022, 04:31 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)