Skip to content

Commit

Permalink
Icon tweaks and cleanup
Browse files Browse the repository at this point in the history
- Color-unranked icons tweaked for lighter themes, closes #4704
- Star-unranked icons smaller to increase contrast, #4469
- Deleted old icons which snuck back in with the ICC geneartor merge.
  • Loading branch information
Beep6581 committed Jul 29, 2018
1 parent 9dc7710 commit 6599012
Show file tree
Hide file tree
Showing 17 changed files with 238 additions and 670 deletions.
Binary file removed rtdata/images/Dark/actions/gamut-plus.png
Binary file not shown.
Binary file removed rtdata/images/Light/actions/gamut-plus.png
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rtdata/images/themed/png/dark/circle-gray-small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified rtdata/images/themed/png/dark/star-small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rtdata/images/themed/png/light/circle-gray-small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified rtdata/images/themed/png/light/star-small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 110 additions & 0 deletions rtdata/images/themed/svg/circle-darkgray-small.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 110 additions & 0 deletions rtdata/images/themed/svg/circle-gray-small.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions rtdata/images/themed/svg/gamut-plus.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions rtdata/images/themed/svg/star-small.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion rtgui/filebrowser.cc
Expand Up @@ -202,7 +202,8 @@ FileBrowser::FileBrowser () :
* color labels
***********************/

// Same image arrays in filecatalog.cc
// Thumbnail context menu
// Similar image arrays in filecatalog.cc
std::array<std::string, 6> clabelActiveIcons = {"circle-empty-gray-small.png", "circle-red-small.png", "circle-yellow-small.png", "circle-green-small.png", "circle-blue-small.png", "circle-purple-small.png"};
std::array<std::string, 6> clabelInactiveIcons = {"circle-empty-darkgray-small.png", "circle-empty-red-small.png", "circle-empty-yellow-small.png", "circle-empty-green-small.png", "circle-empty-blue-small.png", "circle-empty-purple-small.png"};

Expand Down
7 changes: 4 additions & 3 deletions rtgui/filecatalog.cc
Expand Up @@ -193,9 +193,10 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
bRank[i]->signal_button_press_event().connect (sigc::mem_fun(*this, &FileCatalog::capture_event), false);
}

// Same image arrays in filebrowser.cc
std::array<std::string, 6> clabelActiveIcons = {"circle-empty-gray-small.png", "circle-red-small.png", "circle-yellow-small.png", "circle-green-small.png", "circle-blue-small.png", "circle-purple-small.png"};
std::array<std::string, 6> clabelInactiveIcons = {"circle-empty-darkgray-small.png", "circle-empty-red-small.png", "circle-empty-yellow-small.png", "circle-empty-green-small.png", "circle-empty-blue-small.png", "circle-empty-purple-small.png"};
// Toolbar
// Similar image arrays in filebrowser.cc
std::array<std::string, 6> clabelActiveIcons = {"circle-gray-small.png", "circle-red-small.png", "circle-yellow-small.png", "circle-green-small.png", "circle-blue-small.png", "circle-purple-small.png"};
std::array<std::string, 6> clabelInactiveIcons = {"circle-empty-gray-small.png", "circle-empty-red-small.png", "circle-empty-yellow-small.png", "circle-empty-green-small.png", "circle-empty-blue-small.png", "circle-empty-purple-small.png"};

iUnCLabeled = new RTImage(clabelActiveIcons[0]);
igUnCLabeled = new RTImage(clabelInactiveIcons[0]);
Expand Down
2 changes: 1 addition & 1 deletion rtgui/filethumbnailbuttonset.cc
Expand Up @@ -49,7 +49,7 @@ FileThumbnailButtonSet::FileThumbnailButtonSet (FileBrowserEntry* myEntry)
unTrashIcon = RTImage::createFromPng ("trash-remove-small.png");
processIcon = RTImage::createFromPng ("gears-small.png");

colorLabelIcon_0 = RTImage::createFromPng ("circle-empty-gray-small.png"); //("nocolorlabel.png");
colorLabelIcon_0 = RTImage::createFromPng ("circle-empty-gray-small.png");
colorLabelIcon_1 = RTImage::createFromPng ("circle-red-small.png");
colorLabelIcon_2 = RTImage::createFromPng ("circle-yellow-small.png");
colorLabelIcon_3 = RTImage::createFromPng ("circle-green-small.png");
Expand Down
1 change: 0 additions & 1 deletion tools/source_icons/scalable/gamut-plus.file

This file was deleted.

0 comments on commit 6599012

Please sign in to comment.