Rev | Line | |
---|
[658] | 1 | #include "pippapplmac.h"
|
---|
| 2 | #include "piupdattachment.h"
|
---|
| 3 | #include "pippmenubar.h"
|
---|
| 4 | #include "pippwindowmac.h"
|
---|
| 5 | #include <LClipboard.h>
|
---|
| 6 |
|
---|
| 7 | PIPPApplMac::PIPPApplMac()
|
---|
| 8 | :LApplication()
|
---|
| 9 | {
|
---|
| 10 | RegisterClass_(PIPPWindowMac);
|
---|
| 11 | AddAttachment(new LClipboard);
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 | PIPPApplMac::~PIPPApplMac()
|
---|
| 16 | {}
|
---|
| 17 |
|
---|
| 18 | void
|
---|
| 19 | PIPPApplMac::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 |
|
---|
| 30 | void
|
---|
| 31 | PIPPApplMac::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.