Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f7639c15
Commit
f7639c15
authored
Mar 01, 2004
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: changed dtd version to 1.99 before the final dtd freeze
parent
3a1bce32
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
modules/gui/skins2/parser/skin_parser.cpp
modules/gui/skins2/parser/skin_parser.cpp
+4
-2
modules/gui/skins2/parser/xmlparser.hpp
modules/gui/skins2/parser/xmlparser.hpp
+4
-3
modules/gui/skins2/theme/skin.dtd
modules/gui/skins2/theme/skin.dtd
+1
-1
modules/gui/skins2/theme/theme.xml
modules/gui/skins2/theme/theme.xml
+1
-1
No files found.
modules/gui/skins2/parser/skin_parser.cpp
View file @
f7639c15
...
...
@@ -2,7 +2,7 @@
* skin_parser.cpp
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id: skin_parser.cpp,v 1.
3 2004/03/01 18:33:31
asmax Exp $
* $Id: skin_parser.cpp,v 1.
4 2004/03/01 19:36:43
asmax Exp $
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
*
...
...
@@ -25,7 +25,7 @@
#include <math.h>
// Current DTD version
#define SKINS_DTD_VERSION "
2.0
"
#define SKINS_DTD_VERSION "
1.99
"
SkinParser
::
SkinParser
(
intf_thread_t
*
pIntf
,
const
string
&
rFileName
)
:
...
...
@@ -177,6 +177,8 @@ void SkinParser::handleBeginElement( const string &rName, AttrList_t &attr )
{
msg_Err
(
getIntf
(),
"Bad theme version : %s (you need version %s)"
,
attr
[
"version"
],
SKINS_DTD_VERSION
);
m_errors
=
true
;
return
;
}
const
BuilderData
::
Theme
theme
(
atoi
(
attr
[
"magnet"
]
),
atoi
(
attr
[
"alpha"
]
),
atoi
(
attr
[
"movealpha"
]
),
...
...
modules/gui/skins2/parser/xmlparser.hpp
View file @
f7639c15
...
...
@@ -2,7 +2,7 @@
* xmlparser.hpp
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id: xmlparser.hpp,v 1.
5 2004/02/27 15:07:04 gbazin
Exp $
* $Id: xmlparser.hpp,v 1.
6 2004/03/01 19:36:43 asmax
Exp $
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
*
...
...
@@ -50,6 +50,9 @@ class XMLParser: public SkinObject
/// Type for attribute lists
typedef
map
<
const
char
*
,
const
char
*
,
ltstr
>
AttrList_t
;
/// Flag for validation errors
bool
m_errors
;
/// Callbacks
virtual
void
handleBeginElement
(
const
string
&
rName
,
AttrList_t
&
attr
)
{}
virtual
void
handleEndElement
(
const
string
&
rName
)
{}
...
...
@@ -57,8 +60,6 @@ class XMLParser: public SkinObject
private:
/// Reader context
xmlTextReaderPtr
m_pReader
;
/// Flag for validation errors
bool
m_errors
;
/// Callback for validation errors
static
void
handleError
(
void
*
pArg
,
const
char
*
pMsg
,
...
...
modules/gui/skins2/theme/skin.dtd
View file @
f7639c15
<!--
<!--
version 1.99
-->
...
...
modules/gui/skins2/theme/theme.xml
View file @
f7639c15
<!DOCTYPE Theme SYSTEM "skin.dtd">
<Theme
version=
"
2.0
"
magnet=
"20"
alpha=
"255"
movealpha=
"192"
fadetime=
"500"
>
<Theme
version=
"
1.99
"
magnet=
"20"
alpha=
"255"
movealpha=
"192"
fadetime=
"500"
>
<ThemeInfo
name=
"VLC OSX Interface"
author=
"BigBen"
email=
"bigben@videolan.org"
webpage=
"http://www.videolan.org"
/>
...
...
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