Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » upp-cocoa CtrlCore skeleton package to play
Re: upp-cocoa CtrlCore skeleton package to play with [message #35700 is a reply to message #34149] Tue, 13 March 2012 22:26 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
As requested by Tom1 in another topic:
updated UNS package. Place eg in upp-cocoa. Should work on gnustep and mac.
Test like this:
#include <UNS/UNS.h>

using namespace Upp;

#define LLOG(x) LOG(x)

int main(int argc, const char *argv[])
{
	StdLogSetup(LOG_CERR);
	UppCocAutoReleasePool pool;
	LLOG("starting main");
//	UppCocApplication app;
	CocWnd w;
	Rect r = RectC(0,0,300,300);
	CocWnd::CreateApp();
	w.CreateWnd(r);
	CocWnd::RunApp();
	LLOG("after cocoa run");
	return 0;
}



EDIT: UNS.zip updated for windows gnustep
To test compiling the flag should be just:
COCOA USEMALLOC
  • Attachment: UNS.zip
    (Size: 24.09KB, Downloaded 311 times)

[Updated on: Thu, 15 March 2012 06:07]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Installation, I need Help!
Next Topic: Need help with the structure of flags etc. and running u++ cocoa on Windows 7 GNUSTEP
Goto Forum:
  


Current Time: Sun May 12 21:51:07 CEST 2024

Total time taken to generate the page: 0.02290 seconds