Search results

  1. G

    How to access a graphics context for a view?

    Yes - that is the piece I was missing. Problem solved. Thanks!
  2. G

    How to access a graphics context for a view?

    Thanks - this is helpful. Once in the event handler, I get the window: WindowRef window = (WindowRef)inUserData; If it is a kEventCommandProcess I call my doCommand procedure. in my doCommand procedure I get the command by using: GetEventParameter(inEvent, kEventParamDirectObject...
  3. G

    How to access a graphics context for a view?

    I'm lost. I know this must be simple, but I can't find it. All the documentation and sample code I have looked at assumes that I will be drawing in a view after a kEventControlDraw event and the context is retrieved from the GetEventParameter. I want to simply draw in a window after the user...
  4. G

    OS 9 to OS X Dialog programming confusion

    Thanks! I think the resources you have listed will help me solve my problems. I was able to create the dialog from the .nib, display it and close it - but not do anything with the controls. I sure didn't want to go back to ResEdit... InterfaceBulder is much better. Meg
  5. G

    OS 9 to OS X Dialog programming confusion

    I am porting my OS 9 code to OS X using xcode 1.5 on Panther. I'm confused about how to handle dialogs and items within dialogs. I have some sample code that creates a dialog by handling a window created from a nib (CreateWindowFromNib). I need code to get and set numbers (floating point and...
  6. G

    Polygons in Quartz?

    This might be just the thing - I'm not developing commercial software, but I may use it in a consulting mode. I'll look into the liscensing issues (a quick look and there doesn't seem to be a problem) and supported data input structures. Thanks!
  7. G

    Polygons in Quartz?

    I'm building a scientific simulation model. The output of the model is 3D. My current code displays 2D (cartesian coordinates x-y; x-z and y-z) slices of the 3D data. Given my model data structure, I can most easily access it in the form of 3D rectilinear boxes and 3D cylinders. I want to...
  8. G

    Polygons in Quartz?

    Thanks - yes, I'm doing 2D polygons. I'll do the closed path route. On the otherhand - After getting my code ported to OS X I want to increase its functionality and add some 3D graphical displays of data - I'm guessing I need to go to OpenGL for that? Should I continue along with Carbon with...
  9. G

    Polygons in Quartz?

    OK, I'll look into this. Can I mix OpenGL and Quartz code? Or should I just look at Open GL and drop Quartz? What is AFAIK? Thanks
  10. G

    Polygons in Quartz?

    I'm in the process of converting my QuickDraw OS 9 code to Quartz using xcode 1.5 in Panther. I can't find a reference to polygons in the quartz documentation or quickdraw transfer help. Is it possible to create and fill polygons, or irregular shapes in Quartz? Thanks, Meg
  11. G

    lcrt1.o ????

    Problem solved! I found the 1.5 download today and the template I need works. Thanks! Meg
  12. G

    lcrt1.o ????

    I am running Panther and have installed xcode 1.0. I can not get examples or template applications to compile. I get the general error: can't locate file for -lcrt1.o. I searched this forums, and this seems to be a problem with 1.0, but I still can't figure out a solution. One suggestion was to...
  13. G

    Advice on IDE or compiler

    Awh - you are right, I have 3 disks. Our local apple repairman has the 4th. But I'm on my way to the apple developer site to download, etc. Thanks so much! This is just what I need. Meg
  14. G

    Advice on IDE or compiler

    My box only had 2 disks. I'll try and contact Apple about getting the other disks? I don't want to upgrade to Tiger yet unless I absolutely have to. Thanks!
  15. G

    Advice on IDE or compiler

    thanks! Do I need to run the installer to find it? I looked on my CDs (Panther) and did not see it.
  16. G

    Advice on IDE or compiler

    I have not programmed on a mac in a couple of years, and have never programmed in OSX. I was using Codewarrior 6.0 in OS 9, so all my code is in that environment. Most of my code is C, some is native C with a Java interface (which is really ugly to compile and I'm not sure I can do it any more)...
  17. G

    Help with my admin user account

    I have been given a desktop G4 from a friend. I upgraded the system to Panther. I have tried to change the admin account name from my friend's name to mine. But now I can't even access my hard disk! When I click on the disk icon, I get a message that I do not have access privileges. I know all...
  18. G

    Sudden DSL connection problem - network card?

    Thank you!!!!!!!!! This worked! Yes, I had tried unplugging the router. I tried your next suggestion of switching to manual, clicking apply and switching back and apply - and this worked! Thanks so much!!!!
Back
Top