Commit Graph

28 Commits

Author SHA1 Message Date
Yuriy Puchkov
c2fc2e998d Remove screenshot feature 2020-08-05 13:45:48 +03:00
Boyuan Yang
75fc90878b img/material/*/text.png: Remove executable bits (#482) 2019-03-04 16:17:48 +01:00
Boyuan Yang
2c0ec850f3 flameshot.svg: Use more strict grammar to fix preview on GitHub (#319) 2018-08-20 16:54:40 +02:00
Boyuan Yang
0f2ae9fab6 flameshot.pro: Install icons into $prefix/share/icons/hicolor/ instead of $prefix/share/pixmaps (#309)
* flameshot.pro: Install SVG icon into $prefix/share/icons/hicolor/scalable/apps instead of $prefix/share/pixmaps

While #293 somehow solves the icon problem, it is not the best solution.
According to Freedesktop.org Icon Theme Specification
(https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html):

    Directory Layout

    [...]
    By default, apps should look in $HOME/.icons (for backwards compatibility),
    in $XDG_DATA_DIRS/icons and in /usr/share/pixmaps (in that order).
    [...]
    In order to have a place for third party applications to install their icons
    there should always exist a theme called "hicolor".

While using /pixmaps/ directory ensures the least priority in search
icons, the directory name itself "pixmaps" does not suite our actual
situation (provided that "flameshot.svg" is a scalable icon, not a *pixmap*).
I suggest that we place this icon into the "hicolor" theme (aka fallback theme)
in /icons/ directory under "scalable/apps/" subdirectory.

Proposed changes:

  1. Install flameshot.svg under
     $prefix/share/icons/hicolor/scalable/apps/
     instad of
     $prefix/share/pixmaps/ .

  2. Rename qmake "icon" target into "appsvgicon" target so that the
     name "icon" may still be used in the future for other tasks.

  3. The embedded rpm spec file is updated accordingly.

Signed-off-by: Boyuan Yang <073plan@gmail.com>

* img/app/flameshot.png: Use 128x128 size instead of 100x100

Converted using inkscape:

inkscape -z -e flameshot.png -w 128 -h 128 flameshot.svg

* img: Add hicolor subdir for installation under /usr/share/icons/hicolor/*

* flameshot.pro: Use wildcard to install hicolor icon dir

The embedded rpm spec file is updated too.
2018-08-12 12:05:36 +02:00
Alfredo Ramos
d09580b873 Optimize and use SVG images where possible (#281)
SVG images have been optimized with svgo, this will slightly reduce package size though the main reason for this was to remove unneeded markup.

Image paths have been changed and merged, now the directory tree looks like this:

img
├── app
├── material
│   ├── black
│   └── white
└── preview

The reason to merge the paths is to avoid duplicate files for buttons and configuration.

SVG icons are used by default now, PNG images have not been deleted from the images directory, but they were deleted from the graphics.qrc resource file.

All image paths were updated accordingly, except in the tray icon, I could not make it work using the SVG image.
2018-07-24 00:43:01 +02:00
lupoDharkael
dcaa2e321f Add text configuration in panel 2018-05-26 17:59:44 +02:00
lupoDharkael
6adcfef413 Add color tools inside the capture editor 2018-05-16 23:02:30 +02:00
lupoDharkael
5432614651 Add Text tool
closes #11
Add an initial version of the text tool.
This commit adds:
- Basic text tool.
- On demand thickness and color update.
- Generalized logic for future widget based tools.
2018-05-06 13:56:45 +02:00
lupoDharkael
205cd7c87b Add basic code for the Pin tool 2018-04-17 00:06:57 +02:00
lupoDharkael
5746a58582 Code refactor
More flexible tool API
Minor code format fixes
Clipboard freeze fixed(?)
Arrow correcly growing close to the start point
Improve maintainability
Add undo/redo stack
2018-04-10 15:33:08 +02:00
Vitaly Zaitsev
2d2ce8c84d Added AppData manifest file for Gnome Software. (#68)
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-01-08 21:31:46 +01:00
lupoDharkael
3258062d16 Windows fixes and adaptation
Binary will have icon
Start capture with Print key
Fix .rc generation
2017-12-28 18:18:14 +01:00
lupoDharkael
b0f385caf4 Add Blur tool 2017-12-04 00:28:25 +01:00
lupoDharkael
4664562728 Add OpenWith... tool 2017-12-01 21:35:07 +01:00
lupoDharkael
3daeab9b66 Add minor visual improvements to the menu widgets 2017-08-01 13:21:39 +02:00
lupoDharkael
cfcd900114 Update license information 2017-07-26 14:47:11 +02:00
lupoDharkael
e1169ae79e Add size indicator icon 2017-07-23 17:14:48 +02:00
lupoDharkael
346607bc34 Redesign of the config menu 2017-07-23 17:13:35 +02:00
lupoDharkael
9357312855 Remove unsupported tools 2017-07-12 15:41:36 +02:00
lupoDharkael
e0ee9f059f Add preview gif of the app 2017-06-16 17:31:15 +02:00
lupoDharkael
948b931ace Add check for tray notificacions 2017-06-16 16:21:22 +02:00
lupoDharkael
5b3da2125a Update docs for the new commands available 2017-06-15 20:31:51 +02:00
lupoDharkael
c4849142e8 Add rectangle button 2017-06-02 01:59:43 +02:00
lupoDharkael
bc1f442d21 The buttons use png icons instead of svg 2017-05-25 13:18:08 +02:00
lupoDharkael
8b1becfe8a Update preview capture of the app 2017-05-20 02:27:59 +02:00
lupoDharkael
bbe09b704d Add screenshots of the program 2017-05-11 23:44:38 +02:00
lupoDharkael
c50e25a8bf Add logo as png 2017-05-11 22:36:02 +02:00
lupoDharkael
c4d9210c35 Add initial code 2017-05-10 22:14:05 +02:00