Minor style fixes
This commit is contained in:
parent
0bb3c50f02
commit
c1ddd6bfe2
|
@ -2,6 +2,8 @@
|
|||
#define GUI_HPP
|
||||
|
||||
#include <FL/fl_ask.H>
|
||||
#include <FL/filename.H>
|
||||
|
||||
#include <FL/Fl_Window.H>
|
||||
#include <FL/Fl_Menu_Bar.H>
|
||||
#include <FL/Fl_Pack.H>
|
||||
|
@ -97,7 +99,7 @@ inline void show_credits(Fl_Widget *w, void *data) {
|
|||
}
|
||||
|
||||
inline void show_website(Fl_Widget *w, void *data) {
|
||||
fl_open_uri("https://ctrl-c.club/~nttp/toys/toyed/");
|
||||
fl_open_uri("https://ctrl-c.club/~nttp/toys/toyed/native.html");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
#include <FL/Fl_Native_File_Chooser.H>
|
||||
|
||||
#include <FL/Fl_Menu_Item.H>
|
||||
#include <Fl/Fl_Text_Buffer.H>
|
||||
#include <Fl/Fl_Text_Display.H>
|
||||
#include <FL/Fl_Text_Buffer.H>
|
||||
#include <FL/Fl_Text_Display.H>
|
||||
|
||||
#include "gui.hpp"
|
||||
|
||||
|
@ -390,7 +390,7 @@ const Fl_Menu_Item menu_items[] = {
|
|||
FL_MENU_TOGGLE | FL_MENU_VALUE },
|
||||
{ " &Line numbers", 0, toggle_line_numbers, 0,
|
||||
FL_MENU_TOGGLE | FL_MENU_DIVIDER },
|
||||
{ " &Bigger font", FL_COMMAND + '+', do_zoom_in },
|
||||
{ " &Bigger font", FL_COMMAND + '=', do_zoom_in },
|
||||
{ " &Smaller font ", FL_COMMAND + '-', do_zoom_out },
|
||||
{ " &Reset font", FL_COMMAND + '0', do_reset_zoom, 0,
|
||||
FL_MENU_DIVIDER },
|
||||
|
|
Loading…
Reference in New Issue