Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sam Joan Roque-Worcel
wine
Commits
eed647d0
Commit
eed647d0
authored
20 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
Remove bitmaps that were only used for the 3.1 look.
parent
bce73e42
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
controls/scroll.c
+0
-45
0 additions, 45 deletions
controls/scroll.c
with
0 additions
and
45 deletions
controls/scroll.c
+
0
−
45
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
...
...
@@ -154,26 +131,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
*/
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment