Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Starting Front End From Scratch

  1. #11
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Quote Originally Posted by spuzzdawg
    So does that mean that its possible to have X running but not something like Gnome which means that i could program my own GUI without having a desktop and all that???

    A little confused as to how it all works
    Yes, and you can still use a toolkit such as Qt, gtk, or Xaw. Going by your experience I would recommend using X and Qt (or QtEmbedded without X). Three obvious advantages of using an existing toolkit with X are ease of use, support offered by these technologies, and the ability to run X applications (web browsers, etc..) Two disadvantages are startup speed and overall bulk.

  2. #12
    Admin
    Join Date
    Aug 2005
    Posts
    214
    First thing to look at is PyGame, designed to build games in Python. PyGame is built on top of SDL, which in turn is built on top of Direct FB (and also, conveniently enough, Windows)

    BTW, PyCar is built using PyGame, so that's a good place to see what the system is capable of, even it it doesn't do what you want.

    -g.

  3. #13
    Newbie
    Join Date
    Jul 2005
    Posts
    44
    TheLLama - I know i have a ton of learning to do - Time isn't a problem as I'm not allowed to modify the car until its paid off - So i was thinking of getting the hardware and programming the front end then doing the install as the very last step.

    I posted the question so that i could hopefully get a place to start looking into different things - my own research was sorta going nowhere - you've given many different options to think about - thankyou

  4. #14
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Quote Originally Posted by spuzzdawg
    TheLLama - I know i have a ton of learning to do - Time isn't a problem as I'm not allowed to modify the car until its paid off - So i was thinking of getting the hardware and programming the front end then doing the install as the very last step.

    I posted the question so that i could hopefully get a place to start looking into different things - my own research was sorta going nowhere - you've given many different options to think about - thankyou
    I don't know how much C++ knowledge you have. If you are familiar with it, or if you are willing to learn how Object-oriented languages work then I would just say use Qt. Tutorial-style examples are available here: http://doc.trolltech.com/4.0/examples.html

    If you want to stick with C then maybe you would like gtk. The tutorial is here: http://www.gtkmm.org/docs/gtkmm-2.4/...tml/index.html

    Take a look at the examples, see what is more comfortable with you. BTW, you can get to those pages by clicking Documentation on the main site.

  5. #15
    Newbie
    Join Date
    Jul 2005
    Posts
    44
    After loking briefly over each of the options pointed out to me - I'd have to say that using Python with Pygame seems to be easiest option. It would appear that Python can achieve the same thing as other languages with smaller amounts of code. As far as I understand it I'll have no issue getting Python to run GUI without X and I think python is fairly cross platform so i can program on my win32 machine. It seems at a glance that i would be able to use Pymedia for playing audio and that easily - just like pycar.

    Please correct me if I'm wrong or you think you should make a suggestion. My decision to use python is by no means set in concrete. Thanks in the mean time for all your help

  6. #16
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Quote Originally Posted by spuzzdawg
    Please correct me if I'm wrong or you think you should make a suggestion. My decision to use python is by no means set in concrete. Thanks in the mean time for all your help
    Sounds good. I'm not sure, but after briefly looking at PyGame it doesn't look like it has any gui functionality. Looks like you have to write it by drawing and handling the logic yourself.

    Edit: Nevermind, I found them. They look pretty decent too.

  7. #17
    Admin
    Join Date
    Aug 2005
    Posts
    214
    Quote Originally Posted by spuzzdawg
    After loking briefly over each of the options pointed out to me - I'd have to say that using Python with Pygame seems to be easiest option. It would appear that Python can achieve the same thing as other languages with smaller amounts of code. As far as I understand it I'll have no issue getting Python to run GUI without X and I think python is fairly cross platform so i can program on my win32 machine. It seems at a glance that i would be able to use Pymedia for playing audio and that easily - just like pycar.

    Please correct me if I'm wrong or you think you should make a suggestion. My decision to use python is by no means set in concrete. Thanks in the mean time for all your help
    Yup, you've pretty much got all the high-points of of the PyGame toolchain covered. Don't forget that if you want to add CPU-intensive stuff like trippy visualizations, there is nothing stopping you from coding the algorithms in C as Python extensions.

    -g.

  8. #18
    Maximum Bitrate DeltaFX's Avatar
    Join Date
    Sep 2004
    Location
    France
    Posts
    499
    Try Gambas. Its almost VisualBasic translated to unixworld...
    Now Galileo is real. Muhahahahaha :p

  9. #19
    Low Bitrate unixxx's Avatar
    Join Date
    Sep 2005
    Location
    CA, USA
    Posts
    73

    Smile

    Hey guys. I'm actually doing something very similar and have spent a little bit of time researching different implementations. I pretty certain that I'm going to use OpenGL without a window manager. At first I was going to use Mesa (opensource OpenGL implementation) with the Linux framebuffer and the DRI accelerated graphics drivers, only to find out that that project is being retired for something else. The people at mesa are now working on implementing OpenGL ES (embedded OpenGL); I'm hoping there is a way to implement this using a framebuffer. It just makes me wonder if with a AMD Athlon I really need embedded OpenGL. I'll tell you if I find anything interesting.
    # cd /home/fuzzymuzzle.com

    Intel Pentium M Dothan 750 1.8GHz 533MHz 2MB
    iBase MB896F w/ Intel 915GM
    [■■■■■■■■■■■■■■■■■■■■] 50% Done
    (Writing Front/Back End, Designing Electronics, and Completing Install)

  10. #20
    Newbie
    Join Date
    Dec 2004
    Posts
    37
    ive used C# through mono, means you can compile it on windows & linux, and theres pretty much complete interoprobility (sp?)

    ive just used it command line though, and outputting to a VFD, but it does support the MS GUI creation more or less from what i understand

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. 100% Plugin based Front End
    By custardbomb in forum Software & Software Development
    Replies: 19
    Last Post: 10-07-2005, 01:17 AM
  2. Searching for the right Front End
    By ninjatill in forum Newbie
    Replies: 9
    Last Post: 09-10-2005, 03:47 PM
  3. which front end for no touch screen?
    By turbochris in forum Newbie
    Replies: 4
    Last Post: 08-30-2005, 10:59 AM
  4. This is an awesome front end, and here is why:
    By WhiteRabbit in forum NeoCar Media Center
    Replies: 47
    Last Post: 08-27-2005, 10:43 PM
  5. need a front end that runs at 640x480 ...
    By mattress in forum Software & Software Development
    Replies: 5
    Last Post: 06-09-2005, 04:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •