Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
6cc89ae7
Commit
6cc89ae7
authored
May 17, 2011
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2(Win): kill more compil warnings
parent
a111119d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
modules/gui/skins2/parser/builder.cpp
modules/gui/skins2/parser/builder.cpp
+1
-1
modules/gui/skins2/win32/win32_graphics.cpp
modules/gui/skins2/win32/win32_graphics.cpp
+1
-0
modules/gui/skins2/win32/win32_timer.cpp
modules/gui/skins2/win32/win32_timer.cpp
+1
-0
modules/gui/skins2/win32/win32_window.cpp
modules/gui/skins2/win32/win32_window.cpp
+1
-2
No files found.
modules/gui/skins2/parser/builder.cpp
View file @
6cc89ae7
...
@@ -1199,7 +1199,7 @@ string Builder::getFilePath( const string &rFileName ) const
...
@@ -1199,7 +1199,7 @@ string Builder::getFilePath( const string &rFileName ) const
}
}
#ifdef WIN32
#ifdef WIN32
int
pos
;
string
::
size_type
pos
;
while
(
(
pos
=
file
.
find
(
"/"
)
)
!=
string
::
npos
)
while
(
(
pos
=
file
.
find
(
"/"
)
)
!=
string
::
npos
)
file
.
replace
(
pos
,
1
,
sep
);
file
.
replace
(
pos
,
1
,
sep
);
#endif
#endif
...
...
modules/gui/skins2/win32/win32_graphics.cpp
View file @
6cc89ae7
...
@@ -81,6 +81,7 @@ void Win32Graphics::drawBitmap( const GenericBitmap &rBitmap,
...
@@ -81,6 +81,7 @@ void Win32Graphics::drawBitmap( const GenericBitmap &rBitmap,
int
xSrc
,
int
ySrc
,
int
xDest
,
int
yDest
,
int
xSrc
,
int
ySrc
,
int
xDest
,
int
yDest
,
int
width
,
int
height
,
bool
blend
)
int
width
,
int
height
,
bool
blend
)
{
{
(
void
)
blend
;
// Get the bitmap size if necessary
// Get the bitmap size if necessary
if
(
width
==
-
1
)
if
(
width
==
-
1
)
{
{
...
...
modules/gui/skins2/win32/win32_timer.cpp
View file @
6cc89ae7
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
void
CALLBACK
CallbackTimer
(
HWND
hwnd
,
UINT
uMsg
,
void
CALLBACK
CallbackTimer
(
HWND
hwnd
,
UINT
uMsg
,
UINT_PTR
idEvent
,
DWORD
dwTime
)
UINT_PTR
idEvent
,
DWORD
dwTime
)
{
{
(
void
)
hwnd
;
(
void
)
uMsg
;
(
void
)
dwTime
;
Win32Timer
*
pTimer
=
(
Win32Timer
*
)
idEvent
;
Win32Timer
*
pTimer
=
(
Win32Timer
*
)
idEvent
;
if
(
pTimer
!=
NULL
)
if
(
pTimer
!=
NULL
)
{
{
...
...
modules/gui/skins2/win32/win32_window.cpp
View file @
6cc89ae7
...
@@ -52,6 +52,7 @@ Win32Window::Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow,
...
@@ -52,6 +52,7 @@ Win32Window::Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow,
OSWindow
(
pIntf
),
m_dragDrop
(
dragDrop
),
m_isLayered
(
false
),
OSWindow
(
pIntf
),
m_dragDrop
(
dragDrop
),
m_isLayered
(
false
),
m_pParent
(
pParentWindow
),
m_type
(
type
)
m_pParent
(
pParentWindow
),
m_type
(
type
)
{
{
(
void
)
hParentWindow
;
Win32Factory
*
pFactory
=
(
Win32Factory
*
)
Win32Factory
::
instance
(
getIntf
()
);
Win32Factory
*
pFactory
=
(
Win32Factory
*
)
Win32Factory
::
instance
(
getIntf
()
);
const
char
*
vlc_name
=
"VlC Media Player"
;
const
char
*
vlc_name
=
"VlC Media Player"
;
...
@@ -202,8 +203,6 @@ void Win32Window::raise() const
...
@@ -202,8 +203,6 @@ void Win32Window::raise() const
void
Win32Window
::
setOpacity
(
uint8_t
value
)
const
void
Win32Window
::
setOpacity
(
uint8_t
value
)
const
{
{
Win32Factory
*
pFactory
=
(
Win32Factory
*
)
Win32Factory
::
instance
(
getIntf
()
);
if
(
!
m_isLayered
)
if
(
!
m_isLayered
)
{
{
// add the WS_EX_LAYERED attribute.
// add the WS_EX_LAYERED attribute.
...
...
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