mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
Tidied event function names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4196 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dd3215379e
commit
907642ce43
2 changed files with 24 additions and 11 deletions
|
@ -1816,22 +1816,30 @@ DPScapturegstate(GSCTXT *ctxt, int *gst)
|
|||
/* GNUstep Event and other I/O extensions */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
static inline NSEvent*
|
||||
DPSGetEventMatchingMaskBeforeDateInModeDequeue(GSCTXT *ctxt, unsigned mask, NSDate* limit, NSString *mode, BOOL dequeue)
|
||||
DPSGetEvent(GSCTXT *ctxt, unsigned mask, NSDate* limit, NSString *mode)
|
||||
{
|
||||
return (ctxt->methods->DPSGetEventMatchingMask_beforeDate_inMode_dequeue_)
|
||||
(ctxt, @selector(DPSGetEventMatchingMask:beforeDate:inMode:dequeue:),
|
||||
mask, limit, mode, dequeue);
|
||||
mask, limit, mode, NO);
|
||||
}
|
||||
|
||||
static inline NSEvent*
|
||||
DPSPeekEvent(GSCTXT *ctxt, unsigned mask, NSDate* limit, NSString *mode)
|
||||
{
|
||||
return (ctxt->methods->DPSGetEventMatchingMask_beforeDate_inMode_dequeue_)
|
||||
(ctxt, @selector(DPSGetEventMatchingMask:beforeDate:inMode:dequeue:),
|
||||
mask, limit, mode, YES);
|
||||
}
|
||||
|
||||
static inline void
|
||||
DPSDiscardEventsMatchingMaskBeforeEvent(GSCTXT *ctxt, unsigned mask, NSEvent* limit)
|
||||
DPSDiscardEvents(GSCTXT *ctxt, unsigned mask, NSEvent* limit)
|
||||
{
|
||||
(ctxt->methods->DPSDiscardEventsMatchingMask_beforeEvent_)
|
||||
(ctxt, @selector(DPSDiscardEventsMatchingMask:beforeEvent:), mask, limit);
|
||||
}
|
||||
|
||||
static inline void
|
||||
DPSPostEventAtStart(GSCTXT *ctxt, NSEvent* anEvent, BOOL atStart)
|
||||
DPSPostEvent(GSCTXT *ctxt, NSEvent* anEvent, BOOL atStart)
|
||||
{
|
||||
(ctxt->methods->DPSPostEvent_atStart_)
|
||||
(ctxt, @selector(DPSPostEvent:atStart:), anEvent, atStart);
|
||||
|
|
|
@ -1658,22 +1658,27 @@ PScapturegstate(int *gst)
|
|||
/* GNUstep Event and other I/O extensions */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
static inline NSEvent*
|
||||
PSGetEventMatchingMaskBeforeDateInModeDequeue(unsigned mask, NSDate* limit, NSString *mode, BOOL dequeue)
|
||||
PSGetEvent(unsigned mask, NSDate* limit, NSString *mode)
|
||||
{
|
||||
return DPSGetEventMatchingMaskBeforeDateInModeDequeue(DEFCTXT,
|
||||
mask, limit, mode, dequeue);
|
||||
return DPSGetEvent(DEFCTXT, mask, limit, mode);
|
||||
}
|
||||
|
||||
static inline NSEvent*
|
||||
PSPeekEvent(unsigned mask, NSDate* limit, NSString *mode)
|
||||
{
|
||||
return DPSPeekEvent(DEFCTXT, mask, limit, mode);
|
||||
}
|
||||
|
||||
static inline void
|
||||
PSDiscardEventsMatchingMaskBeforeEvent(unsigned mask, NSEvent* limit)
|
||||
PSDiscardEvents(unsigned mask, NSEvent* limit)
|
||||
{
|
||||
DPSDiscardEventsMatchingMaskBeforeEvent(DEFCTXT, mask, limit);
|
||||
DPSDiscardEvents(DEFCTXT, mask, limit);
|
||||
}
|
||||
|
||||
static inline void
|
||||
PSPostEventAtStart(NSEvent* anEvent, BOOL atStart)
|
||||
PSPostEvent(NSEvent* anEvent, BOOL atStart)
|
||||
{
|
||||
DPSPostEventAtStart(DEFCTXT, anEvent, atStart);
|
||||
DPSPostEvent(DEFCTXT, anEvent, atStart);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue