|
Carlos Lopez |
a09598 |
/*
|
|
Carlos Lopez |
a09598 |
* Rootless window management
|
|
Carlos Lopez |
a09598 |
*
|
|
Carlos Lopez |
a09598 |
* Greg Parker gparker@cs.stanford.edu
|
|
Carlos Lopez |
a09598 |
*/
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
/* Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
Permission is hereby granted, free of charge, to any person
|
|
Carlos Lopez |
a09598 |
obtaining a copy of this software and associated documentation files
|
|
Carlos Lopez |
a09598 |
(the "Software"), to deal in the Software without restriction,
|
|
Carlos Lopez |
a09598 |
including without limitation the rights to use, copy, modify, merge,
|
|
Carlos Lopez |
a09598 |
publish, distribute, sublicense, and/or sell copies of the Software,
|
|
Carlos Lopez |
a09598 |
and to permit persons to whom the Software is furnished to do so,
|
|
Carlos Lopez |
a09598 |
subject to the following conditions:
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
The above copyright notice and this permission notice shall be
|
|
Carlos Lopez |
a09598 |
included in all copies or substantial portions of the Software.
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
Carlos Lopez |
a09598 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
Carlos Lopez |
a09598 |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
Carlos Lopez |
a09598 |
NONINFRINGEMENT. IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT
|
|
Carlos Lopez |
a09598 |
HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
Carlos Lopez |
a09598 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
Carlos Lopez |
a09598 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
Carlos Lopez |
a09598 |
DEALINGS IN THE SOFTWARE.
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
Except as contained in this notice, the name(s) of the above
|
|
Carlos Lopez |
a09598 |
copyright holders shall not be used in advertising or otherwise to
|
|
Carlos Lopez |
a09598 |
promote the sale, use or other dealings in this Software without
|
|
Carlos Lopez |
a09598 |
prior written authorization. */
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
/* $XFree86: xc/programs/Xserver/hw/darwin/quartz/rootlessWindow.h,v 1.2 2002/04/03 00:06:32 torrey Exp $ */
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
#ifndef _ROOTLESSWINDOW_H
|
|
Carlos Lopez |
a09598 |
#define _ROOTLESSWINDOW_H
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
#include "rootless-common.h"
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
Bool RootlessCreateWindow(WindowPtr pWin);
|
|
Carlos Lopez |
a09598 |
Bool RootlessDestroyWindow(WindowPtr pWin);
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
#ifdef SHAPE
|
|
Carlos Lopez |
a09598 |
void RootlessSetShape(WindowPtr pWin);
|
|
Carlos Lopez |
a09598 |
#endif // SHAPE
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
Bool RootlessChangeWindowAttributes(WindowPtr pWin, unsigned long vmask);
|
|
Carlos Lopez |
a09598 |
Bool RootlessPositionWindow(WindowPtr pWin, int x, int y);
|
|
Carlos Lopez |
a09598 |
Bool RootlessRealizeWindow(WindowPtr pWin);
|
|
Carlos Lopez |
a09598 |
Bool RootlessUnrealizeWindow(WindowPtr pWin);
|
|
Carlos Lopez |
a09598 |
void RootlessReparentWindow(WindowPtr pWin, WindowPtr pPriorParent);
|
|
Carlos Lopez |
a09598 |
void RootlessRestackWindow(WindowPtr pWin, WindowPtr pOldNextSib);
|
|
Carlos Lopez |
a09598 |
void RootlessCopyWindow(WindowPtr pWin,DDXPointRec ptOldOrg,RegionPtr prgnSrc);
|
|
Carlos Lopez |
a09598 |
void RootlessMoveWindow(WindowPtr pWin,int x,int y,WindowPtr pSib,VTKind kind);
|
|
Carlos Lopez |
a09598 |
void RootlessResizeWindow(WindowPtr pWin, int x, int y,
|
|
Carlos Lopez |
a09598 |
unsigned int w, unsigned int h, WindowPtr pSib);
|
|
Carlos Lopez |
a09598 |
void RootlessPaintWindowBackground(WindowPtr pWin, RegionPtr pRegion,
|
|
Carlos Lopez |
a09598 |
int what);
|
|
Carlos Lopez |
a09598 |
void RootlessPaintWindowBorder(WindowPtr pWin, RegionPtr pRegion,
|
|
Carlos Lopez |
a09598 |
int what);
|
|
Carlos Lopez |
a09598 |
void RootlessChangeBorderWidth(WindowPtr pWin, unsigned int width);
|
|
Carlos Lopez |
a09598 |
void RootlessPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what);
|
|
Carlos Lopez |
a09598 |
|
|
Carlos Lopez |
a09598 |
#endif
|