/aoo42x/main/vcl/unx/generic/desktopdetect/ |
H A D | desktopdetector.cxx | 54 static bool is_gnome_desktop( Display* pDisplay ) in is_gnome_desktop() argument 71 … Atom* pProperties = XListProperties( pDisplay, DefaultRootWindow( pDisplay ), &nProperties ); in is_gnome_desktop() 94 XQueryTree( pDisplay, DefaultRootWindow( pDisplay ), in is_gnome_desktop() 152 static int KDEVersion( Display* pDisplay ) in KDEVersion() argument 169 XGetWindowProperty( pDisplay, in KDEVersion() 193 static bool is_kde_desktop( Display* pDisplay ) in is_kde_desktop() argument 210 if ( KDEVersion( pDisplay ) == 3 ) in is_kde_desktop() 227 if ( KDEVersion( pDisplay ) == 4 ) in is_kde4_desktop() 233 static bool is_cde_desktop( Display* pDisplay ) in is_cde_desktop() argument 312 if( pDisplay ) in get_desktop_environment() [all …]
|
/aoo42x/main/vcl/unx/generic/gdi/ |
H A D | salgdi.cxx | 163 Display *pDisplay = GetXDisplay(); in freeResources() local 251 Display *pDisplay = GetXDisplay(); in SetClipRegion() local 265 XSetClipMask( pDisplay, pGC, None ); in SetClipRegion() 267 XSetRegion( pDisplay, pGC, Regions[0] ); in SetClipRegion() 274 XSetRegion( pDisplay, pGC, pTmpRegion ); in SetClipRegion() 282 Display *pDisplay = GetXDisplay(); in SelectPen() local 311 Display *pDisplay = GetXDisplay(); in SelectBrush() local 335 XSetTile( pDisplay, pBrushGC_, None ); in SelectBrush() 510 rDPIX = pDisplay->GetResolution().A(); in GetResolution() 511 rDPIY = pDisplay->GetResolution().B(); in GetResolution() [all …]
|
H A D | salgdi3.cxx | 152 Display *pDisplay = GetXDisplay(); in GetFontGC() local 161 pFontGC_ = XCreateGC( pDisplay, hDrawable_, in GetFontGC() 168 XSetForeground( pDisplay, pFontGC_, nTextPixel_ ); in GetFontGC() 507 Display* pDisplay = GetXDisplay(); in DrawCairoAAFontString() local 593 Display* pDisplay = GetXDisplay(); in DrawServerAAFontString() local 692 Display* pDisplay = GetXDisplay(); in DrawServerAAForcedString() local 748 XImage* pImg = XGetImage( pDisplay, hDrawable_, in DrawServerAAForcedString() 783 pImg = XGetImage( pDisplay, hDrawable_, in DrawServerAAForcedString() 868 XPutImage( pDisplay, hDrawable_, nGC, pImg, in DrawServerAAForcedString() 883 Display* pDisplay = GetXDisplay(); in DrawServerSimpleFontString() local [all …]
|
H A D | salvd.cxx | 97 SalDisplay *pDisplay = pDevice->GetDisplay(); in Init() local 100 int nVisualDepth = pDisplay->GetColormap( m_nScreen ).GetVisual().GetDepth(); in Init() 111 m_pColormap = &pDisplay->GetColormap( m_nScreen ); in Init() 125 bWindow_ = pDisplay->IsDisplay(); in Init() 131 sal_Bool X11SalVirtualDevice::Init( SalDisplay *pDisplay, in Init() argument 141 pDisplay_ = pDisplay; in Init() 148 pColormap = new SalColormap( pDisplay, pRenderFormat->colormap, m_nScreen ); in Init() 153 else if( nBitCount != pDisplay->GetVisual( m_nScreen ).GetDepth() ) in Init()
|
H A D | salgdi2.cxx | 81 void X11SalGraphics::CopyScreenArea( Display* pDisplay, in CopyScreenArea() argument 92 XCopyArea( pDisplay, aSrc, aDest, aDestGC, in CopyScreenArea() 351 Display *pDisplay = GetXDisplay(); in SetMask() local 358 XSetClipMask( pDisplay, pMaskGC_, hClipMask ); in SetMask() 375 XFillRectangle( pDisplay, in SetMask() 383 XSetClipOrigin( pDisplay, pMonoGC, -nX, -nY ); in SetMask() 384 XCopyArea( pDisplay, in SetMask() 392 XSetClipMask( pDisplay, pMaskGC_, hPixmap ); in SetMask() 393 XSetClipOrigin( pDisplay, pMaskGC_, nX, nY ); in SetMask() 395 XFreePixmap( pDisplay, hPixmap ); in SetMask() [all …]
|
H A D | salbmp.cxx | 485 X11SalBitmap::SnapShot (Display* pDisplay, XLIB_Window hWindow) in SnapShot() argument 490 XGetWindowAttributes (pDisplay, hWindow, &aAttribute); in SnapShot() 497 if (XTranslateCoordinates (pDisplay, hWindow, aAttribute.root, in SnapShot() 501 XGetWindowAttributes (pDisplay, aAttribute.root, &aRootAttribute); in SnapShot() 546 XImage* pImage = XGetImage( pDisplay, aAttribute.root, in SnapShot() 548 bool bSnapShot = ImplCreateFromXImage( pDisplay, in SnapShot() 570 mpDDB = new ImplSalDDB (pDisplay, hWindow, nScreen, pImage); in ImplCreateFromXImage() 874 ImplSalDDB::ImplSalDDB (Display* pDisplay, XLIB_Window hWindow, int nScreen, XImage* pImage) : in ImplSalDDB() argument 893 aGC = XCreateGC (pDisplay, maPixmap, nValues, &aValues); in ImplSalDDB() 894 XPutImage (pDisplay, maPixmap, aGC, pImage, 0, 0, 0, 0, pImage->width, pImage->height); in ImplSalDDB() [all …]
|
/aoo42x/main/vcl/unx/generic/dtrans/ |
H A D | bmp.cxx | 201 …riteLE( (sal_uInt32)(DisplayWidth(pDisplay,DefaultScreen(pDisplay))*1000/DisplayWidthMM(pDisplay,D… in X11_getPaletteBmpFromImage() 202 …teLE( (sal_uInt32)(DisplayHeight(pDisplay,DefaultScreen(pDisplay))*1000/DisplayHeightMM(pDisplay,D… in X11_getPaletteBmpFromImage() 214 XQueryColors( pDisplay, aColormap, aColors, nColors ); in X11_getPaletteBmpFromImage() 336 …riteLE( (sal_uInt32)(DisplayWidth(pDisplay,DefaultScreen(pDisplay))*1000/DisplayWidthMM(pDisplay,D… in X11_getTCBmpFromImage() 337 …teLE( (sal_uInt32)(DisplayHeight(pDisplay,DefaultScreen(pDisplay))*1000/DisplayHeightMM(pDisplay,D… in X11_getTCBmpFromImage() 345 Display* pDisplay, in X11_getBmpFromPixmap() argument 358 int nScreenNo = ScreenCount( pDisplay ); in X11_getBmpFromPixmap() 361 if( RootWindow( pDisplay, nScreenNo ) == aRoot ) in X11_getBmpFromPixmap() 368 aColormap = DefaultColormap( pDisplay, nScreenNo ); in X11_getBmpFromPixmap() 392 PixmapHolder::PixmapHolder( Display* pDisplay ) : in PixmapHolder() argument [all …]
|
/aoo42x/main/canvas/source/cairo/ |
H A D | cairo_xlib_cairo.cxx | 52 Display* pDisplay = (Display*)pOutDev->GetSystemGfxData().pDisplay; in IsCairoWorking() local 54 return XQueryExtension( pDisplay, "RENDER", &nDummy, &nDummy, &nDummy ); in IsCairoWorking() 58 pDisplay(NULL), in X11SysData() 68 pDisplay(pSysDat.pDisplay), in X11SysData() 78 pDisplay(pSysDat.pDisplay), in X11SysData() 147 cairo_xlib_surface_create( (Display*)rSysData.pDisplay, in X11Surface() 172 cairo_xlib_surface_create( (Display*)rSysData.pDisplay, in X11Surface() 208 if( maSysData.pDisplay && maSysData.hDrawable ) in getSimilar() 228 hPixmap = XCreatePixmap( (Display*)maSysData.pDisplay, maSysData.hDrawable, in getSimilar() 240 (Display*)maSysData.pDisplay, in getSimilar() [all …]
|
H A D | cairo_xlib_cairo.hxx | 41 void* pDisplay; // the relevant display connection member 56 X11Pixmap( long hDrawable, void* pDisplay ) : in X11Pixmap() 57 mpDisplay(pDisplay), in X11Pixmap()
|
/aoo42x/main/vcl/unx/generic/window/ |
H A D | salobj.cxx | 64 if ( ! XShapeQueryExtension( (Display*)pObjData->pDisplay, in CreateObject() 167 pObjData->pDisplay = pDisp; in CreateObject() 283 XSync( (Display*)maSystemChildData.pDisplay, False ); in ~X11SalObject() 302 XGetWindowAttributes ( (Display*)maSystemChildData.pDisplay, in ResetClipRegion() 311 XShapeCombineRectangles ( (Display*)maSystemChildData.pDisplay, in ResetClipRegion() 363 XShapeCombineRectangles ( (Display*)maSystemChildData.pDisplay, in EndSetClipRegion() 403 XMapWindow( (Display*)maSystemChildData.pDisplay, in Show() 405 XMapWindow( (Display*)maSystemChildData.pDisplay, in Show() 408 XUnmapWindow( (Display*)maSystemChildData.pDisplay, in Show() 410 XUnmapWindow( (Display*)maSystemChildData.pDisplay, in Show() [all …]
|
H A D | salframe.cxx | 112 pDisplay->GetXLib()->PushXErrorLevel( true ); in doReparentPresentationDialogues() 118 XGetGeometry( pDisplay->GetDisplay(), in doReparentPresentationDialogues() 128 XReparentWindow( pDisplay->GetDisplay(), in doReparentPresentationDialogues() 136 XSync( pDisplay->GetDisplay(), False ); in doReparentPresentationDialogues() 137 pDisplay->GetXLib()->PopXErrorLevel(); in doReparentPresentationDialogues() 1859 Display* pDisplay = GetXDisplay(); in SnapShot() local 1865 XSync(pDisplay, False); in SnapShot() 1868 while (XPending(pDisplay)); in SnapShot() 1875 XSync(pDisplay, False); in SnapShot() 1878 while (XPending(pDisplay)); in SnapShot() [all …]
|
/aoo42x/main/vcl/unx/generic/app/ |
H A D | soicon.cxx | 43 sal_Bool SelectAppIconPixmap( SalDisplay *pDisplay, int nScreen,sal_uInt16 nIcon, sal_uInt16 iconSi… in SelectAppIconPixmap() argument 73 icon_pixmap = XCreatePixmap( pDisplay->GetDisplay(), in SelectAppIconPixmap() 74 pDisplay->GetRootWindow( nScreen ), in SelectAppIconPixmap() 76 DefaultDepth( pDisplay->GetDisplay(), nScreen ) in SelectAppIconPixmap() 81 DefaultDepth( pDisplay->GetDisplay(), nScreen ), in SelectAppIconPixmap() 83 DefaultGC(pDisplay->GetDisplay(), nScreen ) ); in SelectAppIconPixmap() 89 icon_mask = XCreatePixmap( pDisplay->GetDisplay(), in SelectAppIconPixmap() 90 pDisplay->GetRootWindow( pDisplay->GetDefaultScreenNumber() ), in SelectAppIconPixmap() 97 GC aMonoGC = XCreateGC( pDisplay->GetDisplay(), icon_mask, in SelectAppIconPixmap() 107 XFreeGC( pDisplay->GetDisplay(), aMonoGC ); in SelectAppIconPixmap()
|
H A D | salinst.cxx | 196 Display *pDisplay = pSalData->GetDisplay()->GetDisplay(); in AnyInput() local 204 else if (XPending(pDisplay) ) in AnyInput() 212 XCheckIfEvent(pDisplay, &aEvent, ImplPredicateEvent, in AnyInput() 282 static const char* pDisplay = getenv( "DISPLAY" ); in GetConnectionIdentifier() local 284 rReturnedBytes = pDisplay ? strlen( pDisplay )+1 : 1; in GetConnectionIdentifier() 285 return pDisplay ? (void*)pDisplay : (void*)""; in GetConnectionIdentifier() 359 Display *pDisplay = GetX11SalData()->GetDisplay()->GetDisplay(); in FillFontPathList() local 361 DBG_ASSERT( pDisplay, "No Display !" ); in FillFontPathList() 362 if( pDisplay ) in FillFontPathList() 366 char** pPaths = XGetFontPath( pDisplay, &nPaths ); in FillFontPathList()
|
H A D | saldata.cxx | 229 int X11SalData::XErrorHdl( Display *pDisplay, XErrorEvent *pEvent ) in XErrorHdl() argument 231 GetX11SalData()->XError( pDisplay, pEvent ); in XErrorHdl() 432 char *pDisplay = getenv("DISPLAY"); in Init() local 433 if (pDisplay != NULL) in Init() 434 aDisplay = rtl::OString(pDisplay); in Init() 435 pDisp = XOpenDisplay(pDisplay); in Init() 487 static void PrintXError( Display *pDisplay, XErrorEvent *pEvent ) in PrintXError() argument 511 pEvent->serial, LastKnownRequestProcessed(pDisplay) ); in PrintXError() 523 void SalXLib::XError( Display *pDisplay, XErrorEvent *pEvent ) in XError() argument 554 if( pDisplay != GetX11SalData()->GetDisplay()->GetDisplay() ) in XError() [all …]
|
H A D | i18n_im.cxx | 370 SalI18N_InputMethod::CreateMethod ( Display *pDisplay ) in CreateMethod() argument 383 maMethod = XvaOpenIM(pDisplay, NULL, NULL, NULL, in CreateMethod() 423 maMethod = XOpenIM(pDisplay, NULL, NULL, NULL); in CreateMethod() 432 maMethod = XOpenIM(pDisplay, NULL, NULL, NULL); in CreateMethod() 573 InputMethod_ConnectionWatchProc (Display *pDisplay, XPointer pClientData, in InputMethod_ConnectionWatchProc() argument 583 pConnectionHandler->Insert (nFileDescriptor, pDisplay, in InputMethod_ConnectionWatchProc() 595 SalI18N_InputMethod::AddConnectionWatch(Display *pDisplay, void *pConnectionHandler) in AddConnectionWatch() argument 598 if (pDisplay == NULL || pConnectionHandler == NULL) in AddConnectionWatch() 609 Status nStatus = XAddConnectionWatch (pDisplay, InputMethod_ConnectionWatchProc, in AddConnectionWatch()
|
H A D | i18n_status.cxx | 211 XTranslateCoordinates( (Display*)pParentEnvData->pDisplay, in updatePosition() 283 XRaiseWindow( (Display*)pData->pDisplay, in IMPL_LINK() 373 XMoveWindow( (Display*)pEnvData->pDisplay, in IIIMPStatusWindow() 469 XSetInputFocus( (Display*)pParentEnvData->pDisplay, in GetFocus() 474 XSync( (Display*)pParentEnvData->pDisplay, False ); in GetFocus() 502 XSetInputFocus( (Display*)pEnv->pDisplay, in IMPL_LINK() 507 XSync( (Display*)pEnv->pDisplay, False ); in IMPL_LINK() 666 XRaiseWindow( (Display*)pData->pDisplay, in toTop()
|
H A D | saldisp.cxx | 283 sal_IsLocalDisplay( Display *pDisplay ) in sal_IsLocalDisplay() argument 405 sal_Bool SalDisplay::BestVisual( Display *pDisplay, in BestVisual() argument 599 , SalX11Display *pDisplay ) in DisplayHasEvent() argument 603 if( ! pDisplay->IsDisplay() ) in DisplayHasEvent() 609 return pDisplay->IsEvent(); in DisplayHasEvent() 615 , SalX11Display *pDisplay ) in DisplayQueue() argument 622 return XEventsQueued( pDisplay->GetDisplay(), in DisplayQueue() 629 , SalX11Display *pDisplay ) in DisplayYield() argument 636 pDisplay->Yield(); in DisplayYield() 1059 return XkbKeycodeToKeysym( pDisplay, in sal_XModifier2Keysym() [all …]
|
H A D | randrwrapper.cxx | 137 RandRWrapper::RandRWrapper( Display* pDisplay ) : in RandRWrapper() argument 167 if( ! m_pXRRQueryExtension( pDisplay, &nEventBase, &nErrorBase ) ) in RandRWrapper() 251 RandRWrapper::RandRWrapper( Display* pDisplay ) : 255 if( !XRRQueryExtension( pDisplay, &nEventBase, &nErrorBase ) )
|
/aoo42x/main/sd/source/ui/inc/taskpane/ |
H A D | SlideSorterCacheDisplay.hxx | 130 ::sd::toolpanel::SlideSorterCacheDisplay* pDisplay in SscdSetStatus() 133 if (pDisplay != NULL) in SscdSetStatus() 134 pDisplay->SetPageStatus((pPage->GetPageNum()-1)/2, eStatus); in SscdSetStatus() 156 ::sd::toolpanel::SlideSorterCacheDisplay* pDisplay in SscdSetVisibility() 159 if (pDisplay != NULL) in SscdSetVisibility() 160 pDisplay->SetPageVisibility(nIndex, bVisible); in SscdSetVisibility() 167 ::sd::toolpanel::SlideSorterCacheDisplay* pDisplay in SscdSetUpToDate() 170 if (pDisplay != NULL) in SscdSetUpToDate() 171 pDisplay->SetUpToDate((pPage->GetPageNum()-1)/2, bUpToDate); in SscdSetUpToDate()
|
/aoo42x/main/autodoc/source/exes/adc_uni/ |
H A D | cmd_sincedata.cxx | 105 const char * pDisplay = strchr(pVersionEnd+1, '"'); in do_Init() local 106 if (pDisplay == 0) in do_Init() 108 ++pDisplay; in do_Init() 109 const char * pDisplayEnd = strchr(pDisplay, '"'); in do_Init() 114 = String(pDisplay,pDisplayEnd); in do_Init()
|
H A D | adc_cmds.cxx | 140 pDisplay( rToolsFactory.Create_HtmlDisplay_Idl() ); in run_Idl() local 147 pDisplay->Run( sOutputRootDirectory, in run_Idl() 163 pDisplay( rToolsFactory.Create_HtmlDisplay_UdkStd() ); in run_Cpp() local 165 pDisplay->Run( sOutputRootDirectory, in run_Cpp()
|
/aoo42x/main/vcl/inc/unx/ |
H A D | saldata.hxx | 72 inline void XError( Display *pDisplay, XErrorEvent *pEvent ) const; 76 void SetSalDisplay( SalDisplay* pDisplay ) in SetSalDisplay() argument 77 { m_pSalDisplay = pDisplay; } in SetSalDisplay() 107 inline void X11SalData::XError( Display *pDisplay, XErrorEvent *pEvent ) const in XError() argument 108 { pXLib_->XError( pDisplay, pEvent ); } in XError()
|
/aoo42x/main/vcl/unx/gtk/app/ |
H A D | gtkdata.cxx | 68 GtkSalDisplay::GtkSalDisplay( GdkDisplay* pDisplay ) in GtkSalDisplay() argument 69 : SalDisplay( gdk_x11_display_get_xdisplay( pDisplay ) ), in GtkSalDisplay() 70 m_pGdkDisplay( pDisplay ), in GtkSalDisplay() 137 GtkSalDisplay *pDisplay = (GtkSalDisplay *)data; in filterGdkEvent() local 146 if (pDisplay->GetDisplay() == pEvent->xany.display ) in filterGdkEvent() 154 pEvent->xproperty.atom == pDisplay->getWMAdaptor()->getAtom( WMAdaptor::XSETTINGS ) && in filterGdkEvent() 155 ! pDisplay->m_aFrames.empty() in filterGdkEvent() 158 … pDisplay->SendInternalEvent( pDisplay->m_aFrames.front(), NULL, SALEVENT_SETTINGSCHANGED ); in filterGdkEvent() 162 for( std::list< SalFrame* >::const_iterator it = pDisplay->m_aFrames.begin(); in filterGdkEvent() 163 it != pDisplay->m_aFrames.end(); ++it ) in filterGdkEvent()
|
/aoo42x/main/fpicker/source/unx/gnome/ |
H A D | SalGtkPicker.cxx | 150 …GdkDisplay *pDisplay = aWindowHandle.DisplayPointer ? gdk_x11_lookup_xdisplay(reinterpret_cast<voi… in RunDialog() local 151 …GdkWindow* pParent = pDisplay ? gdk_window_lookup_for_display(pDisplay, aWindowHandle.WindowHandle… in RunDialog() 152 if (!pParent && pDisplay) in RunDialog() 153 …pParent = mpCreatedParent = gdk_window_foreign_new_for_display( pDisplay, aWindowHandle.WindowHand… in RunDialog()
|
/aoo42x/main/vcl/unx/gtk/window/ |
H A D | gtkframe.cxx | 589 m_aSystemData.pDisplay = pDisp->GetDisplay(); in InitCommon() 685 XSetWMHints( pDisplay, aWindow, pHints ); in lcl_set_accept_focus() 698 XGetWMProtocols( pDisplay, in lcl_set_accept_focus() 741 XChangeProperty( pDisplay, aWindow, in lcl_set_user_time() 1910 GdkDisplay *pDisplay = gdk_screen_get_display( pScreen ); in setAutoLock() local 1918 XChangeProperty( GDK_DISPLAY_XDISPLAY( pDisplay ), in setAutoLock() 2045 XGetScreenSaver( pDisplay, &nTimeout, &nInterval, in StartPresentation() 2052 XResetScreenSaver( pDisplay ); in StartPresentation() 2053 XSetScreenSaver( pDisplay, 0, nInterval, in StartPresentation() 2064 XSetScreenSaver( pDisplay, m_nSavedScreenSaverTimeout, in StartPresentation() [all …]
|