mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:40:59 +00:00
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 client area.
|
||||
*
|
||||
* BUGS
|
||||
* The drag image should be drawn semitransparent.
|
||||
*/
|
||||
|
||||
static inline void
|
||||
|
@ -807,6 +805,8 @@ ImageList_InternalDragDraw (HDC hdc, INT x, INT y)
|
|||
imldp.fState = ILS_ALPHA;
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -20,8 +20,15 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* FIXME:
|
||||
* 1) Implement all CCS_* styles.
|
||||
* 2) Should we hide grip if the parent window is maximized?
|
||||
* -- CCS_BOTTOM (default)
|
||||
* -- CCS_LEFT
|
||||
* -- CCS_NODEVIDER
|
||||
* -- CCS_NOMOVEX
|
||||
* -- CCS_NOMOVEY
|
||||
* -- CCS_NOPARENTALIGN
|
||||
* -- CCS_RIGHT
|
||||
* -- CCS_TOP
|
||||
* -- CCS_VERT (defaults to RIGHT)
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
|
|
@ -45,10 +45,10 @@ typedef struct tagWND
|
|||
HWINDOWPROC winproc; /* Window procedure */
|
||||
DWORD dwMagic; /* Magic number (must be WND_MAGIC) */
|
||||
DWORD tid; /* Owner thread id */
|
||||
HINSTANCE hInstance; /* Window hInstance (from CreateWindow) */
|
||||
RECT rectClient; /* Client area rel. to parent client area */
|
||||
RECT rectWindow; /* Whole window rel. to parent client area */
|
||||
LPWSTR text; /* Window text */
|
||||
HINSTANCE hInstance; /* Window hInstance (from CreateWindow) */
|
||||
RECT rectClient; /* Client area rel. to parent client area */
|
||||
RECT rectWindow; /* Whole window rel. to parent client area */
|
||||
LPWSTR text; /* Window text */
|
||||
void *pVScroll; /* Vertical scroll-bar info */
|
||||
void *pHScroll; /* Horizontal scroll-bar info */
|
||||
struct tagDCE *dce; /* Window DCE (if CS_OWNDC or CS_CLASSDC) */
|
||||
|
@ -141,7 +141,6 @@ inline static void WIN_ReleasePtr( WND *ptr )
|
|||
extern HWND CARET_GetHwnd(void);
|
||||
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 */
|
||||
|
||||
/* Classes functions */
|
||||
|
|
Loading…
Reference in a new issue