openGL view resizing behavior
openGL view resizing behavior
- Subject: openGL view resizing behavior
- From: zauhar <email@hidden>
- Date: Mon, 8 Jul 2002 22:55:19 -0400
- Scubber-version: 1.7 (portal)
I couldn't find EXACTLY this in the archives...
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?
Thanks!
Randy
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.