From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: How to link carbon framework to NS port? Date: Thu, 23 Jul 2009 09:35:59 +0100 Message-ID: <15A46AFA-BF5D-45F1-9D3F-AFB6078C9709@gmail.com> References: <46d34ee60907220812n1e42a972j2e80a2c36eff1d59@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1071.1) Content-Type: multipart/signed; boundary=Apple-Mail-12--551979870; protocol="application/pkcs7-signature"; micalg=sha1 X-Trace: ger.gmane.org 1248338295 11788 80.91.229.12 (23 Jul 2009 08:38:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2009 08:38:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Vebjorn Ljosa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 23 10:38:08 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MTtoT-0005FN-Qb for ged-emacs-devel@m.gmane.org; Thu, 23 Jul 2009 10:38:06 +0200 Original-Received: from localhost ([127.0.0.1]:54434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTtoT-0004oA-2b for ged-emacs-devel@m.gmane.org; Thu, 23 Jul 2009 04:38:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTtme-0003rK-Vs for emacs-devel@gnu.org; Thu, 23 Jul 2009 04:36:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTtmZ-0003pH-JE for emacs-devel@gnu.org; Thu, 23 Jul 2009 04:36:11 -0400 Original-Received: from [199.232.76.173] (port=47752 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTtmZ-0003oz-AZ for emacs-devel@gnu.org; Thu, 23 Jul 2009 04:36:07 -0400 Original-Received: from mail-ew0-f213.google.com ([209.85.219.213]:57539) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTtmY-0005jX-RF for emacs-devel@gnu.org; Thu, 23 Jul 2009 04:36:07 -0400 Original-Received: by ewy9 with SMTP id 9so865274ewy.42 for ; Thu, 23 Jul 2009 01:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:message-id:references:to :x-mailer; bh=BuhVw4GVOQTPxN1iatYNKap3RloDf/Litu/kwFRKAI4=; b=xAO9kj9HZAGv8BJqCNRASHcfJFGjrBAnN2NlcfFj4OuF82MTccmSSkYA/jjktV7VNZ TvRBDQUg3Bj3hhsP9yOqGXgjJV0TUqDJd8Rv9pKtWVXHEpLCQHdbACsHel9rXEoAmzDC Pco8IPNoctf8o90a8+HGBBZBUlayOhwB7eQWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=Ufa1eaXK2zCrfbSrQC4V9S3I1HXyBYp3lx2DFs8+9McHefuT5AmBGxQtRcKJzEDNor E8wDz/OgFprRw/kILwIU15ahRDTLQWH0oU8ydXtA20887mBk3jmIwR8Ml9j0um7Ku7fK rDV0ho/LeBplpie4MJI/CitucaiEueOMZWcqM= Original-Received: by 10.210.28.4 with SMTP id b4mr2266551ebb.47.1248338161978; Thu, 23 Jul 2009 01:36:01 -0700 (PDT) Original-Received: from ?10.182.6.113? ([130.88.99.232]) by mx.google.com with ESMTPS id 10sm3602532eyz.51.2009.07.23.01.36.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Jul 2009 01:36:01 -0700 (PDT) In-Reply-To: <46d34ee60907220812n1e42a972j2e80a2c36eff1d59@mail.gmail.com> X-Mailer: Apple Mail (2.1071.1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113043 Archived-At: --Apple-Mail-12--551979870 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes On Jul 22, 2009, at 4:12 PM, Vebjorn Ljosa wrote: > I am working on a fullscreen patch for the NS port. I would like to > use the SetSystemUIMode API to auto-hide the menu bar when in > "fullboth" mode. That API, however, is part of the Carbon framework. > Two questions: > > 1. Will using the SetSystemUIMode work on GNUstep? > > 2. How do I modify the autoconf setup so that "-framework Carbon" is > passed to gcc when linking the NS port? I have a partial implementation of fullscreen mode (without direct use of SetSystemUIMode) using the standard Cocoa (and perhaps NS) APIs within NSView. It works, but after switching back there are problems (redisplay issues mainly) with the scroll bars. It's in the Aquamacs master branch. If you get it to work better (even with Carbon if need be) then that'd be great. --Apple-Mail-12--551979870 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFxDCCAn0w ggHmoAMCAQICED6shx13jEDrq0eL8FRq5ykwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MTIwOTAyMDgwMVoXDTA5MTIwOTAyMDgw MVowYjEQMA4GA1UEBBM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