diff options
author | Benjamin Otte <otte@redhat.com> | 2019-03-22 22:29:11 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-03-22 22:30:01 +0100 |
commit | 799cb39e0866b0be17367580fd08b37215d3dcdd (patch) | |
tree | ab1782d66a9b3f7916b1158052fc9a4fa112c5d0 /docs | |
parent | 0615668dd933ff2d3aab2d96cfd00f5a9666abe2 (diff) | |
download | gtk+-799cb39e0866b0be17367580fd08b37215d3dcdd.tar.gz |
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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/gtk/css-overview.xml | 18 | ||||
-rw-r--r-- | docs/reference/gtk/css-properties.xml | 14 |
2 files changed, 2 insertions, 30 deletions
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. </para> -<literallayout><code>〈gtk color〉 = 〈symbolic color〉 | 〈color expression〉 | 〈win32 color〉</code> +<literallayout><code>〈gtk color〉 = 〈symbolic color〉 | 〈color expression〉</code> </literallayout> <para> @@ -594,13 +594,6 @@ checkbutton:indeterminate { <code> alpha( 〈color〉, 〈number〉 ) | mix( 〈color〉, 〈color〉, 〈number〉 )</code> </literallayout> - <para> - On Windows, GTK allows to refer to system colors, as follows: - </para> - -<literallayout><code>〈win32 color〉 = -gtk-win32-color( 〈name〉, 〈integer〉 )</code> -</literallayout> - </refsect2> <refsect2> @@ -737,7 +730,7 @@ label { GTK extends the CSS syntax for images and also uses it for specifying icons. </para> -<literallayout><code>〈gtk image〉 = 〈themed icon〉 | 〈scaled image〉 | 〈recolored image〉 | 〈win32 theme part〉</code> +<literallayout><code>〈gtk image〉 = 〈themed icon〉 | 〈scaled image〉 | 〈recolored image〉</code> </literallayout> <para> @@ -815,13 +808,6 @@ arrow { } ]]></programlisting> </example> - <para> - On Windows, GTK allows to refer to system theme parts as images, as follows: - </para> - -<literallayout><code>〈win32 theme part〉 = -gtk-win32-theme-part( 〈name〉, 〈integer〉 〈integer〉</code> -<code> [ , [ over( 〈integer〉 〈integer〉 [ , 〈alpha value〉 ]? ) | margins( 〈integer〉{1,4} ) ] ]* )</code> -</literallayout> </refsect2> 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 <literallayout> for syntax productions, and each line is put in a <code> not quite the same as the CSS definition of rem. </para> - <para> - Whereever a number is allowed, GTK also accepts a Windows-specific - theme size: - </para> - -<literallayout> -<code>〈win32 theme size〉 = 〈win32 size〉 | 〈win32 part size〉</code> -<code>〈win32 size〉 = -gtk-win32-size ( 〈theme name〉, 〈metric id〉 )</code> -<code>〈win32 part size〉 = [ -gtk-win32-part-width | -gtk-win32-part-height |</code> -<code> -gtk-win32-part-border-top | -gtk-win32-part-border-right |</code> -<code> -gtk-win32-part-border-bottom | -gtk-win32-part-border-left ]</code> -<code> ( 〈theme name〉 , 〈integer〉 , 〈integer〉 )</code> -</literallayout> - <literallayout><code>〈calc expression〉 = calc( 〈calc sum〉 )</code> <code>〈calc sum〉 = 〈calc product〉 [ [ + | - ] 〈calc product〉 ]*</code> <code>〈calc product〉 = 〈calc value〉 [ * 〈calc value〉 | / 〈number〉 ]*</code> |