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
2a4da6a5
Commit
2a4da6a5
authored
May 14, 2006
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/parser/skin_parser.cpp: make sure the IDs are unique in the whole skin
parent
6d2df912
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/skins2/parser/skin_parser.cpp
modules/gui/skins2/parser/skin_parser.cpp
+3
-3
No files found.
modules/gui/skins2/parser/skin_parser.cpp
View file @
2a4da6a5
...
...
@@ -78,7 +78,7 @@ void SkinParser::handleBeginElement( const string &rName, AttrList_t &attr )
RequireDefault
(
"id"
);
RequireDefault
(
"file"
);
const
BuilderData
::
IniFile
iniFile
(
attr
[
"id"
]
,
const
BuilderData
::
IniFile
iniFile
(
uniqueId
(
attr
[
"id"
]
)
,
attr
[
"file"
]
);
m_pData
->
m_listIniFile
.
push_back
(
iniFile
);
}
...
...
@@ -122,7 +122,7 @@ void SkinParser::handleBeginElement( const string &rName, AttrList_t &attr )
CheckDefault
(
"nbframes"
,
"1"
);
CheckDefault
(
"fps"
,
"4"
);
const
BuilderData
::
SubBitmap
bitmap
(
attr
[
"id"
]
,
const
BuilderData
::
SubBitmap
bitmap
(
uniqueId
(
attr
[
"id"
]
)
,
m_curBitmapId
,
atoi
(
attr
[
"x"
]
),
atoi
(
attr
[
"y"
]
),
atoi
(
attr
[
"width"
]
),
atoi
(
attr
[
"height"
]
),
atoi
(
attr
[
"nbframes"
]
),
atoi
(
attr
[
"fps"
]
)
);
...
...
@@ -135,7 +135,7 @@ void SkinParser::handleBeginElement( const string &rName, AttrList_t &attr )
RequireDefault
(
"file"
);
CheckDefault
(
"type"
,
"digits"
);
const
BuilderData
::
BitmapFont
font
(
attr
[
"id"
]
,
const
BuilderData
::
BitmapFont
font
(
uniqueId
(
attr
[
"id"
]
)
,
attr
[
"file"
],
attr
[
"type"
]
);
m_pData
->
m_listBitmapFont
.
push_back
(
font
);
}
...
...
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