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
6e950fca
Commit
6e950fca
authored
Mar 21, 2003
by
Emmanuel Puig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixing Parkinson disease bug (it's not funny, it's real life)
parent
73fcd93a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/gui/skins/src/theme.cpp
modules/gui/skins/src/theme.cpp
+6
-1
No files found.
modules/gui/skins/src/theme.cpp
View file @
6e950fca
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* theme.cpp: Theme class
* theme.cpp: Theme class
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: theme.cpp,v 1.
3 2003/03/19 18:14:48
karibu Exp $
* $Id: theme.cpp,v 1.
4 2003/03/21 00:00:19
karibu Exp $
*
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
@@ -358,7 +358,11 @@ void Theme::HangToAnchors( Window *wnd, int &x, int &y, bool init )
...
@@ -358,7 +358,11 @@ void Theme::HangToAnchors( Window *wnd, int &x, int &y, bool init )
{
{
// If parent hang child and child is not still in list
// If parent hang child and child is not still in list
if
(
!
(
*
win_anchor
)
->
IsInList
(
(
*
wnd_anchor
)
)
)
if
(
!
(
*
win_anchor
)
->
IsInList
(
(
*
wnd_anchor
)
)
)
{
if
(
init
)
msg_Err
(
p_intf
,
"Add"
);
(
*
win_anchor
)
->
Add
(
(
*
wnd_anchor
)
);
(
*
win_anchor
)
->
Add
(
(
*
wnd_anchor
)
);
}
// Move window to stick anchor
// Move window to stick anchor
(
*
wnd_anchor
)
->
GetPos
(
wnd_anchor_x
,
wnd_anchor_y
);
(
*
wnd_anchor
)
->
GetPos
(
wnd_anchor_x
,
wnd_anchor_y
);
...
@@ -398,6 +402,7 @@ void Theme::CheckAnchors()
...
@@ -398,6 +402,7 @@ void Theme::CheckAnchors()
{
{
(
*
win
)
->
GetPos
(
x
,
y
);
(
*
win
)
->
GetPos
(
x
,
y
);
HangToAnchors
(
(
*
win
),
x
,
y
,
true
);
HangToAnchors
(
(
*
win
),
x
,
y
,
true
);
(
*
win
)
->
Move
(
x
,
y
);
}
}
}
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
...
...
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