Page 1 of 2

Custom Themes

Posted: Sun Apr 17, 2016 10:53 pm
by Brother Gabriel-Marie
In my Classic installation, I have a custom mod of the Gnome theme.

Is there a collection of themes for MP? There isn't much to choose from in the View > Theme menu.

Re: Custom Themes

Posted: Mon Apr 18, 2016 1:50 pm
by xnview
no, but you can create your own icon theme.
In XnViewMP folder, create a icons subfolder, and add icons like UI/icons-48 subfolder

Re: Custom Themes

Posted: Mon Apr 18, 2016 3:30 pm
by XnTriq
These are the commands I know of:

Code: Select all

[Browser]
cmd_about
cmd_apg
cmd_app
cmd_archive
cmd_batchRename
cmd_capture
cmd_category
cmd_catFocus
cmd_changeTime
cmd_clean
cmd_compare
cmd_convert
cmd_convertM
cmd_copyClipM
cmd_copyFile
cmd_copyFilename
cmd_copyFileTo
cmd_copyImage
cmd_copyName
cmd_copyPathname
cmd_createMulti
cmd_cutFile
cmd_deleteFile
cmd_donate
cmd_editIPTC
cmd_email
cmd_emptyImage
cmd_exifThumb90L
cmd_exifThumb90R
cmd_exifThumbRebuild
cmd_export
cmd_facebook
cmd_fileFirst
cmd_fileLast
cmd_fileNext
cmd_filePrevious
cmd_filterBy
cmd_fitAll
cmd_fitHeight
cmd_fitLarge
cmd_fitM
cmd_fitNone
cmd_fitSmall
cmd_fitWH
cmd_fitWidth
cmd_forum
cmd_ftp
cmd_fullscreen
cmd_g+
cmd_googleEarth
cmd_googleMap
cmd_hideTitle
cmd_historyNext
cmd_historyPrev
cmd_import
cmd_importClipboard
cmd_infoShow
cmd_infoUseTabs
cmd_invertSelection
cmd_label0
cmd_label0m
cmd_label1
cmd_label1m
cmd_label2
cmd_label2m
cmd_label3
cmd_label3m
cmd_label4
cmd_label4m
cmd_label5
cmd_label5m
cmd_layout
cmd_layoutM
cmd_lhflip
cmd_listing
cmd_lockZoom
cmd_losslessM
cmd_lresetExif
cmd_lrotate180
cmd_lrotate270
cmd_lrotate90
cmd_lrotateExif
cmd_lvflip
cmd_metadataM
cmd_moveFileTo
cmd_newFolder
cmd_onTop
cmd_open
cmd_openContainer
cmd_openExplorer
cmd_openFile
cmd_openFilelist
cmd_openWith
cmd_pageFirst
cmd_pageLast
cmd_pageM
cmd_pageNext
cmd_pagePrevious
cmd_pasteFile
cmd_previewAsTab
cmd_previewM
cmd_previewPane
cmd_print
cmd_properties
cmd_quickFilter
cmd_quit
cmd_rating0
cmd_rating0m
cmd_rating1
cmd_rating1m
cmd_rating2
cmd_rating2m
cmd_rating3
cmd_rating3m
cmd_rating4
cmd_rating4m
cmd_rating5
cmd_rating5m
cmd_ratingAndLabel
cmd_realSize
cmd_rebuildThumb
cmd_recentFiles
cmd_recentFiles
cmd_recentFiles
cmd_recentFiles
cmd_refreshThumb
cmd_registration
cmd_removeAllCat
cmd_removeCat
cmd_renameFile
cmd_rotate180
cmd_rotate270
cmd_rotate90
cmd_search
cmd_selectAll
cmd_selectAllImages
cmd_selectNone
cmd_selectTagged
cmd_setComment
cmd_settings
cmd_showAlpha
cmd_showBlue
cmd_showGreen
cmd_showHeader
cmd_showPaneTitle
cmd_showPreview
cmd_showRecursive
cmd_showRed
cmd_similar
cmd_sortBy
cmd_stop
cmd_style
cmd_tabM
cmd_tabsBottom
cmd_tabsShow
cmd_tag
cmd_tagClearAll
cmd_tagInvert
cmd_tagMenu
cmd_tagShow
cmd_tagShowFiles
cmd_thumb
cmd_thumbsView
cmd_tiled
cmd_treePane
cmd_treeShow
cmd_treeVTabs
cmd_twainScan
cmd_twainSource
cmd_twitter
cmd_untag
cmd_untagAll
cmd_updateDB
cmd_updateFiles
cmd_upFolder
cmd_useAlpha
cmd_useSmallToolbar
cmd_useStatusbar
cmd_useToolbar
cmd_useTranspIndex
cmd_viewAs
cmd_wallpaper
cmd_web
cmd_webCapture
cmd_webUpload
cmd_zoom100
cmd_zoomIn
cmd_zoomM
cmd_zoomOut

Code: Select all

[View]
cmd_8bf
cmd_about
cmd_adjustM
cmd_align
cmd_animation
cmd_autoContrast
cmd_autoLevels
cmd_browse
cmd_canvasResize
cmd_capture
cmd_changeDepth
cmd_clear
cmd_colorsCount
cmd_conbright
cmd_convert
cmd_copy
cmd_copyClipM
cmd_copyFilename
cmd_copyFileTo
cmd_copyImage
cmd_copyName
cmd_copyPathname
cmd_crop
cmd_cut
cmd_deleteFile
cmd_donate
cmd_emptyImage
cmd_enhance
cmd_equalize
cmd_export
cmd_extractM
cmd_facebook
cmd_fileFirst
cmd_fileLast
cmd_fileM
cmd_fileNext
cmd_filePrevious
cmd_filter
cmd_fitAll
cmd_fitHeight
cmd_fitLarge
cmd_fitM
cmd_fitNone
cmd_fitSmall
cmd_fitWH
cmd_fitWidth
cmd_flipH
cmd_flipM
cmd_flipV
cmd_formatSettings
cmd_forum
cmd_fullscreen
cmd_g+
cmd_googleEarth
cmd_googleMap
cmd_gridSettings
cmd_hideTitle
cmd_importClipboard
cmd_label0
cmd_label0m
cmd_label1
cmd_label1m
cmd_label2
cmd_label2m
cmd_label3
cmd_label3m
cmd_label4
cmd_label4m
cmd_label5
cmd_label5m
cmd_lcrop
cmd_levels
cmd_lhflip
cmd_lockZoom
cmd_logLut
cmd_losslessM
cmd_lresetExif
cmd_lrotate180
cmd_lrotate270
cmd_lrotate90
cmd_lrotateExif
cmd_lvflip
cmd_mapM
cmd_moveFileTo
cmd_negative
cmd_normalize
cmd_normalize2
cmd_oldCamera
cmd_onTop
cmd_opBackColor
cmd_open
cmd_openExplorer
cmd_openWith
cmd_pageFirst
cmd_pageLast
cmd_pageM
cmd_pageNext
cmd_pagePrevious
cmd_paste
cmd_posterize
cmd_print
cmd_properties
cmd_quickSlide
cmd_quit
cmd_rating0
cmd_rating0m
cmd_rating1
cmd_rating1m
cmd_rating2
cmd_rating2m
cmd_rating3
cmd_rating3m
cmd_rating4
cmd_rating4m
cmd_rating5
cmd_rating5m
cmd_ratingAndLabel
cmd_realSize
cmd_recentFiles
cmd_recentFiles
cmd_recentFiles
cmd_redo
cmd_registration
cmd_reload
cmd_renameFile
cmd_resize
cmd_rotate
cmd_rotate180
cmd_rotate270
cmd_rotate90
cmd_rotateM
cmd_save
cmd_saveas
cmd_saveSelection
cmd_selectAll
cmd_selectionRatioM
cmd_selectionSizeM
cmd_selectionSwap
cmd_selectNone
cmd_sepia
cmd_setComment
cmd_settings
cmd_shadow
cmd_showAlpha
cmd_showBlue
cmd_showColorInfo
cmd_showGreen
cmd_showGrid
cmd_showHisto
cmd_showInfo
cmd_showRed
cmd_snapshot
cmd_solarize
cmd_spotlight
cmd_swapM
cmd_tabM
cmd_tabsBottom
cmd_tabsShow
cmd_tag
cmd_twainScan
cmd_twainSource
cmd_twitter
cmd_undo
cmd_untag
cmd_useAlpha
cmd_userFilter
cmd_useStatusbar
cmd_useToolbar
cmd_useTranspIndex
cmd_vignetting
cmd_wallpaper
cmd_web
cmd_webCapture
cmd_zoom100
cmd_zoomIn
cmd_zoomM
cmd_zoomOut
Of course you'll have to add the filename extension (.png/.ico/.icns).

Re: Custom Themes

Posted: Tue Apr 19, 2016 4:41 am
by Brother Gabriel-Marie
Thanks for the info! After I make a theme, is there a way I can contribute it for others to use, too?

Re: Custom Themes

Posted: Tue Apr 19, 2016 3:30 pm
by XnTriq
Brother Gabriel-Marie wrote:Thanks for the info! After I make a theme, is there a way I can contribute it for others to use, too?
You can share it in “Contribution” » “Customization” » “Toolbar skins:-D

@Pierre: I added all available commands in Tools » Settings... » Interface » ToolBar to Browse mode + View mode and saved the cofiguration as test.bar. Then I opened test.bar in a text editor to retrieve the commands. What's the difference between cmd_convert and cmd_convertM? Does the M stand for modeless?

Re: Custom Themes

Posted: Tue Apr 19, 2016 4:01 pm
by xnview
XnTriq wrote: @Pierre: I added all available commands in Tools » Settings... » Interface » ToolBar to Browse mode + View mode and saved the cofiguration as test.bar. Then I opened test.bar in a text editor to retrieve the commands. What's the difference between cmd_convert and cmd_convertM? Does the M stand for modeless?
M is for menu, cmd_convertM is the 'convert into' menu

Re: Custom Themes

Posted: Wed Apr 20, 2016 1:45 am
by XnTriq
xnview wrote:M is for menu, cmd_convertM is the 'convert into' menu
Thanks for clarifying, Pierre!
  • cmd_convert = Batch convert...
  • cmd_convertM = Convert into [menu] (browser context menu)
  • cmd_rating3 = Average
  • cmd_rating3m = Average (move to next photo)

Re: Custom Themes

Posted: Mon May 02, 2016 3:45 pm
by Brother Gabriel-Marie
XnTriq wrote:You can share it in “Contribution” » “Customization” » “Toolbar skins:-D
If I am not mistaken, that thread is for skins for the old XnView. Shouldn't we start a new one for MP?

Re: Custom Themes

Posted: Mon May 02, 2016 3:52 pm
by Brother Gabriel-Marie
xnview wrote:no, but you can create your own icon theme.
In XnViewMP folder, create a icons subfolder, and add icons like UI/icons-48 subfolder
So...
To create a custom theme, I would basically copy the c:\program files\XnviewMP\UI folder and customize those icons and qss files?
If I wanted to switch between one theme and another, where would I put it? The files in UI are just in "UI" they are not in any subfolder to indicate a theme name, so how would I add another choose-able theme without replacing the default?

I think I'm missing something.

Re: Custom Themes

Posted: Tue May 03, 2016 1:19 am
by Brother Gabriel-Marie
How do I get my custom theme to show up in the Themes menu so I can switch between mine and the others?

I've done some css changes like from here.

That means I have both single icons in a folder AND my .qss files to compose a theme.

How do I register it in MP to show up in the menu?

Re: Custom Themes

Posted: Tue May 03, 2016 6:33 pm
by xnview
Brother Gabriel-Marie wrote:How do I get my custom theme to show up in the Themes menu so I can switch between mine and the others?

I've done some css changes like from here.

That means I have both single icons in a folder AND my .qss files to compose a theme.

How do I register it in MP to show up in the menu?
currently no way, you can only change the current theme

Re: Custom Themes

Posted: Tue May 03, 2016 8:45 pm
by Brother Gabriel-Marie
Ah, okay, I was suspecting that...

So, if we want to share a theme with others, it's not so easy.

Any ideas how it might be implemented in the future?
Perhaps it will be a zip package with a file-manifest, kind of like a mozilla addon?

Re: Custom Themes

Posted: Fri May 20, 2016 2:13 pm
by Brother Gabriel-Marie
xnview wrote:no, but you can create your own icon theme.
In XnViewMP folder, create a icons subfolder, and add icons like UI/icons-48 subfolder
Okay, so I found some 48 px icons that I like, in particular an icon for Refresh, which I put into c:\program files\xnviewmp\UI\icons-48 and named it cmd_refreshThumb.png
I restart MP but the icon doesn't display.

Do I have to add it in a qss file somewhere?

Re: Custom Themes

Posted: Sat May 21, 2016 3:16 am
by Erixx haxx
Okay, so I found some 48 px icons that I like, in particular an icon for Refresh, which I put into c:\program files\xnviewmp\UI\icons-48 and named it cmd_refreshThumb.png
I restart MP but the icon doesn't display.

Do I have to add it in a qss file somewhere?
Does your default icon even show up, Mine doesn't. I just get the word "Refresh" on the toolbar.

I think that thier is a typo here, The cmd name is ( cmd_refershThumb ) While the icon is named ( cmd_refresh ).

Re: Custom Themes

Posted: Sat May 21, 2016 3:23 am
by Brother Gabriel-Marie
Well, in customize toolbar mode (Browse mode) it says cmd_refreshThumb in the list.
But no, the icon never displays.

actually, I have an icon pngs named cmd_Refresh.png AND cmd_refreshThumb.png