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
ac01cdf7
Commit
ac01cdf7
authored
May 12, 2004
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2: Removed the Theme.fadetime attribute (unused)
parent
c43b027d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
8 deletions
+5
-8
modules/gui/skins2/parser/builder_data.def
modules/gui/skins2/parser/builder_data.def
+1
-1
modules/gui/skins2/parser/builder_data.hpp
modules/gui/skins2/parser/builder_data.hpp
+2
-3
modules/gui/skins2/parser/skin_parser.cpp
modules/gui/skins2/parser/skin_parser.cpp
+1
-2
share/skins2/default/theme.xml
share/skins2/default/theme.xml
+1
-1
share/skins2/skin.dtd
share/skins2/skin.dtd
+0
-1
No files found.
modules/gui/skins2/parser/builder_data.def
View file @
ac01cdf7
Theme tooltipfont:string magnet:int alpha:uint32_t moveAlpha:uint32_t
fadeTime:uint32_t
Theme tooltipfont:string magnet:int alpha:uint32_t moveAlpha:uint32_t
Bitmap id:string fileName:string alphaColor:uint32_t
BitmapFont id:string file:string type:string
Font id:string fontFile:string size:int
...
...
modules/gui/skins2/parser/builder_data.hpp
View file @
ac01cdf7
...
...
@@ -42,14 +42,13 @@ struct BuilderData
/// Type definition
struct
Theme
{
Theme
(
const
string
&
tooltipfont
,
int
magnet
,
uint32_t
alpha
,
uint32_t
moveAlpha
,
uint32_t
fadeTime
)
:
m_tooltipfont
(
tooltipfont
),
m_magnet
(
magnet
),
m_alpha
(
alpha
),
m_moveAlpha
(
moveAlpha
)
,
m_fadeTime
(
fadeTime
)
{}
Theme
(
const
string
&
tooltipfont
,
int
magnet
,
uint32_t
alpha
,
uint32_t
moveAlpha
)
:
m_tooltipfont
(
tooltipfont
),
m_magnet
(
magnet
),
m_alpha
(
alpha
),
m_moveAlpha
(
moveAlpha
)
{}
const
string
m_tooltipfont
;
int
m_magnet
;
uint32_t
m_alpha
;
uint32_t
m_moveAlpha
;
uint32_t
m_fadeTime
;
};
/// List
list
<
Theme
>
m_listTheme
;
...
...
modules/gui/skins2/parser/skin_parser.cpp
View file @
ac01cdf7
...
...
@@ -255,8 +255,7 @@ void SkinParser::handleBeginElement( const string &rName, AttrList_t &attr )
const
BuilderData
::
Theme
theme
(
attr
[
"tooltipfont"
],
atoi
(
attr
[
"magnet"
]
),
convertInRange
(
attr
[
"alpha"
],
1
,
255
,
"alpha"
),
convertInRange
(
attr
[
"movealpha"
],
1
,
255
,
"movealpha"
),
atoi
(
attr
[
"fadetime"
]
)
);
convertInRange
(
attr
[
"movealpha"
],
1
,
255
,
"movealpha"
)
);
m_data
.
m_listTheme
.
push_back
(
theme
);
}
...
...
share/skins2/default/theme.xml
View file @
ac01cdf7
<!DOCTYPE Theme PUBLIC "-//VideoLAN//DTD VLC Skins V2.0//EN" "skin.dtd">
<Theme
version=
"2.0"
magnet=
"20"
alpha=
"255"
movealpha=
"192"
fadetime=
"500"
>
<Theme
version=
"2.0"
magnet=
"20"
alpha=
"255"
movealpha=
"192"
>
<ThemeInfo
name=
"VLC OSX Interface"
author=
"BigBen"
email=
"bigben@videolan.org"
webpage=
"http://www.videolan.org"
/>
...
...
share/skins2/skin.dtd
View file @
ac01cdf7
...
...
@@ -9,7 +9,6 @@
magnet CDATA "15"
alpha CDATA "255"
movealpha CDATA "255"
fadetime CDATA "400"
>
<!-- main elements -->
...
...
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