Results 1 to 4 of 4
  1. #1

    Member Since
    Dec 06, 2011
    best GUI option for my simple needs?
    I'm brand new to C++. I need to build an app on OSX Lion with xcode that has a very simple GUI. I'd like a fullscreen black window (no menu bar, scrolling, or resizing - just a black screen). In this window I'd like to have minimalist clickable buttons that are single color rectangles with text inside, in a custom layout. That's it. I'd prefer no other pre-designed GUI artifacts of any kind on screen.

    As far as CPU usage, I'd like to find the most lightweight way of accomplishing this. Cocoa, wxWidgets? Is there a better option out there? Thanks for your help.

  2. #2

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    Cocoa, Objective-C, and the Apple documentation which includes building full screen apps.

    You can use C++ to build GUI apps as I recall, but it's a hassle as the system is all about using Objective-C the non-C++ frame works.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

  3. #3

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    2012 13" MBP (2.5 i5, 8GB)
    wxWidgets will give you easy cross platform support if that's a concern for you. You could also look into Qt which is also a fairly comprehensive (and cross platform) toolkit.

    Admittedly, the bit of programming I do is not C/C++/Obj-C so I have no idea how these toolkits perform with C++.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  4. #4

    cptkrf's Avatar
    Member Since
    Dec 08, 2009
    The same as Sheldon Cooper - East Texas
    iMac 2014 i5 5k 32gb 1tb fusion, second TB display, 2014 MBA
    Xcode will do what you want. I'm not saying that it will be easy, but I regularly use Xcode as the GUI front end to Perl. If it does that, then it will certainly talk to C++. Actually, the calling mechanism of the Task object will probably allow you to call any foreign language, except maybe for Basic.

    Your problem is that you will have to learn enough Objective-C to make the widgets/controls accept and post the data from your C++.

    As to where you are going to get a tutorial or book on the subject of C++ under Xcode, I have no idea.

    As vansmith said, wxWidgets or Qt will probably have a far lower learning hill to climb. My only problem with non-Apple supplied suites, is that they usually stop working after every major OSX upgrade, and you have to hunt down the fixes.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Simple cropping & resizing option?
    By RadDave in forum Images, Graphic Design, and Digital Photography
    Replies: 6
    Last Post: 03-29-2013, 06:00 PM
  2. best option for simple wi-fi use - ipod touch or iphone
    By wrightm in forum iPhone Hardware and Accessories
    Replies: 11
    Last Post: 10-09-2012, 08:50 PM
  3. Pictures on Simple Java GUI won't work.
    By macuser1232 in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 06-27-2012, 12:18 AM
  4. Simple, Simple question (?) from a real beginner
    By JamesTaylor in forum iOS and Apps
    Replies: 0
    Last Post: 05-15-2011, 08:58 AM

Posting Permissions

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