fork of loupe with drawing functionality. Supports undo with Ctrl+z and copy to clipboard with drawn changes
Find a file
Christopher Davis e8511bf5d5 image_view: Pass model to update_action_state()
Due to the latest refactoring passes, it was possible
for the model to be borrowed twice when navigating
to a file. This commit makes model an argument
to update_action_state() so we don't need to acquire
another borrow. We have the model already in all cases
where we use update_action_state().
2022-06-29 18:45:45 -04:00
build-aux build: Fix cargo home variable 2021-12-28 09:40:39 +01:00
data widgets: Rework image_view with AdwCarousel, add ImagePage 2022-04-20 13:12:45 -07:00
help general: Rename to Loupe 2021-09-28 17:44:26 -07:00
po general: Rename to Loupe 2021-09-28 17:44:26 -07:00
src image_view: Pass model to update_action_state() 2022-06-29 18:45:45 -04:00
.gitignore Run cargo fmt on source files 2021-02-06 20:59:17 +01:00
.gitlab-ci.yml general: Rename to Loupe 2021-09-28 17:44:26 -07:00
Cargo.lock widgets: Rework image_view with AdwCarousel, add ImagePage 2022-04-20 13:12:45 -07:00
Cargo.toml widgets: Rework image_view with AdwCarousel, add ImagePage 2022-04-20 13:12:45 -07:00
CODE_OF_CONDUCT.md Initial Commit 2020-12-26 02:18:23 -08:00
COPYING.md Initial Commit 2020-12-26 02:18:23 -08:00
meson.build build: Fix rust-analyzer 2021-12-21 20:38:13 +01:00
meson_options.txt Initial Commit 2020-12-26 02:18:23 -08:00
README.md README: Add info to install section 2021-09-28 18:38:01 -07:00

Loupe

A simple image viewer application written with GTK4 and Rust.

MVP TODO

  • Hover timeout for buttons and fullscreen headerbar
  • Pan/zoom
  • Back/forward navigation

Building

GNOME Builder

GNOME Builder is the environment used for developing this application. It can use Flatpak manifests to create a consistent building and running environment cross-distro. Thus, it is highly recommended you use it.

  1. Download GNOME Builder.
  2. In Builder, click the "Clone Repository" button at the bottom, using git@gitlab.gnome.org/BrainBlasted/loupe.git or https://gitlab.gnome.org/BrainBlasted/loupe.git as the URL.
  3. Click the build button at the top once the project is loaded.

Installation

Depending on how you want it installed instructions can differ. If you used GNOME Builder to build it, clicking the bar at the top window will open a submenu with "Export Bundle". This will create a flatpak bundle, which can be installed on any system that supports flatpak.

In order for the Loupe flatpak to be able to read the directory images are installed in, you must install a bundle. Once you have a bundle installed, development builds will work properly.

Conduct

Loupe operates under the GNOME Code Of Conduct. See the full text of the Code Of Conduct here.