Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
eed647d0
Commit
eed647d0
authored
May 05, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove bitmaps that were only used for the 3.1 look.
parent
bce73e42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
45 deletions
+0
-45
scroll.c
controls/scroll.c
+0
-45
No files found.
controls/scroll.c
View file @
eed647d0
...
...
@@ -43,29 +43,6 @@ typedef struct
}
SCROLLBAR_INFO
,
*
LPSCROLLBAR_INFO
;
static
HBITMAP
hUpArrow
;
static
HBITMAP
hDnArrow
;
static
HBITMAP
hLfArrow
;
static
HBITMAP
hRgArrow
;
static
HBITMAP
hUpArrowD
;
static
HBITMAP
hDnArrowD
;
static
HBITMAP
hLfArrowD
;
static
HBITMAP
hRgArrowD
;
static
HBITMAP
hUpArrowI
;
static
HBITMAP
hDnArrowI
;
static
HBITMAP
hLfArrowI
;
static
HBITMAP
hRgArrowI
;
#define TOP_ARROW(flags,pressed) \
(((flags)&ESB_DISABLE_UP) ? hUpArrowI : ((pressed) ? hUpArrowD:hUpArrow))
#define BOTTOM_ARROW(flags,pressed) \
(((flags)&ESB_DISABLE_DOWN) ? hDnArrowI : ((pressed) ? hDnArrowD:hDnArrow))
#define LEFT_ARROW(flags,pressed) \
(((flags)&ESB_DISABLE_LEFT) ? hLfArrowI : ((pressed) ? hLfArrowD:hLfArrow))
#define RIGHT_ARROW(flags,pressed) \
(((flags)&ESB_DISABLE_RIGHT) ? hRgArrowI : ((pressed) ? hRgArrowD:hRgArrow))
/* Minimum size of the rectangle between the arrows */
#define SCROLL_MIN_RECT 4
...
...
@@ -155,26 +132,6 @@ LPSCROLLINFO info /* [in] The SCROLLINFO struct to be tested */)
/***********************************************************************
* SCROLL_LoadBitmaps
*/
static
void
SCROLL_LoadBitmaps
(
void
)
{
hUpArrow
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_UPARROW
)
);
hDnArrow
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_DNARROW
)
);
hLfArrow
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_LFARROW
)
);
hRgArrow
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_RGARROW
)
);
hUpArrowD
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_UPARROWD
)
);
hDnArrowD
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_DNARROWD
)
);
hLfArrowD
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_LFARROWD
)
);
hRgArrowD
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_RGARROWD
)
);
hUpArrowI
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_UPARROWI
)
);
hDnArrowI
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_DNARROWI
)
);
hLfArrowI
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_LFARROWI
)
);
hRgArrowI
=
LoadBitmapA
(
0
,
MAKEINTRESOURCEA
(
OBM_RGARROWI
)
);
}
/***********************************************************************
* SCROLL_GetScrollBarInfo
*/
static
SCROLLBAR_INFO
*
SCROLL_GetScrollBarInfo
(
HWND
hwnd
,
INT
nBar
)
...
...
@@ -203,7 +160,6 @@ static SCROLLBAR_INFO *SCROLL_GetScrollBarInfo( HWND hwnd, INT nBar )
if
(
nBar
==
SB_HORZ
)
wndPtr
->
pHScroll
=
infoPtr
;
else
wndPtr
->
pVScroll
=
infoPtr
;
}
if
(
!
hUpArrow
)
SCROLL_LoadBitmaps
();
}
WIN_ReleaseWndPtr
(
wndPtr
);
return
infoPtr
;
...
...
@@ -1267,7 +1223,6 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT message, WPARAM wParam,
{
case
WM_CREATE
:
SCROLL_CreateScrollBar
(
hwnd
,
(
LPCREATESTRUCTW
)
lParam
);
if
(
!
hUpArrow
)
SCROLL_LoadBitmaps
();
break
;
case
WM_ENABLE
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment