New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

best GUI option for my simple needs?


Post Reply New Thread Subscribe

 
Thread Tools
cowboytaketwo

 
Member Since: Dec 06, 2011
Posts: 1
cowboytaketwo is on a distinguished road

cowboytaketwo is offline
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.
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,774
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
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
QUOTE Thanks
cptkrf

 
Member Since: Dec 08, 2009
Location: The same as Sheldon Cooper - East Texas
Posts: 388
cptkrf is a jewel in the roughcptkrf is a jewel in the rough
Mac Specs: MacBook Air 2013, MacMini,2013, Intel Core i7, 16gb, 27" Thunderbolt display (Highly recommended!)

cptkrf is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« No subclass NSobject in mainmenue.nib xcode 2.5 | Calling Perl Script From AppleScript »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
C++ and GUI benparko OS X - Development and Darwin 3 04-13-2010 06:17 PM
Logic Express and Applescript via GUI Scripting albertaurus Music, Audio, and Podcasting 0 04-09-2009 01:13 PM
Cut menu option usually grayed out in Panther applics? Wish_4_A_Mac OS X - Operating System 4 05-03-2005 09:59 AM
Selecting an option LastZion OS X - Operating System 2 01-16-2005 11:09 PM
Simple finder hacking trip OS X - Operating System 0 03-07-2004 10:16 AM

All times are GMT -4. The time now is 09:26 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?