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
997d993b
Commit
997d993b
authored
Apr 17, 2006
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: convert keys in INI files to lower case, to fix buggy winamp2 skins
parent
b2b8d4df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
modules/gui/skins2/src/ini_file.cpp
modules/gui/skins2/src/ini_file.cpp
+9
-3
share/skins2/winamp2.xml
share/skins2/winamp2.xml
+1
-1
No files found.
modules/gui/skins2/src/ini_file.cpp
View file @
997d993b
...
...
@@ -66,9 +66,15 @@ void IniFile::parseFile()
string
var
=
line
.
substr
(
0
,
eqPos
);
string
val
=
line
.
substr
(
eqPos
+
1
,
line
.
size
()
-
eqPos
-
1
);
// register the value in the var manager
pVarManager
->
registerConst
(
m_name
+
"."
+
section
+
"."
+
var
,
val
);
// Convert to lower case because of some buggy winamp2 skins
string
name
=
m_name
+
"."
+
section
+
"."
+
var
;
for
(
size_t
i
=
0
;
i
<
name
.
size
();
i
++
)
{
name
[
i
]
=
tolower
(
name
[
i
]
);
}
// Register the value in the var manager
pVarManager
->
registerConst
(
name
,
val
);
}
}
fs
.
close
();
...
...
share/skins2/winamp2.xml
View file @
997d993b
...
...
@@ -343,7 +343,7 @@
<Image
x=
"255"
y=
"96"
image=
"pl_resize"
action=
"resizeSE"
lefttop=
"rightbottom"
rightbottom=
"rightbottom"
/>
<Button
x=
"254"
y=
"3"
up=
"pl_switch_up"
down=
"pl_switch_down"
over=
"pl_switch_up"
action=
"playlist_window.setLayout(pl_small_layout)"
tooltiptext=
"Switch"
lefttop=
"righttop"
rightbottom=
"righttop"
/>
<Button
x=
"264"
y=
"3"
up=
"pl_close_up"
down=
"pl_close_down"
over=
"pl_close_up"
action=
"playlist_window.hide()"
tooltiptext=
"Close the window"
lefttop=
"righttop"
rightbottom=
"righttop"
/>
<Playlist
id=
"playlist"
x=
"10"
y=
"20"
width=
"240"
height=
"58"
lefttop=
"lefttop"
rightbottom=
"rightbottom"
font=
"playlist_font"
fgcolor=
"pledit.
Text.Normal"
playcolor=
"pledit.Text.Current"
bgcolor1=
"pledit.Text.NormalBG"
bgcolor2=
"pledit.Text.NormalBG"
selcolor=
"pledit.Text.SelectedBG
"
>
<Playlist
id=
"playlist"
x=
"10"
y=
"20"
width=
"240"
height=
"58"
lefttop=
"lefttop"
rightbottom=
"rightbottom"
font=
"playlist_font"
fgcolor=
"pledit.
text.normal"
playcolor=
"pledit.text.current"
bgcolor1=
"pledit.text.normalbg"
bgcolor2=
"pledit.text.normalbg"
selcolor=
"pledit.text.selectedbg
"
>
<Slider
id=
"playlist_slider"
x=
"264"
y=
"28"
lefttop=
"righttop"
rightbottom=
"rightbottom"
up=
"pl_slider_up"
down=
"pl_slider_down"
points=
"(0,40),(0,0)"
/>
</Playlist>
<Button
x=
"14"
y=
"86"
up=
"pl_add_up"
down=
"pl_add_down"
over=
"pl_add_up"
action=
"playlist.add()"
lefttop=
"leftbottom"
rightbottom=
"leftbottom"
/>
...
...
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