Mercurial > dwindows
comparison os2/dw.c @ 108:108674099806
Changed some of the default spacings for the tree control on OS/2 so it is
more visually appealing.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 18 Sep 2002 11:53:14 +0000 |
parents | babc1ea53d79 |
children | bb039d7407f0 |
comparison
equal
deleted
inserted
replaced
107:cd0e5cf92f6a | 108:108674099806 |
---|---|
3801 NULL); | 3801 NULL); |
3802 | 3802 |
3803 cnrinfo.flWindowAttr = CV_TREE | CA_TREELINE; | 3803 cnrinfo.flWindowAttr = CV_TREE | CA_TREELINE; |
3804 cnrinfo.slBitmapOrIcon.cx = 16; | 3804 cnrinfo.slBitmapOrIcon.cx = 16; |
3805 cnrinfo.slBitmapOrIcon.cy = 16; | 3805 cnrinfo.slBitmapOrIcon.cy = 16; |
3806 | 3806 cnrinfo.cyLineSpacing = 0; |
3807 WinSendMsg(tmp, CM_SETCNRINFO, &cnrinfo, MPFROMLONG(CMA_FLWINDOWATTR | CMA_SLBITMAPORICON)); | 3807 cnrinfo.cxTreeIndent = 16; |
3808 cnrinfo.cxTreeLine = 1; | |
3809 | |
3810 WinSendMsg(tmp, CM_SETCNRINFO, &cnrinfo, MPFROMLONG(CMA_FLWINDOWATTR | CMA_SLBITMAPORICON | | |
3811 CMA_LINESPACING | CMA_CXTREEINDENT | CMA_CXTREELINE)); | |
3808 blah->oldproc = WinSubclassWindow(tmp, _TreeProc); | 3812 blah->oldproc = WinSubclassWindow(tmp, _TreeProc); |
3809 WinSetWindowPtr(tmp, QWP_USER, blah); | 3813 WinSetWindowPtr(tmp, QWP_USER, blah); |
3810 dw_window_set_font(tmp, DefaultFont); | 3814 dw_window_set_font(tmp, DefaultFont); |
3811 return tmp; | 3815 return tmp; |
3812 } | 3816 } |