Changeset 625 in dev for trunk/ab5.0/abdev/abdev/DrawWindow.cpp
- Timestamp:
- May 27, 2008, 9:17:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/DrawWindow.cpp
r624 r625 4 4 5 5 void DrawLineInClient(int WndNum,long StartX,long StartY,long EndX,long EndY){ 6 extern MDIINFO MdiInfo[MAX_WNDNUM];7 6 MoveToEx(MdiInfo[WndNum].MdiRadInfo->hMemDC, 8 7 StartX+MdiInfo[WndNum].MdiRadInfo->ClientPos.x, … … 14 13 } 15 14 void DrawRectangleInClient(int WndNum,long left,long top,long right,long bottom,COLORREF RGB_Pen,COLORREF RGB_Brush,BOOL bBrushing){ 16 extern MDIINFO MdiInfo[MAX_WNDNUM];17 15 HPEN hPen,hOldPen; 18 16 HBRUSH hBrush,hOldBrush; … … 36 34 } 37 35 void DrawButtonEdge(int WndNum,POINT *pPos,SIZE *pSize){ 38 extern MDIINFO MdiInfo[MAX_WNDNUM];39 36 HPEN hPen,hOldPen; 40 37 … … 86 83 } 87 84 void DrawItemEdgeByExStyle(int WndNum,int ExStyle,POINT *pPos,SIZE *pSize){ 88 extern MDIINFO MdiInfo[MAX_WNDNUM];89 85 HPEN hPen,hOldPen; 90 86 RECT rect; … … 172 168 } 173 169 void DrawScrollBar(int WndNum,DWORD style,BOOL bSwitch,POINT *pPos,SIZE *pSize){ 174 extern MDIINFO MdiInfo[MAX_WNDNUM];175 170 int i,i2; 176 171 HPEN hPen,hOldPen; … … 487 482 } 488 483 void DrawUpDownControl(int WndNum,DWORD style,BOOL bSwitch,POINT *pPos,SIZE *pSize){ 489 extern MDIINFO MdiInfo[MAX_WNDNUM];490 484 int i,i2; 491 485 HPEN hPen,hOldPen; … … 688 682 } 689 683 void DesigningWindow(int WndNum,HDC hdc,POINT *pBasePos,const ActiveBasic::PM::WindowInfo *pWindowInfo){ 690 extern MDIINFO MdiInfo[MAX_WNDNUM];691 684 int i,i2,i3,i4; 692 685 double red,green,blue,d_red,d_green,d_blue; … … 1773 1766 } 1774 1767 void DrawRadWindow(int WndNum,const ActiveBasic::PM::WindowInfo *pWindowInfo){ 1775 extern MDIINFO MdiInfo[MAX_WNDNUM];1776 1768 HBRUSH hOldBrush; 1777 1769 POINT pos;
Note:
See TracChangeset
for help on using the changeset viewer.