58 Commits

Author SHA1 Message Date
wdlkmpx
80c71e2330 gtkballs.c/h: add get_config_dir_file()
to store/read files from in $XDG_CONFIG_HOME/games (usually ~/.config/games)

it's possible to provide any directory through a modified XDG_CONFIG_HOME
2021-02-12 20:27:32 +08:00
a0b2ef170e
Merge pull request #12 from wdlkmpx/patch2
add gtk3 support
2021-01-22 00:19:09 +03:00
96a7437236
Merge pull request #11 from wdlkmpx/patch-1
mainwin.h: extern cairo_surface_t * pixsurf
2021-01-22 00:17:21 +03:00
wdlkmpx
a32edac3e7 update README.md 2021-01-21 15:02:39 +08:00
wdlkmpx
2f2d30b361 configure.ac: default to GTK3, fall back to GTK2
the gtk3 port will be compiled if gtk3 is available

use --enable-gtk2 or --disable-gtk3 to compile the gtk2 port
2021-01-21 14:39:58 +08:00
wdlkmpx
355e791147 make gtk3 port compile 2021-01-21 14:32:10 +08:00
wdlkmpx
aab540c9ea add gtkcompat.h 2021-01-21 14:31:19 +08:00
wdlkmpx
e8fa0e4e7e configure.ac --enable-gtk3 2021-01-21 14:29:17 +08:00
wdlkmpx
6ec2f9eafc
mainwin.h: extern cairo_surface_t * pixsurf 2021-01-21 08:25:58 +08:00
76fd488358
Merge pull request #10 from wdlkmpx/patch2
use cairo instead of GdkPixmap / gdk_draw_*
2021-01-21 00:36:38 +03:00
60c6cf2e6c
Merge pull request #9 from wdlkmpx/patch1
enable and fix gcc warnings
2021-01-21 00:34:53 +03:00
79657f6ccb
Merge pull request #8 from wdlkmpx/patch1
use GtkDialog
2021-01-19 17:48:02 +03:00
wdlkmpx
f912ea7a28 use cairo instead of GdkPixmap / gdk_draw_* 2021-01-19 15:13:09 +08:00
wdlkmpx
a28c291cb7 src: fix gcc9 warnings 2021-01-19 12:03:26 +08:00
wdlkmpx
f69f136806 configure.ac: enable most gcc warnings 2021-01-19 12:02:44 +08:00
wdlkmpx
3fb6dc4a9f gtkutils.c/h: remove ut_button_new_stock* 2021-01-19 09:53:29 +08:00
wdlkmpx
41ad985376 savedialog.c: use GtkDialog 2021-01-19 09:53:29 +08:00
wdlkmpx
7d05b8390a rulesdialog.c: use GtkDialog 2021-01-19 09:53:28 +08:00
wdlkmpx
57e69dec11 rules.c: use GtkDialog 2021-01-19 09:53:28 +08:00
wdlkmpx
74413f4484 preferences.c: use GtkDialog 2021-01-19 09:53:28 +08:00
wdlkmpx
ea387e9625 inputname.c: tweaks / avoid dialog->action_area 2021-01-19 09:53:28 +08:00
wdlkmpx
5a32287cdc halloffame.c: use GtkDialog 2021-01-19 09:53:28 +08:00
wdlkmpx
e415a0373d gtkutils.c/h: add gtkutil_dialog_new() and gtkutil_frame_vbox() 2021-01-19 09:53:23 +08:00
0d9d1a09cb
Merge pull request #7 from wdlkmpx/patch1
gtkutils: fix 'GtkSpinButton: setting an adjustment with non-zero pag…
2021-01-17 13:07:33 +03:00
f96b8abc49
Merge pull request #6 from wdlkmpx/patch1
consistent indentation
2021-01-16 15:20:57 +03:00
wdlkmpx
33be50c219 gtkutils: fix 'GtkSpinButton: setting an adjustment with non-zero page size is deprecated'
also remove ut_spin_button_start_new()
2021-01-16 13:45:31 +08:00
wdlkmpx
8bc640ded8 themerc.c: consistent indentation 2021-01-14 23:39:31 +08:00
wdlkmpx
373a362b01 theme.c/h: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
a43f2eb39b scoreboard.c/h: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
565348506b savegame.c: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
7c49070107 savedialog.c: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
a8f84245e0 rulesdialog.c: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
105a828c30 rules.c: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
88feee2703 prefs.c: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
08f868a3e0 preferences.c: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
7461795c1b path.c/h: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
3588163047 mainwin.c: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
04665b6453 mainmenu.c: consistent indentation 2021-01-14 23:39:30 +08:00
wdlkmpx
2a361fec55 inputname.c: consistent indentation 2021-01-14 23:39:29 +08:00
wdlkmpx
9cf177147d halloffame.c: consistent indentation 2021-01-14 23:39:29 +08:00
wdlkmpx
bf6e98f682 gtkutils.c/h: consistent indentation 2021-01-14 23:39:29 +08:00
wdlkmpx
751e9cf82e gtkballs.c: consistent indentation 2021-01-14 23:39:29 +08:00
wdlkmpx
efce62f435 gfx.c/h: consistent indentation 2021-01-14 23:39:28 +08:00
wdlkmpx
c1989eec10 game.c: consistent indentation 2021-01-14 23:38:50 +08:00
wdlkmpx
d4b2abb5f9 child.c: consistent indentation 2021-01-14 23:38:50 +08:00
9a53cd2c48
Merge pull request #3 from wdlkmpx/patch1
replace some deprecated functions
2021-01-10 19:04:15 +03:00
ffc92777f0
Merge pull request #2 from wdlkmpx/patch1
about.c: use GtkAboutDialog
2021-01-09 15:39:39 +03:00
wdlkmpx
b62d4f2b80 replace some deprecated functions
that are easy to spot and replace without major changes
2021-01-09 20:07:34 +08:00
fd260a5be5
Merge pull request #1 from wdlkmpx/patch1
Update build system / cleanup
2021-01-09 09:27:43 +03:00
wdlkmpx
accf503afb about.c: use GtkAboutDialog
it creates a nice about dialog with authors window and license window

create a new global variable: main_window

delete license.c/h
2021-01-09 07:17:36 +08:00