Commit 02019710 authored by Clément Stenac's avatar Clément Stenac

Cosmetics:

* Add application icon
* Make interface a bit smaller in Windows
* Fix messages encoding and add header
parent c720375b
......@@ -107,7 +107,7 @@ void MessagesDialog::updateLog()
{
case VLC_MSG_INFO:
messages->setTextColor("blue");
messages->insertPlainText(": ");
messages->insertPlainText(" info: ");
break;
case VLC_MSG_ERR:
messages->setTextColor("red");
......@@ -127,7 +127,7 @@ void MessagesDialog::updateLog()
/* Add message Regular black Font */
messages->setFontItalic(false);
messages->setTextColor("black");
messages->insertPlainText( p_sub->p_msg[i_start].psz_msg );
messages->insertPlainText( qfu(p_sub->p_msg[i_start].psz_msg) );
messages->insertPlainText( "\n" );
}
messages->ensureCursorVisible();
......
......@@ -33,8 +33,13 @@
#include <QStatusBar>
#include "menus.hpp"
#define PREF_W 480
#define PREF_H 125
#ifdef WIN32
#define PREF_W 430
#define PREF_H 121
#else
#define PREF_W 480
#define PREF_H 125
#endif
static int InteractCallback( vlc_object_t *, const char *, vlc_value_t,
vlc_value_t, void *);
......
......@@ -25,6 +25,7 @@
#include "dialogs_provider.hpp"
#include "input_manager.hpp"
#include "main_interface.hpp"
#include "../../../share/vlc32x32.xpm"
/*****************************************************************************
* Local prototypes.
......@@ -124,6 +125,7 @@ static void Init( intf_thread_t *p_intf )
Q_INIT_RESOURCE( vlc );
QApplication *app = new QApplication( argc, argv , true );
app->setWindowIcon( QIcon( QPixmap(vlc_xpm) ) );
p_intf->p_sys->p_app = app;
// Initialize timers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment