Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Starting Front End From Scratch

  1. #21
    Admin
    Join Date
    Aug 2005
    Posts
    214
    From the SDL home page:

    Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.
    -g.

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

    Thumbs up

    Problem is that OpenGL (SDL 3D) requires GLX to create its context and GLX requires a windowing system. However, there are some hacks such as DirectFBGL and the Mesa's fbdev/DRI which allow you to create a context without X windows. I believe SDL's 2D graphics work on the framebuffer without anything special.
    # 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)

  3. #23
    Newbie
    Join Date
    Feb 2006
    Posts
    3
    If you want a desktop without a toolbar and none of the icons why don't you just boot into blackbox and have your program automatically load? For a simple program like playing mp3s try php-gtk. It's also fairly easy to install. You can use Glade2 to create the layout and load the layout dynamically using the GladeXML class. It's simple and to the point!

    -PEACE

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

    Smile

    I've put OpenGL on hold for now until I need it later on. Right now I'm just going to go with SDL's 2D API which should be sufficient for a typical front end. I don't want to load X as it would add too much load time and use up too many resources, besides I've got DirectFB working along with SDL now. It's only a matter of writing the frontend in SDL. I may eventually move this project from the Athlon XP-M it's on right now to a VIA mini-ITX board so I want to keep it as efficient as possible.
    # 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)

  5. #25
    FLAC jbors's Avatar
    Join Date
    Nov 2003
    Posts
    959
    DirectFB over SDL is a very awkward solution. I never managed it work right. So try to run some benchmarks and tests first.
    Using DFB in native mode gives fantastic results. ASnd it works under any framebuffer as SDL no prob.
    If you use Python you can use pygame/SDL and then switch over to pydfb/DFB on platforms with hardware accelerated fb. They use the same API.
    Car pc integration with ease
    Car mediacenter

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

    Question

    Thanks jbors. Hey, by the way, do you know if GTK works well on DirectFB? I've already started righting my front end in SDL but may switch as you suggest (tried running some of the SDL samples on DirectFB and they weren't really impressive). I'm looking for a toolkit so I don't have to reinvent my own with OO programming (buttons, scrollbars, etc). Thanks.
    # 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)

  7. #27
    Newbie silvercryst's Avatar
    Join Date
    Dec 2005
    Location
    Boston Area
    Posts
    18
    Is there a way to get nice bitmap graphics using Glade and GTK? I've done tons of MFC programming, and am just getting into GTK using Anjuta/Glade. It's handy because I can see all the generated functions and it all makes sense. I know MFC has great bitmap support; I assume that GTK does as well. Anyone familiar with it?

  8. #28
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Quote Originally Posted by silvercryst
    Is there a way to get nice bitmap graphics using Glade and GTK? I've done tons of MFC programming, and am just getting into GTK using Anjuta/Glade. It's handy because I can see all the generated functions and it all makes sense. I know MFC has great bitmap support; I assume that GTK does as well. Anyone familiar with it?
    Dunno, I've used MFC in the past too but dropped it for the same reasons Microsoft has. Especially the Document/View model; yuk!

Page 3 of 3 FirstFirst 123

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
  •