dev
Oona Räisänen 2016-01-11 10:51:03 +02:00
rodzic fd2e1dc356
commit 4ec5c27c0b
3 zmienionych plików z 8 dodań i 6 usunięć

Wyświetl plik

@ -116,12 +116,14 @@ void GUI::start() {
fetchAutoState();
inputDeviceChanged();
m_radio_input_stdin->set_sensitive(false);
m_app->run(*m_window_main);
}
void GUI::imageReset() {
m_image_rx->set(empty_pixbuf(500));
m_image_rx->set(empty_pixbuf(640));
m_label_lasttime->set_text("");
}

Wyświetl plik

@ -31,7 +31,7 @@ class Picture {
double getVideoSignalAt(int i) const;
std::string getTimestamp() const;
Glib::RefPtr<Gdk::Pixbuf> renderPixbuf(unsigned min_width=320, int upsample_factor=4);
Glib::RefPtr<Gdk::Pixbuf> renderPixbuf(int width=320);
void resync();
void saveSync();
void save(std::string);

Wyświetl plik

@ -95,16 +95,16 @@
<property name="orientation">vertical</property>
<child>
<object class="GtkAlignment" id="alignment15">
<property name="width_request">500</property>
<property name="height_request">400</property>
<property name="width_request">640</property>
<property name="height_request">512</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="top_padding">12</property>
<child>
<object class="GtkImage" id="image_rx">
<property name="width_request">500</property>
<property name="height_request">375</property>
<property name="width_request">640</property>
<property name="height_request">512</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>