Changeset 233 for trunk/src/helpers/cctl_xframe.c
- Timestamp:
- Dec 8, 2002, 8:54:46 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/cctl_xframe.c
r232 r233 77 77 * window proc that implements tool or status bars. 78 78 * (XWorkplace status bars). 79 * 80 *@@changed V1.0.1 (2002-12-08) [umoeller]: didn't work if frame had no menu, fixed 79 81 */ 80 82 … … 103 105 pswpClient = NULL, 104 106 pswpMenu = NULL, 107 pswpTitleBar = NULL, 105 108 pswpToolBar = NULL, 106 109 pswpStatusBar = NULL, … … 132 135 pswpMenu = &paswp[ul]; 133 136 break; 137 138 case FID_TITLEBAR: 139 pswpTitleBar = &paswp[ul]; 140 break; 134 141 } 135 142 } … … 145 152 if (pswpMenu) 146 153 pswpToolBar->y = pswpMenu->y - pxfc->lToolBarHeight; 154 // if we don't have a menu, we need to use the title bar instead 155 // or the toolbar will overlap it V1.0.1 (2002-12-08) [umoeller] 156 else if (pswpTitleBar) 157 pswpToolBar->y = pswpTitleBar->y - pxfc->lToolBarHeight; 147 158 else 148 159 pswpToolBar->y = rclFrame.yTop - ptlBorderSizes.y - pxfc->lToolBarHeight;
Note:
See TracChangeset
for help on using the changeset viewer.