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
f73b0909
Commit
f73b0909
authored
Nov 21, 2009
by
JP Dinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skins2: Move getShifts from const to static.
parent
d51a30f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
modules/gui/skins2/x11/x11_display.cpp
modules/gui/skins2/x11/x11_display.cpp
+1
-2
modules/gui/skins2/x11/x11_display.hpp
modules/gui/skins2/x11/x11_display.hpp
+1
-2
No files found.
modules/gui/skins2/x11/x11_display.cpp
View file @
f73b0909
...
...
@@ -253,8 +253,7 @@ X11Display::~X11Display()
}
void
X11Display
::
getShifts
(
uint32_t
mask
,
int
&
rLeftShift
,
int
&
rRightShift
)
const
void
X11Display
::
getShifts
(
uint32_t
mask
,
int
&
rLeftShift
,
int
&
rRightShift
)
{
for
(
rLeftShift
=
0
;
(
rLeftShift
<
32
)
&&
!
(
mask
&
1
);
rLeftShift
++
)
{
...
...
modules/gui/skins2/x11/x11_display.hpp
View file @
f73b0909
...
...
@@ -99,8 +99,7 @@ private:
type
blendPixel
(
type
v
,
type
r
,
type
g
,
type
b
,
type
a
)
const
;
/// Calculate shifts from a color mask
void
getShifts
(
uint32_t
mask
,
int
&
rLeftShift
,
int
&
rRightShift
)
const
;
static
void
getShifts
(
uint32_t
mask
,
int
&
rLeftShift
,
int
&
rRightShift
);
/// 8 bpp version of blendPixel
void
blendPixel8
(
uint8_t
*
pPixel
,
uint8_t
r
,
uint8_t
g
,
uint8_t
b
,
...
...
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