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() ...@@ -107,7 +107,7 @@ void MessagesDialog::updateLog()
{ {
case VLC_MSG_INFO: case VLC_MSG_INFO:
messages->setTextColor("blue"); messages->setTextColor("blue");
messages->insertPlainText(": "); messages->insertPlainText(" info: ");
break; break;
case VLC_MSG_ERR: case VLC_MSG_ERR:
messages->setTextColor("red"); messages->setTextColor("red");
...@@ -127,7 +127,7 @@ void MessagesDialog::updateLog() ...@@ -127,7 +127,7 @@ void MessagesDialog::updateLog()
/* Add message Regular black Font */ /* Add message Regular black Font */
messages->setFontItalic(false); messages->setFontItalic(false);
messages->setTextColor("black"); 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->insertPlainText( "\n" );
} }
messages->ensureCursorVisible(); messages->ensureCursorVisible();
......
...@@ -33,8 +33,13 @@ ...@@ -33,8 +33,13 @@
#include <QStatusBar> #include <QStatusBar>
#include "menus.hpp" #include "menus.hpp"
#define PREF_W 480 #ifdef WIN32
#define PREF_H 125 #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, static int InteractCallback( vlc_object_t *, const char *, vlc_value_t,
vlc_value_t, void *); vlc_value_t, void *);
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "dialogs_provider.hpp" #include "dialogs_provider.hpp"
#include "input_manager.hpp" #include "input_manager.hpp"
#include "main_interface.hpp" #include "main_interface.hpp"
#include "../../../share/vlc32x32.xpm"
/***************************************************************************** /*****************************************************************************
* Local prototypes. * Local prototypes.
...@@ -124,6 +125,7 @@ static void Init( intf_thread_t *p_intf ) ...@@ -124,6 +125,7 @@ static void Init( intf_thread_t *p_intf )
Q_INIT_RESOURCE( vlc ); Q_INIT_RESOURCE( vlc );
QApplication *app = new QApplication( argc, argv , true ); QApplication *app = new QApplication( argc, argv , true );
app->setWindowIcon( QIcon( QPixmap(vlc_xpm) ) );
p_intf->p_sys->p_app = app; p_intf->p_sys->p_app = app;
// Initialize timers // 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