From 799cb39e0866b0be17367580fd08b37215d3dcdd Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 22 Mar 2019 22:29:11 +0100 Subject: Remove win32 themeing support It was unused through all of GTK 3, so it is not worth supporting. The best Windows themes do not make use of it at all. --- docs/reference/gtk/css-overview.xml | 18 ++---------------- docs/reference/gtk/css-properties.xml | 14 -------------- 2 files changed, 2 insertions(+), 30 deletions(-) (limited to 'docs') diff --git a/docs/reference/gtk/css-overview.xml b/docs/reference/gtk/css-overview.xml index 9c942e72d2..bbdf66485e 100644 --- a/docs/reference/gtk/css-overview.xml +++ b/docs/reference/gtk/css-overview.xml @@ -546,7 +546,7 @@ checkbutton:indeterminate { GTK adds several additional ways to specify colors. -〈gtk color〉 = 〈symbolic color〉 | 〈color expression〉 | 〈win32 color〉 +〈gtk color〉 = 〈symbolic color〉 | 〈color expression〉 @@ -592,13 +592,6 @@ checkbutton:indeterminate { 〈color expression〉 = lighter( 〈color〉 ) | darker( 〈color〉 ) | shade( 〈color〉, 〈number〉 ) | alpha( 〈color〉, 〈number〉 ) | mix( 〈color〉, 〈color〉, 〈number〉 ) - - - - On Windows, GTK allows to refer to system colors, as follows: - - -〈win32 color〉 = -gtk-win32-color( 〈name〉, 〈integer〉 ) @@ -737,7 +730,7 @@ label { GTK extends the CSS syntax for images and also uses it for specifying icons. -〈gtk image〉 = 〈themed icon〉 | 〈scaled image〉 | 〈recolored image〉 | 〈win32 theme part〉 +〈gtk image〉 = 〈themed icon〉 | 〈scaled image〉 | 〈recolored image〉 @@ -815,13 +808,6 @@ arrow { } ]]> - - On Windows, GTK allows to refer to system theme parts as images, as follows: - - -〈win32 theme part〉 = -gtk-win32-theme-part( 〈name〉, 〈integer〉 〈integer〉 - [ , [ over( 〈integer〉 〈integer〉 [ , 〈alpha value〉 ]? ) | margins( 〈integer〉{1,4} ) ] ]* ) - diff --git a/docs/reference/gtk/css-properties.xml b/docs/reference/gtk/css-properties.xml index beadcfa880..5be2484754 100644 --- a/docs/reference/gtk/css-properties.xml +++ b/docs/reference/gtk/css-properties.xml @@ -65,20 +65,6 @@ We use for syntax productions, and each line is put in a not quite the same as the CSS definition of rem. - - Whereever a number is allowed, GTK also accepts a Windows-specific - theme size: - - - -〈win32 theme size〉 = 〈win32 size〉 | 〈win32 part size〉 -〈win32 size〉 = -gtk-win32-size ( 〈theme name〉, 〈metric id〉 ) -〈win32 part size〉 = [ -gtk-win32-part-width | -gtk-win32-part-height | - -gtk-win32-part-border-top | -gtk-win32-part-border-right | - -gtk-win32-part-border-bottom | -gtk-win32-part-border-left ] - ( 〈theme name〉 , 〈integer〉 , 〈integer〉 ) - - 〈calc expression〉 = calc( 〈calc sum〉 ) 〈calc sum〉 = 〈calc product〉 [ [ + | - ] 〈calc product〉 ]* 〈calc product〉 = 〈calc value〉 [ * 〈calc value〉 | / 〈number〉 ]* -- cgit v1.2.1