• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: openGL view resizing behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openGL view resizing behavior


  • Subject: Re: openGL view resizing behavior
  • From: zauhar <email@hidden>
  • Date: Mon, 8 Jul 2002 23:35:46 -0400
  • Scubber-version: 1.7 (portal)

THANKS Cameron! That's tricky - I didn't realize there was a difference between clicking inside the view in IB as opposed to the very edge. After turning on the inner springs, it now works the way I want.

Randy

On Monday, July 8, 2002, at 11:22 PM, Cameron Hayne wrote:


On Monday, July 8, 2002, at 10:55 pm, zauhar wrote:

I have a custom view subclassed from NSOpenGLView, in a window (where else). If I resize the window, my reshape function works fine so long as I am making the window smaller - make the window larger than the initial size, and the openGL view gets "left behind", becoming no larger than the initial size. In the debugger I see that the the size of the NSRect passed to my draw function does indeed refuse to get bigger than the initial (largest) size of the view.

I don't see a place in IB to correct this behavior - can anyone tell me what gives?

Look at the Size of your custom view in IB's inspector. Do you have the inner springs set up ?
Try making the border of your custom view visible and then test it out inside IB (via Cmd-R).
--
Cameron Hayne (email@hidden)
Hayne of Tintagel




Randy J. Zauhar, PhD
Assoc. Prof. of Biochemistry
Director, Graduate Program in Bioinformatics
Dept. of Chemistry & Biochemistry
University of the Sciences in Philadelphia
600 S. 43rd Street
Philadelphia, PA 19104

Phone: (215)596-8691
FAX: (215)596-8543
E-mail: email@hidden
Web: http://tonga.usip.edu/zauhar


Discussion after watching Disney's "Lilo & Stitch":

DAD: "But why did the space aliens speak English, as opposed to French, or Swahili? And why did the one alien speak English with an Eastern European accent? I don't get it."

CATHERINE (age 7): "That's 'cause you don't have a good cartoon brain."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Database Suggestions
  • Next by Date: Re: Preview in Internet Explorer
  • Previous by thread: openGL view resizing behavior
  • Next by thread: How to get the "finger pointer" cursor?
  • Index(es):
    • Date
    • Thread