| /xsrc/external/mit/bitmap/dist/ |
| H A D | ReqMach.c | 75 BitmapWidget BW = (BitmapWidget) w; local in function:BWAddRequest 81 fprintf(stderr, "Adding... Cardinal: %d\n", BW->bitmap.cardinal + 1); 83 BW->bitmap.request_stack = (BWRequestStack *) 84 XtRealloc((char *)BW->bitmap.request_stack, 85 (++BW->bitmap.cardinal + 1) * sizeof(BWRequestStack)); 87 BW->bitmap.request_stack[BW->bitmap.cardinal].request = request; 88 BW->bitmap.request_stack[BW->bitmap.cardinal].status = 90 BW 110 Engage(BitmapWidget BW,Cardinal current) argument 138 TrappingLoop(BitmapWidget BW) argument 164 BitmapWidget BW = (BitmapWidget) w; local in function:BWTerminateRequest 209 BitmapWidget BW = (BitmapWidget) w; local in function:BWRemoveRequest 249 BitmapWidget BW = (BitmapWidget) w; local in function:BWEngageRequest [all...] |
| H A D | Graphics.c | 78 BitmapWidget BW = (BitmapWidget) w; 80 if (QueryInBitmap(BW, x, y)) 81 return GetBit(BW->bitmap.image, x, y); 101 #define HighlightSquare(BW, x, y)\ 102 XFillRectangle(XtDisplay(BW), XtWindow(BW),\ 103 BW->bitmap.highlighting_gc,\ 104 InWindowX(BW, x), InWindowY(BW, y),\ 105 BW 144 BitmapWidget BW = (BitmapWidget) w; local in function:BWDrawPoint 155 HotSpotShape(BitmapWidget BW,Position x,Position y) argument 189 BitmapWidget BW = (BitmapWidget) w; local in function:BWRedrawHotSpot 198 BitmapWidget BW = (BitmapWidget) w; local in function:BWClearHotSpot 209 BitmapWidget BW = (BitmapWidget) w; local in function:BWDrawHotSpot 247 BitmapWidget BW = (BitmapWidget) w; local in function:BWRedrawSquares 270 BitmapWidget BW = (BitmapWidget) w; local in function:BWDrawGrid 299 BitmapWidget BW = (BitmapWidget) w; local in function:BWRedrawGrid 498 FloodLoop(BitmapWidget BW,Position x,Position y,int value) argument 585 BitmapWidget BW = (BitmapWidget) w; local in function:BWFloodFill 606 BitmapWidget BW = (BitmapWidget) w; local in function:BWUp 652 BitmapWidget BW = (BitmapWidget) w; local in function:BWDown 696 BitmapWidget BW = (BitmapWidget) w; local in function:BWLeft 741 BitmapWidget BW = (BitmapWidget) w; local in function:BWRight 787 BitmapWidget BW = (BitmapWidget) w; local in function:BWFold 832 BitmapWidget BW = (BitmapWidget) w; local in function:BWClear 851 BitmapWidget BW = (BitmapWidget) w; local in function:BWSet 870 BitmapWidget BW = (BitmapWidget) w; local in function:BWRedraw 880 BitmapWidget BW = (BitmapWidget) w; local in function:BWInvert 898 BitmapWidget BW = (BitmapWidget) w; local in function:BWFlipHoriz 939 BitmapWidget BW = (BitmapWidget) w; local in function:BWFlipVert 981 BitmapWidget BW = (BitmapWidget) w; local in function:BWRotateRight 1063 BitmapWidget BW = (BitmapWidget) w; local in function:BWRotateLeft 1162 ConvertToBitmapImage(BitmapWidget BW,XImage * image) argument 1195 BitmapWidget BW = (BitmapWidget) w; local in function:BWStore 1222 BitmapWidget BW = (BitmapWidget) w; local in function:BWClearMarked 1237 BitmapWidget BW = (BitmapWidget) w; local in function:BWDragMarked 1250 BitmapWidget BW = (BitmapWidget) w; local in function:BWDragStored 1261 DrawImageData(BitmapWidget BW,XImage * image,Position at_x,Position at_y,int value) argument 1290 BitmapWidget BW = (BitmapWidget) w; local in function:BWRestore 1301 BitmapWidget BW = (BitmapWidget) w; local in function:BWCopy 1331 BitmapWidget BW = (BitmapWidget) w; local in function:BWMove 1368 BitmapWidget BW = (BitmapWidget) w; local in function:BWRedrawMark 1383 BitmapWidget BW = (BitmapWidget) w; local in function:BWStoreToBuffer 1395 BitmapWidget BW = (BitmapWidget) w; local in function:BWUnmark 1417 BitmapWidget BW = (BitmapWidget) w; local in function:BWMark 1458 BitmapWidget BW = (BitmapWidget) w; local in function:BWMarkAll 1466 BitmapWidget BW = (BitmapWidget) w; local in function:BWUndo 1497 BitmapWidget BW = (BitmapWidget) w; local in function:BWHighlightAxes 1531 ScaleBitmapImage(BitmapWidget BW,XImage * src,double scale_x,double scale_y) argument [all...] |
| H A D | Bitmap.c | 316 static void Refresh(BitmapWidget BW, Position x, Position y, 380 BitmapWidget BW = (BitmapWidget) w; local in function:BWGetPixmap 382 return GetPixmap(BW, BW->bitmap.zoom.image); 388 BitmapWidget BW = (BitmapWidget) w; local in function:BWGetUnzoomedPixmap 392 if (BW->bitmap.zooming) { 394 BW->bitmap.zoom.image->width, 395 BW->bitmap.zoom.image->height, 1); 403 BW->bitmap.zoom.image, 405 BW 437 GetImage(BitmapWidget BW,Pixmap pixmap) argument 456 CreateBitmapImage(BitmapWidget BW,char * data,Dimension width,Dimension height) argument 508 BitmapWidget BW = (BitmapWidget) w; local in function:BWChangeNotify 517 BitmapWidget BW = (BitmapWidget) w; local in function:BWNotify 525 BitmapWidget BW = (BitmapWidget) w; local in function:BWSetChanged 533 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryChanged 541 BitmapWidget BW = (BitmapWidget) w; local in function:BWClearChanged 549 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryStored 557 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryStippled 563 RedrawStippled(BitmapWidget BW) argument 588 BitmapWidget BW = (BitmapWidget) w; local in function:BWSwitchStippled 611 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryAxes 619 BitmapWidget BW = (BitmapWidget) w; local in function:BWSwitchAxes 628 BitmapWidget BW = (BitmapWidget) w; local in function:BWAxes 637 BitmapWidget BW = (BitmapWidget) w; local in function:BWRedrawAxes 985 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryMarked 991 FixMark(BitmapWidget BW) argument 1016 BitmapWidget BW = (BitmapWidget) w; local in function:BWStoreFile 1041 BitmapWidget BW = (BitmapWidget) w; local in function:BWUnparseStatus 1055 BitmapWidget BW = (BitmapWidget) w; local in function:BWChangeFilename 1066 BitmapWidget BW = (BitmapWidget) w; local in function:BWChangeBasename 1078 BitmapWidget BW = (BitmapWidget) w; local in function:BWReadFile 1175 BitmapWidget BW = (BitmapWidget) w; local in function:BWWriteFile 1239 BitmapWidget BW = (BitmapWidget) w; local in function:BWGetFilename 1249 BitmapWidget BW = (BitmapWidget) w; local in function:BWGetFilepath 1269 BitmapWidget BW = (BitmapWidget) w; local in function:BWGetBasename 1277 FixHotSpot(BitmapWidget BW) argument 1284 ZoomOut(BitmapWidget BW) argument 1320 BitmapWidget BW = (BitmapWidget) w; local in function:BWZoomOut 1338 BitmapWidget BW = (BitmapWidget) w; local in function:BWZoomMarked 1350 BitmapWidget BW = (BitmapWidget) w; local in function:BWZoomIn 1414 BitmapWidget BW = (BitmapWidget) w; local in function:BWRescale 1454 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryZooming 1461 ResizeGrid(BitmapWidget BW,Dimension width,Dimension height) argument 1493 BitmapWidget BW = (BitmapWidget) w; local in function:BWResize 1508 BitmapWidget BW = (BitmapWidget) w; local in function:Destroy 1524 BitmapWidget BW = (BitmapWidget) w; local in function:Resize 1557 BitmapWidget BW = (BitmapWidget) w; local in function:Redisplay 1573 BitmapWidget BW = (BitmapWidget) w; local in function:BWClip 1616 BitmapWidget BW = (BitmapWidget) w; local in function:BWUnclip 1646 Refresh(BitmapWidget BW,Position x,Position y,Dimension width,Dimension height) argument 1690 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryGrid 1698 BitmapWidget BW = (BitmapWidget) w; local in function:BWSwitchGrid 1708 BitmapWidget BW = (BitmapWidget) w; local in function:BWGrid 1717 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryDashed 1725 BitmapWidget BW = (BitmapWidget) w; local in function:BWSwitchDashed 1765 BitmapWidget BW = (BitmapWidget) w; local in function:BWDashed 1891 BitmapWidget BW = (BitmapWidget) w; local in function:BWQueryProportional 1899 BitmapWidget BW = (BitmapWidget) w; local in function:BWSwitchProportional 1925 BitmapWidget BW = (BitmapWidget) w; local in function:BWTPaste 1943 BitmapWidget BW = (BitmapWidget) w; local in function:BWTMark [all...] |
| H A D | CutPaste.c | 60 BitmapWidget BW = (BitmapWidget) w; local in function:ConvertSelection 82 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1; 83 height = BW->bitmap.mark.to_y - BW->bitmap.mark.from_y + 1; 85 image = CreateBitmapImage(BW, data, width, height); 86 CopyImageData(BW->bitmap.image, image, 87 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y, 88 BW 113 BitmapWidget BW = (BitmapWidget) w; local in function:LoseSelection 139 BitmapWidget BW = (BitmapWidget) w; local in function:BWGrabSelection 156 BitmapWidget BW = (BitmapWidget) w; local in function:SelectionCallback 180 BitmapWidget BW = (BitmapWidget) w; local in function:BWRequestSelection [all...] |
| H A D | BitmapP.h | 160 #define InBitmapX(BW, x)\ 161 (Position)(min((Position)((Dimension)(max(BW->bitmap.horizOffset,x) -\ 162 BW->bitmap.horizOffset) /\ 163 BW->bitmap.squareW), BW->bitmap.width - 1)) 165 #define InBitmapY(BW, y)\ 166 (Position)(min((Position)((Dimension)(max(BW->bitmap.vertOffset, y) -\ 167 BW->bitmap.vertOffset) /\ 168 BW->bitmap.squareH), BW [all...] |
| H A D | Handlers.c | 54 #define QueryInSquare(BW, x, y, square_x, square_y)\ 55 ((InBitmapX(BW, x) == (square_x)) &&\ 56 (InBitmapY(BW, y) == (square_y))) 66 BitmapWidget BW = (BitmapWidget) w; local in function:DragOnePointHandler 76 status->value = Value(BW, event->xbutton.button); 78 status->at_x = InBitmapX(BW, event->xbutton.x); 79 status->at_y = InBitmapY(BW, event->xbutton.y); 89 status->value = Value(BW, event->xbutton.button); 91 status->at_x = InBitmapX(BW, event->xbutton.x); 92 status->at_y = InBitmapY(BW, even 158 BitmapWidget BW = (BitmapWidget) w; local in function:OnePointHandler 322 BitmapWidget BW = (BitmapWidget) w; local in function:TwoPointsHandler 519 BitmapWidget BW = (BitmapWidget) w; local in function:Paste 575 BitmapWidget BW = (BitmapWidget) w; local in function:DragTwoPointsHandler [all...] |
| /xsrc/external/mit/twm/dist/src/ |
| H A D | twm.c | 613 (unsigned int) BW, 0, 626 (unsigned int) BW, 0, 732 Scr->BorderWidth = BW; 733 Scr->IconBorderWidth = BW; 734 Scr->MenuBorderWidth = BW;
|
| H A D | twm.h | 103 #define BW 2 /* border width */ macro
|
| /xsrc/external/mit/ctwm/dist/ |
| H A D | ctwm.h | 53 #define BW 2 /* border width */ macro
|
| H A D | ctwm_main.c | 1182 scr->BorderWidth = BW; 1183 scr->IconBorderWidth = BW;
|