Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/output-management.xml
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 73 | <request name="create_configuration"> | |||
---|---|---|---|---|---|
74 | <description summary="provide outputconfiguration object for configuring outputs"> | 74 | <description summary="provide outputconfiguration object for configuring outputs"> | ||
75 | Request an outputconfiguration object through which the client can configure | 75 | Request an outputconfiguration object through which the client can configure | ||
76 | output devices. | 76 | output devices. | ||
77 | </description> | 77 | </description> | ||
78 | <arg name="id" type="new_id" interface="org_kde_kwin_outputconfiguration"/> | 78 | <arg name="id" type="new_id" interface="org_kde_kwin_outputconfiguration"/> | ||
79 | </request> | 79 | </request> | ||
80 | 80 | | |||
81 | </interface> | 81 | </interface> | ||
82 | 82 | | |||
83 | <interface name="org_kde_kwin_outputconfiguration" version="2"> | 83 | <interface name="org_kde_kwin_outputconfiguration" version="2"> | ||
graesslin: please increment version | |||||
84 | <description summary="configure single output devices"> | 84 | <description summary="configure single output devices"> | ||
85 | outputconfiguration is a client-specific resource that can be used to ask | 85 | outputconfiguration is a client-specific resource that can be used to ask | ||
86 | the server to apply changes to available output devices. | 86 | the server to apply changes to available output devices. | ||
87 | 87 | | |||
88 | The client receives a list of output devices from the registry. When it wants | 88 | The client receives a list of output devices from the registry. When it wants | ||
89 | to apply new settings, it creates a configuration object from the | 89 | to apply new settings, it creates a configuration object from the | ||
90 | outputmanagement global, writes changes through this object's enable, scale, | 90 | outputmanagement global, writes changes through this object's enable, scale, | ||
91 | transform and mode calls. It then asks the server to apply these settings in | 91 | transform and mode calls. It then asks the server to apply these settings in | ||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
138 | <request name="scale"> | 138 | <request name="scale"> | ||
139 | <description summary="set scaling factor of this output"> | 139 | <description summary="set scaling factor of this output"> | ||
140 | Sets the scaling factor for this output device. | 140 | Sets the scaling factor for this output device. | ||
141 | </description> | 141 | </description> | ||
142 | <arg name="outputdevice" type="object" interface="org_kde_kwin_outputdevice" summary="outputdevice this mode change applies to"/> | 142 | <arg name="outputdevice" type="object" interface="org_kde_kwin_outputdevice" summary="outputdevice this mode change applies to"/> | ||
143 | <arg name="scale" type="int" summary="scaling factor"/> | 143 | <arg name="scale" type="int" summary="scaling factor"/> | ||
144 | </request> | 144 | </request> | ||
145 | 145 | | |||
146 | <request name="apply"> | 146 | <request name="apply"> | ||
graesslin: since is missing | |||||
graesslin: you cannot add requests in between, a new request must be the last. | |||||
147 | <description summary="apply configuration changes to all output devices"> | 147 | <description summary="apply configuration changes to all output devices"> | ||
148 | Asks the server to apply property changes requested through this outputconfiguration | 148 | Asks the server to apply property changes requested through this outputconfiguration | ||
149 | object to all outputs on the server side. | 149 | object to all outputs on the server side. | ||
150 | </description> | 150 | </description> | ||
151 | </request> | 151 | </request> | ||
152 | 152 | | |||
153 | <event name="applied"> | 153 | <event name="applied"> | ||
154 | <description summary="configuration changes have been applied"> | 154 | <description summary="configuration changes have been applied"> | ||
Show All 12 Lines | 166 | <request name="scalef" since="2"> | |||
167 | <description summary="set scaling factor of this output"> | 167 | <description summary="set scaling factor of this output"> | ||
168 | Sets the scaling factor for this output device. | 168 | Sets the scaling factor for this output device. | ||
169 | Sending both scale and scalef is undefined. | 169 | Sending both scale and scalef is undefined. | ||
170 | </description> | 170 | </description> | ||
171 | <arg name="outputdevice" type="object" interface="org_kde_kwin_outputdevice" summary="outputdevice this mode change applies to"/> | 171 | <arg name="outputdevice" type="object" interface="org_kde_kwin_outputdevice" summary="outputdevice this mode change applies to"/> | ||
172 | <arg name="scale" type="fixed" summary="scaling factor"/> | 172 | <arg name="scale" type="fixed" summary="scaling factor"/> | ||
173 | </request> | 173 | </request> | ||
174 | 174 | | |||
175 | <request name="colorcurves" since="2"> | ||||
176 | <description summary="set output color curves"> | ||||
177 | Set color curves of output devices through RGB color ramps. Allows color | ||||
178 | correction of output device from user space. | ||||
179 | | ||||
180 | These are the raw values. A compositor might opt to adjust these values | ||||
181 | internally, for example to shift color temperature at night. | ||||
182 | </description> | ||||
183 | <arg name="outputdevice" type="object" interface="org_kde_kwin_outputdevice" summary="outputdevice curves apply to"/> | ||||
184 | <arg name="red" type="array" summary="red color ramp"/> | ||||
185 | <arg name="green" type="array" summary="green color ramp"/> | ||||
186 | <arg name="blue" type="array" summary="blue color ramp"/> | ||||
187 | </request> | ||||
188 | | ||||
175 | <request name="destroy" type="destructor" since="2"> | 189 | <request name="destroy" type="destructor" since="2"> | ||
176 | <description summary="release the outputconfiguration object"/> | 190 | <description summary="release the outputconfiguration object"/> | ||
177 | </request> | 191 | </request> | ||
178 | 192 | | |||
179 | </interface> | 193 | </interface> | ||
180 | 194 | | |||
181 | </protocol> | 195 | </protocol> |
please increment version