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
b25a28ba
Commit
b25a28ba
authored
Oct 24, 2002
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
less braindead coloring
parent
a7fa4779
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
modules/gui/kde/messages.cpp
modules/gui/kde/messages.cpp
+8
-5
No files found.
modules/gui/kde/messages.cpp
View file @
b25a28ba
...
@@ -28,6 +28,7 @@ KMessagesWindow::KMessagesWindow( intf_thread_t * p_intf, msg_subscription_t *p
...
@@ -28,6 +28,7 @@ KMessagesWindow::KMessagesWindow( intf_thread_t * p_intf, msg_subscription_t *p
resize
(
300
,
400
);
resize
(
300
,
400
);
new
QLabel
(
_
(
"Messages:"
),
category_table
);
new
QLabel
(
_
(
"Messages:"
),
category_table
);
text
=
new
QTextView
(
category_table
);
text
=
new
QTextView
(
category_table
);
text
->
setPaper
(
QBrush
(
black
)
);
// clearWFlags(WStyle_DialogBorder|WStyle_NoBorder);
// clearWFlags(WStyle_DialogBorder|WStyle_NoBorder);
// setWFlags(WStyle_NormalBorder|WStyle_Customize);
// setWFlags(WStyle_NormalBorder|WStyle_Customize);
// connect(this, SIGNAL(okClicked()), this, SLOT(accept()));
// connect(this, SIGNAL(okClicked()), this, SLOT(accept()));
...
@@ -51,17 +52,19 @@ void KMessagesWindow::update()
...
@@ -51,17 +52,19 @@ void KMessagesWindow::update()
static
const
char
*
ppsz_type
[
4
]
=
{
": "
,
" error: "
,
" warning: "
,
static
const
char
*
ppsz_type
[
4
]
=
{
": "
,
" error: "
,
" warning: "
,
" debug: "
};
" debug: "
};
static
const
char
*
ppsz_color
[
4
]
=
{
static
const
char
*
ppsz_color
[
4
]
=
{
"<font color=
#FFFFFF
>"
,
"<font color=
white
>"
,
"<font color=
#FF0000
>"
,
"<font color=
red
>"
,
"<font color=
#CCCC00
>"
,
"<font color=
yellow
>"
,
"<font>"
"<font
color=gray
>"
};
};
for
(
i_start
=
p_msg
->
i_start
;
for
(
i_start
=
p_msg
->
i_start
;
i_start
!=
i_stop
;
i_start
!=
i_stop
;
i_start
=
(
i_start
+
1
)
%
VLC_MSG_QSIZE
)
i_start
=
(
i_start
+
1
)
%
VLC_MSG_QSIZE
)
{
{
text
->
append
(
QString
(
p_msg
->
p_msg
[
i_start
].
psz_module
)
+
text
->
append
(
QString
(
"<font color=white>"
)
+
p_msg
->
p_msg
[
i_start
].
psz_module
+
ppsz_type
[
p_msg
->
p_msg
[
i_start
].
i_type
]
+
ppsz_type
[
p_msg
->
p_msg
[
i_start
].
i_type
]
+
"</font>"
+
ppsz_color
[
p_msg
->
p_msg
[
i_start
].
i_type
]
+
ppsz_color
[
p_msg
->
p_msg
[
i_start
].
i_type
]
+
p_msg
->
p_msg
[
i_start
].
psz_msg
+
"</font>"
);
p_msg
->
p_msg
[
i_start
].
psz_msg
+
"</font>"
);
...
...
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