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
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/07 14:49:19
titer Exp $
* $Id: InterfaceWindow.cpp,v 1.3
8 2003/05/17 15: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/07 17:27:30
titer Exp $
* $Id: MessagesWindow.cpp,v 1.
9 2003/05/17 15:20: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