Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
8885548e
Commit
8885548e
authored
May 17, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/gui/beos/* : cosmetic
parent
36062de2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/InterfaceWindow.cpp
+3
-3
modules/gui/beos/MessagesWindow.cpp
modules/gui/beos/MessagesWindow.cpp
+7
-5
No files found.
modules/gui/beos/InterfaceWindow.cpp
View file @
8885548e
...
...
@@ -2,7 +2,7 @@
* InterfaceWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: InterfaceWindow.cpp,v 1.3
7
2003/05/
0
7 1
4:49:19
titer Exp $
* $Id: InterfaceWindow.cpp,v 1.3
8
2003/05/
1
7 1
5:20:46
titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -204,10 +204,10 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
screen_rect
.
right
-
150
,
screen_rect
.
top
+
250
);
fPlaylistWindow
=
new
PlayListWindow
(
window_rect
,
_
(
"Playlist"
),
this
,
p_intf
);
window_rect
.
Set
(
screen_rect
.
right
-
5
0
0
,
window_rect
.
Set
(
screen_rect
.
right
-
5
5
0
,
screen_rect
.
top
+
300
,
screen_rect
.
right
-
150
,
screen_rect
.
top
+
6
00
);
screen_rect
.
top
+
5
00
);
fMessagesWindow
=
new
MessagesWindow
(
p_intf
,
window_rect
,
_
(
"Messages"
)
);
// the media control view
...
...
modules/gui/beos/MessagesWindow.cpp
View file @
8885548e
...
...
@@ -2,7 +2,7 @@
* MessagesWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: MessagesWindow.cpp,v 1.
8
2003/05/
0
7 1
7
:2
7:30
titer Exp $
* $Id: MessagesWindow.cpp,v 1.
9
2003/05/
1
7 1
5
:2
0:46
titer Exp $
*
* Authors: Eric Petit <titer@videolan.org>
*
...
...
@@ -46,7 +46,7 @@ MessagesWindow::MessagesWindow( intf_thread_t * p_intf,
{
this
->
p_intf
=
p_intf
;
SetSizeLimits
(
2
00
,
2000
,
200
,
2000
);
SetSizeLimits
(
4
00
,
2000
,
200
,
2000
);
BRect
rect
,
textRect
;
...
...
@@ -57,7 +57,6 @@ MessagesWindow::MessagesWindow( intf_thread_t * p_intf,
fMessagesView
=
new
BTextView
(
rect
,
"messages"
,
textRect
,
B_FOLLOW_ALL
,
B_WILL_DRAW
);
fMessagesView
->
MakeEditable
(
false
);
fMessagesView
->
MakeSelectable
(
false
);
fMessagesView
->
SetStylable
(
true
);
fScrollView
=
new
BScrollView
(
"scrollview"
,
fMessagesView
,
B_WILL_DRAW
,
B_FOLLOW_ALL
,
false
,
true
);
...
...
@@ -87,8 +86,9 @@ MessagesWindow::~MessagesWindow()
/*****************************************************************************
* MessagesWindow::FrameResized
*****************************************************************************/
void
MessagesWindow
::
FrameResized
(
float
,
floa
t
)
void
MessagesWindow
::
FrameResized
(
float
width
,
float
heigh
t
)
{
BWindow
::
FrameResized
(
width
,
height
);
BRect
rect
=
fMessagesView
->
Bounds
();
rect
.
InsetBy
(
5
,
5
);
fMessagesView
->
SetTextRect
(
rect
);
...
...
@@ -177,7 +177,9 @@ static int UpdateMessages( intf_thread_t * p_intf )
BString
string
;
string
<<
p_sub
->
p_msg
[
i_start
].
psz_module
<<
" "
<<
psz_module_type
<<
" : "
<<
p_sub
->
p_msg
[
i_start
].
psz_msg
<<
"
\n
"
;
messagesView
->
Insert
(
string
.
String
()
);
messagesView
->
Insert
(
messagesView
->
TextLength
(),
string
.
String
(),
strlen
(
string
.
String
()
)
);
messagesView
->
SetFontAndColor
(
oldLength
,
messagesView
->
TextLength
(),
NULL
,
0
,
&
color
);
...
...
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