Netscape navigator for mac osx
- Netscape navigator for mac osx mac os#
- Netscape navigator for mac osx pdf#
- Netscape navigator for mac osx update#
- Netscape navigator for mac osx software#
- Netscape navigator for mac osx code#
How do I manage Keyboard Events and the cursor ?If you're using the SDK sample code to write your plug-in and you implement keyboard management on keydown events, surprise ! No keyboard input is taken into account.
Netscape navigator for mac osx update#
You will just notice that the NPWindow and NP_Por values have changed when you receive an update Event.
You get aware of a resizement with a new call to the NPP_SetWindow function.įor scrolling, you're never informed. If you want to manage an OpenGL view inside a Plug-In, be aware that it's a nightmare the first time you code it.Īnother important point concerns resizing and scrolling. What is the exact puprose of the x and y coordinates of the NPWindow structure ? They are the actual corrdinates of the top-left corner of the Plug-In. The width and height parameters of the NPWindow structure indicate the Plug-In dimension. The portx and porty datas are also used to define the new QuickDraw origin for the Plug-In. This is done with the clipRect parameter of the NPWindow structure and the portx and porty parameters of the NP_Port structure. They are not obvious to remember (while I'm writing these lines, I have to read the code to check).įirst, all drawings are clipped. Some hours of debugging at candles light gave me some answers that you can't find in the documentation. If you're like me, a curious guy or a first-class life sucker, you will wonder what is inside the NP_Port and NPWindow structure. Indeed, when you're drawing, you must set your drawing context and later restore the former drawing context. When it comes to drawing, you can have a look at the code in the MacShell.cpp file. How do I draw in a Plug-In ?If you want to create a Plug-In, it's usually to draw somthing inside the Browser Window (except for Audio Plug-In, I don't see what kind of Plug-In would draw nothing. Evenmore, this will allow you to compile a new version of the Plug-In and not have to put it every time at the good location. This will allow you to have only one real Plug-In for every Browsers: good bye Version Management. Instead, put an alias of your Plug-In the the Browser Plug-In folder. Where do I put my Plug-In ?In the Browser Plug-In folder, of course. Some little modifications are needed to make the project compile but, well, you're a true developer, aren't you ? Trust me when I say that you probably won't want to support LiveConnect in your Plug-In. I quickly came to the fact that getting off LiveConnect code is a boring task.
Netscape navigator for mac osx pdf#
I strongly recommend reading the documentation, it sheds light on some completely dark points in the SDK and sample codes.įor my part, I prefer the PDF version that doesn't kill my eyes when I'm reading it. Yet, this SDK contains some APIs that are only compatible with the fourth versions of the Browsers (Explorer 4.0 and Communicator 4.0) If you wish to make your plug-in work with older versions, you can still use that SDK, just don't call these new APIs (they are so really so great IMHO). It includes projects that can be converted with recent versions of CodeWarrior Pro. It includes projects for prehistoric CodeWarrior version (7.0 or 8.0) that can't be used with the most recent version of CodeWarrior (Pro x).
Netscape navigator for mac osx software#
Where can I find the Software Development Kit (SDK) and the Documentation ?First, you must know that there are two versions of the SDK : on Mac OS, the later is not available yet. I didn't check the Hot-Java and Opera Browsers. Netscape Navigator 2.x (and later) and Netscape Communicator.The documentation doesn't deal with the incompatibilities between Microsoft Internet Explorer and Netscape Communicator in the Plug-In Area.The documentation doesn't deal with problems you meet when you're developing a Plug-In on Mac OS.It's just because it's a multi-platform documentation. The documentation forgets to mention or doesn't insist on certain points specific to the Mac.It's not obvious to find the good links on Netscape's web site to retrieve the SDKs and the documentation.Why such a page ?There are various reasons to the existence of this page :
Netscape navigator for mac osx mac os#
Netscape Plug-In Development on Mac OS Netscape Plug-In Development on Mac OS