50 Commits
Author SHA1 Message Date
bernardo 06b692b140 Leaderboard: two-column grid with right-aligned LCD time panels
Difficulty names left-aligned, times right-aligned in compact
status-panel chips so all columns line up; separator under the title.
v1.0.0
2026-08-01 17:11:48 +01:00
bernardo 62a09e4261 Leaderboard: clear button and hygiene for migrated legacy data
A scratch test earlier in development wrote a fake 42s Beginner record into
the legacy ~/.config/minesweeper/leaderboard.ini, which the migration imported;
as a stored best it can never be beaten by slower real games, so the popover
showed a lower time than actually played.

- Add a 'Clear scores' button to the leaderboard popover
- Delete the legacy file after a successful migration so stale data can't
  be re-imported
2026-08-01 17:09:08 +01:00
bernardo 6c69556b25 KABOOM!: replace translucent panel with a layered drop shadow 2026-08-01 16:43:15 +01:00
bernardo cee916224a Replace loss dialog with KABOOM! overlay; bevel the New Game button
- Losing no longer pops a dialog: the board draws a tilted KABOOM! banner
  (theme-independent, auto-scaling, dark translucent panel) over the revealed
  mines; restart via the New Game button or R/Ctrl+N
- Win dialog unchanged (time + new-record note, delayed for the confetti)
- New Game button gets an explicit theme-aware bevel (gradient, border,
  hover/active) so it reads as a button even with themes that flatten widgets
2026-08-01 16:40:55 +01:00
bernardo 9a9d9f3fea Move flags/timer out of the header bar into a status bar above the grid
Header bar now holds only Difficulty + Leaderboard. A status bar above the
board shows the flag counter (left), the New Game button (center) and the
timer (right) as LCD-style panels styled with theme-aware CSS.
2026-08-01 16:30:46 +01:00
bernardo 08ae7cd1ef Pin flatpak source commit to the popover fix 2026-08-01 16:00:46 +01:00
bernardo 49651fd42d Fix transparent popover backgrounds
Some GTK themes (and newer GTK versions) leave popover surfaces
transparent. Add the canonical 'menu' class to both popovers and a
theme-aware CSS override so the difficulty/leaderboard menus always
draw an opaque background.
2026-08-01 16:00:33 +01:00
bernardo 97565e415d Add flatpak build plumbing
- io.github.bemagri.nomines.yml: builds libsigc++/glibmm/cairomm/pangomm/gtkmm
  from tarballs against the GNOME 46 runtime, then the app from the v1.0.0 tag
- Icon: app-id-named PNGs (128/512) for flatpak export, svg kept for native
  installs; desktop file Icon updated
- README/AGENTS.md: flatpak build instructions and version traps
2026-08-01 15:34:28 +01:00
bernardo 2dbf64a2e8 Release 1.0.0: rename to NoMines, add leaderboard, theme support and release metadata
- Rename app/binary/app-id to nomines (io.github.bemagri.nomines), config dir
  moves to ~/.config/nomines with legacy path fallback
- Add persistent best-time leaderboard (Glib::KeyFile)
- Theme-aware board following system light/dark preference
- Beveled 3D cells, confetti win animation, keyboard shortcuts,
  right-click chording, per-difficulty window sizing
- Add AppStream metainfo, validate desktop file and metainfo via meson tests
- Fix license metadata to GPL-3.0-or-later and real homepage
2026-08-01 14:06:43 +01:00
Bernardo Magri 2456814295 updates 2026-02-25 13:36:44 +00:00
Bernardo Magri 23316594f7 updates and fixes 2026-02-25 13:36:13 +00:00
Bernardo Magri 3bc1645721 Merge branch 'master' of https://git.bernardomagri.eu/bernardo/minesweeper 2025-10-16 19:33:08 +01:00
Bernardo Magri 05bc82a5c1 minors 2025-10-16 19:32:21 +01:00
Bernardo Magri 039de24da8 Update 'flake.nix'
adding librvg as a flake dependency
2025-04-26 09:18:35 +00:00
Bernardo Magri fe0b39a49d adding default.nix for nix packaging 2025-04-24 18:20:42 +01:00
Bernardo Magri c61173308a adding shell.nix 2025-04-24 18:16:15 +01:00
Bernardo Magri 7312e473b8 Merge branch 'master' of https://git.bernardomagri.eu/bernardo/minesweeper 2025-04-24 17:48:50 +01:00
Bernardo Magri a4dccdc2a3 major refactor 2025-04-24 09:53:09 +01:00
Bernardo Magri 0cdc668629 merge 2025-04-10 17:21:04 +01:00
Bernardo Magri 27e4031699 adding a game screenshot 2025-04-10 17:19:02 +01:00
Bernardo Magri 16dac0e1f6 adding a game screenshot 2025-04-10 17:18:29 +01:00
Bernardo Magri b5f75a29b7 cleaning up 2025-04-10 17:15:14 +01:00
Bernardo Magri 0399aaf94f Include flake.nix file 2025-04-06 14:46:04 +01:00
Bernardo Magri 2a1d45f998 fixing winning condition of the game 2025-03-12 17:07:10 +00:00
Bernardo Magri 4ff86eb027 Fixing the clock signal to use GLib::Dispatcher to emit the signal so the main thread updates the clockLabel widget 2025-03-11 17:14:32 +00:00
Bernardo Magri b6a6e16d3a merge fix 2025-03-11 10:41:58 +00:00
Bernardo Magri 8c1cf20228 Creating the timer functions 2025-03-11 09:53:44 +00:00
Bernardo Magri 8afb29b680 Changing the clocklabel to work with the timerThread signal
* src/minefield.hpp:
2025-03-10 18:55:45 +00:00
Bernardo Magri efc523c0c9 fixing timerThread to count in milliseconds 2025-03-10 12:27:15 +00:00
Bernardo Magri 2028218879 adding comments 2025-03-10 12:16:37 +00:00
Bernardo Magri 762f233f99 minors 2025-03-10 12:16:16 +00:00
Bernardo Magri 1fa6e533ce adding comments 2025-03-10 12:12:22 +00:00
Bernardo Magri a2f3c89599 Creating time keeping for the game using c++ threads instead of relying on GTK 2025-03-10 10:49:24 +00:00
Bernardo Magri 33733b9ec3 merge 2025-03-08 10:21:37 +00:00
Bernardo Magri 1898f60299 merge 2025-03-08 10:20:35 +00:00
Bernardo Magri 751e12f495 Fixing the clock and adding new signals 2025-03-08 10:17:26 +00:00
Bernardo Magri 880cbd9c99 Delete 'src/.window.cpp.~undo-tree~' 2025-03-07 20:00:54 +00:00
Bernardo Magri c08d542836 Delete 'src/.window.hpp.~undo-tree~' 2025-03-07 20:00:42 +00:00
Bernardo Magri b318a8de3e Delete 'src/minefield.cpp~' 2025-03-07 20:00:27 +00:00
Bernardo Magri 5f582112ce Delete 'src/minefield.hpp~' 2025-03-07 20:00:17 +00:00
Bernardo Magri 0d6348122e Delete 'src/window.cpp~' 2025-03-07 20:00:08 +00:00
Bernardo Magri 06fd39683e Delete 'src/.minefield.hpp.~undo-tree~' 2025-03-07 19:59:57 +00:00
Bernardo Magri 23638aea2b Delete 'src/.minefield.cpp.~undo-tree~' 2025-03-07 19:51:32 +00:00
Bernardo Magri d95fb65125 Update '.gitignore' 2025-03-07 19:51:13 +00:00
Bernardo Magri 052690fede refactoring 2025-03-07 07:23:59 +00:00
Bernardo Magri 2c13567747 update file names 2025-03-05 20:31:55 +00:00
Bernardo Magri 37b953eb8e Update 'README.md' 2025-03-05 13:33:56 +00:00
Bernardo cad2084f3e fixing source dir 2025-03-05 13:28:57 +00:00
Bernardo 6001920545 Initial commit 2025-03-05 10:57:55 +00:00
Bernardo MagriandGogs cc215f3c74 Initial commit 2025-03-05 10:53:13 +00:00