quick commit
This commit is contained in:
20
include/widgets/weather.hpp
Normal file
20
include/widgets/weather.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <gtkmm/box.h>
|
||||
#include <gtkmm/label.h>
|
||||
#include <sigc++/sigc++.h>
|
||||
|
||||
class WeatherWidget : public Gtk::Box {
|
||||
public:
|
||||
WeatherWidget();
|
||||
|
||||
private:
|
||||
Gtk::Label titleLabel;
|
||||
Gtk::Label currentLabel;
|
||||
Gtk::Label todayLabel;
|
||||
|
||||
bool onRefreshTick();
|
||||
void fetchWeather();
|
||||
void applyWeatherText(const std::string ¤t_text,
|
||||
const std::string &today_text);
|
||||
};
|
||||
Reference in New Issue
Block a user