Lines Matching refs:pHints
547 XSizeHints* pHints = XAllocSizeHints(); in Init() local
548 pHints->flags = PWinGravity | PPosition; in Init()
549 pHints->win_gravity = GetDisplay()->getWMAdaptor()->getPositionWinGravity(); in Init()
550 pHints->x = 0; in Init()
551 pHints->y = 0; in Init()
554 pHints->flags |= PMaxSize | PMinSize; in Init()
555 pHints->max_width = w+100; in Init()
556 pHints->max_height = h+100; in Init()
557 pHints->min_width = w; in Init()
558 pHints->min_height = h; in Init()
562 pHints ); in Init()
563 XFree (pHints); in Init()
1058 XWMHints *pHints = XGetWMHints( GetXDisplay(), GetShellWindow() ); in SetIcon() local
1059 if( pHints ) in SetIcon()
1061 memcpy(&Hints, pHints, sizeof( XWMHints )); in SetIcon()
1062 XFree( pHints ); in SetIcon()
1064 pHints = &Hints; in SetIcon()
1068 pHints->icon_pixmap, pHints->icon_mask ); in SetIcon()
1074 pHints->icon_pixmap, pHints->icon_mask ); in SetIcon()
1078 pHints->flags |= IconPixmapHint; in SetIcon()
1079 if( pHints->icon_mask ) in SetIcon()
1080 pHints->flags |= IconMaskHint; in SetIcon()
1082 XSetWMHints( GetXDisplay(), GetShellWindow(), pHints ); in SetIcon()
1095 XSizeHints* pHints = XAllocSizeHints(); in SetMaxClientSize() local
1099 pHints, in SetMaxClientSize()
1102 pHints->max_width = nWidth; in SetMaxClientSize()
1103 pHints->max_height = nHeight; in SetMaxClientSize()
1104 pHints->flags |= PMaxSize; in SetMaxClientSize()
1107 pHints ); in SetMaxClientSize()
1108 XFree( pHints ); in SetMaxClientSize()
1119 XSizeHints* pHints = XAllocSizeHints(); in SetMinClientSize() local
1123 pHints, in SetMinClientSize()
1126 pHints->min_width = nWidth; in SetMinClientSize()
1127 pHints->min_height = nHeight; in SetMinClientSize()
1128 pHints->flags |= PMinSize; in SetMinClientSize()
1131 pHints ); in SetMinClientSize()
1132 XFree( pHints ); in SetMinClientSize()
1672 XSizeHints* pHints = XAllocSizeHints(); in SetWindowState() local
1676 pHints, in SetWindowState()
1678 pHints->flags |= PPosition | PWinGravity; in SetWindowState()
1679 pHints->x = pState->mnX; in SetWindowState()
1680 pHints->y = pState->mnY; in SetWindowState()
1681 pHints->win_gravity = pDisplay_->getWMAdaptor()->getPositionWinGravity(); in SetWindowState()
1684 pHints ); in SetWindowState()
1685 XFree( pHints ); in SetWindowState()
1939 XSizeHints* pHints = XAllocSizeHints(); in SetSize() local
1943 pHints, in SetSize()
1946 pHints->min_width = rSize.Width(); in SetSize()
1947 pHints->min_height = rSize.Height(); in SetSize()
1948 pHints->max_width = rSize.Width(); in SetSize()
1949 pHints->max_height = rSize.Height(); in SetSize()
1950 pHints->flags |= PMinSize | PMaxSize; in SetSize()
1953 pHints ); in SetSize()
1954 XFree( pHints ); in SetSize()
2032 XSizeHints* pHints = XAllocSizeHints(); in SetPosSize() local
2036 pHints, in SetPosSize()
2041 pHints->min_width = rPosSize.GetWidth(); in SetPosSize()
2042 pHints->min_height = rPosSize.GetHeight(); in SetPosSize()
2043 pHints->max_width = rPosSize.GetWidth(); in SetPosSize()
2044 pHints->max_height = rPosSize.GetHeight(); in SetPosSize()
2045 pHints->flags |= PMinSize | PMaxSize; in SetPosSize()
2049 pHints->flags |= PPosition | PWinGravity; in SetPosSize()
2050 pHints->x = values.x; in SetPosSize()
2051 pHints->y = values.y; in SetPosSize()
2052 pHints->win_gravity = pDisplay_->getWMAdaptor()->getPositionWinGravity(); in SetPosSize()
2056 pHints->max_width = 10000; in SetPosSize()
2057 pHints->max_height = 10000; in SetPosSize()
2058 pHints->flags |= PMaxSize; in SetPosSize()
2062 pHints ); in SetPosSize()
2063 XFree( pHints ); in SetPosSize()