Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
60aae68d
Commit
60aae68d
authored
Dec 01, 2015
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: kill some warnings
parent
4ef240cf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/gui/skins2/src/ft2_bitmap.cpp
modules/gui/skins2/src/ft2_bitmap.cpp
+2
-2
modules/gui/skins2/src/ft2_bitmap.hpp
modules/gui/skins2/src/ft2_bitmap.hpp
+1
-1
No files found.
modules/gui/skins2/src/ft2_bitmap.cpp
View file @
60aae68d
...
...
@@ -50,10 +50,10 @@ void FT2Bitmap::draw( const FT_Bitmap &rBitmap, int left, int top,
uint8_t
green
=
(
color
>>
8
)
&
0xff
;
uint8_t
red
=
(
color
>>
16
)
&
0xff
;
for
(
int
y
=
top
;
y
<
top
+
rBitmap
.
rows
&&
y
<
m_height
;
y
++
)
for
(
unsigned
y
=
top
;
y
<
top
+
rBitmap
.
rows
&&
y
<
m_height
;
y
++
)
{
uint8_t
*
pData
=
m_pData
+
4
*
(
m_width
*
y
+
left
);
for
(
int
x
=
left
;
x
<
left
+
rBitmap
.
width
&&
x
<
m_width
;
x
++
)
for
(
unsigned
x
=
left
;
x
<
left
+
rBitmap
.
width
&&
x
<
m_width
;
x
++
)
{
// The buffer in FT_Bitmap contains alpha values
uint8_t
val
=
*
(
pBuf
++
);
...
...
modules/gui/skins2/src/ft2_bitmap.hpp
View file @
60aae68d
...
...
@@ -56,7 +56,7 @@ public:
private:
/// Bitmap size
int
m_width
,
m_height
;
unsigned
int
m_width
,
m_height
;
/// Image data buffer
uint8_t
*
m_pData
;
};
...
...
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