mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
New DPS operator
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5382 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7f6cc95d63
commit
4a4c22fdc0
5 changed files with 28 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
Sat Dec 4 19:41:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
Additional DPS operator in preparation for fixing window code to
|
||||
handle window-manager decoration of windows correctly.
|
||||
* Source/NSGraphicsContext.m: Added method for getting style info.
|
||||
* Headers/AppKit/NSGraphicsContext.h: ditto
|
||||
* Headers/AppKit/DPSOperators.h: ditto
|
||||
* Headers/AppKit/GSMethodTable.h: ditto
|
||||
|
||||
Fri Dec 3 14:53:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSPopUpButtonCell.m: arbitrary hacks to get window positioning
|
||||
|
|
|
@ -912,6 +912,10 @@ static inline void
|
|||
DPSsetcursorcolor(GSCTXT *ctxt, float fr, float fg, float fb, float br, float bg, float bb, void * cid)
|
||||
__attribute__((unused));
|
||||
|
||||
static inline void
|
||||
DPSstyleoffsets(GSCTXT *ctxt, float *l, float *r, float *t, float *b, int style)
|
||||
__attribute__((unused));
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* Color operations */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
@ -2432,6 +2436,13 @@ DPSsetcursorcolor(GSCTXT *ctxt, float fr, float fg, float fb, float br, float bg
|
|||
(ctxt, @selector(DPSsetcursorcolor:::::::), fr, fg, fb, br, bg, bb, cid);
|
||||
}
|
||||
|
||||
static inline void
|
||||
DPSstyleoffsets(GSCTXT *ctxt, float *l, float *r, float *t, float *b, int style)
|
||||
{
|
||||
(ctxt->methods->DPSstyleoffsets_____)
|
||||
(ctxt, @selector(DPSstyleoffsets:::::), l, r, t, b, style);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* GNUstep Event and other I/O extensions */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
|
|
@ -495,6 +495,8 @@ typedef struct {
|
|||
(NSGraphicsContext*, SEL, float, float, float, float, int, const char *, void **);
|
||||
void (*DPSsetcursorcolor_______)
|
||||
(NSGraphicsContext*, SEL, float, float, float, float, float, float, void *);
|
||||
void (*DPSstyleoffsets_____)
|
||||
(NSGraphicsContext*, SEL, float*, float*, float*, float*, int);
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* GNUstep Event and other I/O extensions */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
|
|
@ -406,6 +406,7 @@ NSGraphicsContext *GSCurrentContext();
|
|||
- (void) DPSstandardcursor: (int) style : (void **) cid ;
|
||||
- (void) DPSimagecursor: (float) hotx : (float) hoty : (float) w : (float) h : (int) colors : (const char *) image : (void **) cid ;
|
||||
- (void) DPSsetcursorcolor: (float) fr : (float) fg : (float) fb : (float) br : (float) bg : (float) bb : (void *) cid ;
|
||||
- (void) DPSstyleoffsets: (float*) l : (float*) r : (float*) t : (float*) b : (int) style ;
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* GNUstep Event and other I/O extensions */
|
||||
|
|
|
@ -1952,6 +1952,11 @@ NSGraphicsContext *GSCurrentContext()
|
|||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
- (void) DPSstyleoffsets: (float *) r : (float *) l : (float *) t : (float *) b : (int) style ;
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* GNUstep Event and other I/O extensions */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
|
Loading…
Reference in a new issue