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
28fea52a
Commit
28fea52a
authored
Jan 31, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor GUI fixes
parent
7f8e2bc5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
9 deletions
+24
-9
modules/gui/beos/BeOS.cpp
modules/gui/beos/BeOS.cpp
+5
-1
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/InterfaceWindow.cpp
+16
-1
modules/gui/beos/MessagesWindow.cpp
modules/gui/beos/MessagesWindow.cpp
+3
-7
No files found.
modules/gui/beos/BeOS.cpp
View file @
28fea52a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* beos.cpp : BeOS plugin for vlc
* beos.cpp : BeOS plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* Copyright (C) 2000, 2001 VideoLAN
* $Id: BeOS.cpp,v 1.
4 2003/01/25 20:15:41
titer Exp $
* $Id: BeOS.cpp,v 1.
5 2003/01/31 06:45:00
titer Exp $
*
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -59,6 +59,10 @@ vlc_module_begin();
...
@@ -59,6 +59,10 @@ vlc_module_begin();
add_integer
(
"beos-playlist-xpos"
,
0
,
NULL
,
""
,
""
);
add_integer
(
"beos-playlist-xpos"
,
0
,
NULL
,
""
,
""
);
add_integer
(
"beos-playlist-ypos"
,
0
,
NULL
,
""
,
""
);
add_integer
(
"beos-playlist-ypos"
,
0
,
NULL
,
""
,
""
);
add_bool
(
"beos-playlist-show"
,
0
,
NULL
,
""
,
""
);
add_bool
(
"beos-playlist-show"
,
0
,
NULL
,
""
,
""
);
add_integer
(
"beos-messages-width"
,
0
,
NULL
,
""
,
""
);
add_integer
(
"beos-messages-height"
,
0
,
NULL
,
""
,
""
);
add_integer
(
"beos-messages-xpos"
,
0
,
NULL
,
""
,
""
);
add_integer
(
"beos-messages-ypos"
,
0
,
NULL
,
""
,
""
);
add_bool
(
"beos-messages-show"
,
0
,
NULL
,
""
,
""
);
add_bool
(
"beos-messages-show"
,
0
,
NULL
,
""
,
""
);
add_submodule
();
add_submodule
();
set_capability
(
"video output"
,
100
);
set_capability
(
"video output"
,
100
);
...
...
modules/gui/beos/InterfaceWindow.cpp
View file @
28fea52a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* InterfaceWindow.cpp: beos interface
* InterfaceWindow.cpp: beos interface
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: InterfaceWindow.cpp,v 1.2
4 2003/01/28 08:17:26
titer Exp $
* $Id: InterfaceWindow.cpp,v 1.2
5 2003/01/31 06:45:00
titer Exp $
*
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -210,6 +210,16 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char *name,
...
@@ -210,6 +210,16 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char *name,
fPlaylistWindow
->
ResizeTo
(
i_width
,
i_height
);
fPlaylistWindow
->
ResizeTo
(
i_width
,
i_height
);
fPlaylistWindow
->
MoveTo
(
i_xpos
,
i_ypos
);
fPlaylistWindow
->
MoveTo
(
i_xpos
,
i_ypos
);
}
}
i_width
=
config_GetInt
(
p_intf
,
"beos-messages-width"
),
i_height
=
config_GetInt
(
p_intf
,
"beos-messages-height"
),
i_xpos
=
config_GetInt
(
p_intf
,
"beos-messages-xpos"
),
i_ypos
=
config_GetInt
(
p_intf
,
"beos-messages-ypos"
);
if
(
i_width
&&
i_height
&&
i_xpos
&&
i_ypos
)
{
/* messages window size and position */
fMessagesWindow
->
ResizeTo
(
i_width
,
i_height
);
fMessagesWindow
->
MoveTo
(
i_xpos
,
i_ypos
);
}
if
(
config_GetInt
(
p_intf
,
"beos-playlist-show"
)
)
if
(
config_GetInt
(
p_intf
,
"beos-playlist-show"
)
)
{
{
/* playlist showing */
/* playlist showing */
...
@@ -632,6 +642,11 @@ bool InterfaceWindow::QuitRequested()
...
@@ -632,6 +642,11 @@ bool InterfaceWindow::QuitRequested()
}
}
if
(
fMessagesWindow
->
Lock
()
)
if
(
fMessagesWindow
->
Lock
()
)
{
{
frame
=
fMessagesWindow
->
Frame
();
config_PutInt
(
p_intf
,
"beos-messages-width"
,
(
int
)
frame
.
Width
()
);
config_PutInt
(
p_intf
,
"beos-messages-height"
,
(
int
)
frame
.
Height
()
);
config_PutInt
(
p_intf
,
"beos-messages-xpos"
,
(
int
)
frame
.
left
);
config_PutInt
(
p_intf
,
"beos-messages-ypos"
,
(
int
)
frame
.
top
);
config_PutInt
(
p_intf
,
"beos-messages-show"
,
!
fMessagesWindow
->
IsHidden
()
);
config_PutInt
(
p_intf
,
"beos-messages-show"
,
!
fMessagesWindow
->
IsHidden
()
);
fMessagesWindow
->
Unlock
();
fMessagesWindow
->
Unlock
();
}
}
...
...
modules/gui/beos/MessagesWindow.cpp
View file @
28fea52a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* MessagesWindow.cpp: beos interface
* MessagesWindow.cpp: beos interface
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: MessagesWindow.cpp,v 1.
4 2003/01/28 10:05:15
titer Exp $
* $Id: MessagesWindow.cpp,v 1.
5 2003/01/31 06:45:00
titer Exp $
*
*
* Authors: Eric Petit <titer@videolan.org>
* Authors: Eric Petit <titer@videolan.org>
*
*
...
@@ -150,12 +150,8 @@ void MessagesWindow::UpdateMessages()
...
@@ -150,12 +150,8 @@ void MessagesWindow::UpdateMessages()
fMessagesView
->
LockLooper
();
fMessagesView
->
LockLooper
();
oldLength
=
fMessagesView
->
TextLength
();
oldLength
=
fMessagesView
->
TextLength
();
BString
string
;
BString
string
;
string
.
Append
(
p_sub
->
p_msg
[
i_start
].
psz_module
);
string
<<
p_sub
->
p_msg
[
i_start
].
psz_module
<<
" "
<<
psz_module_type
<<
" : "
<<
string
.
Append
(
" "
);
p_sub
->
p_msg
[
i_start
].
psz_msg
<<
"
\n
"
;
string
.
Append
(
psz_module_type
);
string
.
Append
(
" : "
);
string
.
Append
(
p_sub
->
p_msg
[
i_start
].
psz_msg
);
string
.
Append
(
"
\n
"
);
fMessagesView
->
Insert
(
string
.
String
()
);
fMessagesView
->
Insert
(
string
.
String
()
);
fMessagesView
->
SetFontAndColor
(
oldLength
,
fMessagesView
->
SetFontAndColor
(
oldLength
,
fMessagesView
->
TextLength
(),
fMessagesView
->
TextLength
(),
...
...
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