Small cleanups, updated documentation.
This commit is contained in:
parent
8f1f4c2d5f
commit
326021bd98
|
@ -785,8 +785,6 @@ ImageList_DragLeave (HWND hwndLock)
|
||||||
* The position of the drag image is relative to the window, not
|
* The position of the drag image is relative to the window, not
|
||||||
* the client area.
|
* the client area.
|
||||||
*
|
*
|
||||||
* BUGS
|
|
||||||
* The drag image should be drawn semitransparent.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
@ -807,6 +805,8 @@ ImageList_InternalDragDraw (HDC hdc, INT x, INT y)
|
||||||
imldp.fState = ILS_ALPHA;
|
imldp.fState = ILS_ALPHA;
|
||||||
imldp.Frame = 128;
|
imldp.Frame = 128;
|
||||||
|
|
||||||
|
/* FIXME: instead of using the alpha blending, we should
|
||||||
|
* create a 50% mask, and draw it semitransparantly that way */
|
||||||
ImageList_DrawIndirect (&imldp);
|
ImageList_DrawIndirect (&imldp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,15 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*
|
*
|
||||||
* FIXME:
|
* FIXME:
|
||||||
* 1) Implement all CCS_* styles.
|
* -- CCS_BOTTOM (default)
|
||||||
* 2) Should we hide grip if the parent window is maximized?
|
* -- CCS_LEFT
|
||||||
|
* -- CCS_NODEVIDER
|
||||||
|
* -- CCS_NOMOVEX
|
||||||
|
* -- CCS_NOMOVEY
|
||||||
|
* -- CCS_NOPARENTALIGN
|
||||||
|
* -- CCS_RIGHT
|
||||||
|
* -- CCS_TOP
|
||||||
|
* -- CCS_VERT (defaults to RIGHT)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -141,7 +141,6 @@ inline static void WIN_ReleasePtr( WND *ptr )
|
||||||
extern HWND CARET_GetHwnd(void);
|
extern HWND CARET_GetHwnd(void);
|
||||||
extern void CARET_GetRect(LPRECT lprc); /* windows/caret.c */
|
extern void CARET_GetRect(LPRECT lprc); /* windows/caret.c */
|
||||||
|
|
||||||
extern BOOL16 DRAG_QueryUpdate( HWND, SEGPTR, BOOL );
|
|
||||||
extern HBRUSH DEFWND_ControlColor( HDC hDC, UINT ctlType ); /* windows/defwnd.c */
|
extern HBRUSH DEFWND_ControlColor( HDC hDC, UINT ctlType ); /* windows/defwnd.c */
|
||||||
|
|
||||||
/* Classes functions */
|
/* Classes functions */
|
||||||
|
|
Loading…
Reference in New Issue