source: Sophya/trunk/Poubelle/DPC:FitsIOServer/PI/pippapplmac.cc@ 658

Last change on this file since 658 was 658, checked in by ansari, 26 years ago

no message

File size: 837 bytes
Line 
1#include "pippapplmac.h"
2#include "piupdattachment.h"
3#include "pippmenubar.h"
4#include "pippwindowmac.h"
5#include <LClipboard.h>
6
7PIPPApplMac::PIPPApplMac()
8:LApplication()
9{
10 RegisterClass_(PIPPWindowMac);
11 AddAttachment(new LClipboard);
12}
13
14
15PIPPApplMac::~PIPPApplMac()
16{}
17
18void
19PIPPApplMac::AdjustCursor(const EventRecord &inMacEvent)
20{
21 PIUpdAttachment::hit = false;
22 LApplication::AdjustCursor(inMacEvent);
23 if (!PIUpdAttachment::hit) {
24 if (PIUpdAttachment::lastCursPane)
25 PIUpdAttachment::lastCursPane->myWdg->Leave();
26 PIUpdAttachment::lastCursPane = NULL;
27 }
28}
29
30void
31PIPPApplMac::MakeMenuBar()
32{
33 //new PIPPMenuBar();
34}
35
36
37
38// $CHECK$
39// Gerer AllowSubRemoval, qui envoie un evenement a l'application PI.
40// Eventuellement avoir des fenetres qui se cachent lors d'un close et d'autres
41// qui se detruisent ??
Note: See TracBrowser for help on using the repository browser.