screen_set_effect_property_iv()

Set the value of the specified effect property of type integer.

Synopsis:

#include <screen/screen.h>
 
int screen_set_effect_property_iv(screen_window_t win, int pname, const int *param)

Arguments:

win

The handle of the window whose effect property is to be set.

pname

The name of the property whose value is being set. The properties that you can set are of type Screen_Effect_Property_Types.

param

A pointer to a buffer containing the new value(s). This buffer must be of type int. param may be a single integer or an array of integers depending on the property being set.

Library:

libscreen

Description:

Function Type: Delayed Execution

This function sets the value of a effect property from a user-provided buffer.

You can use this function to set the value of the following properties:
  • SCREEN_FLIP_AXIS
  • SCREEN_FLIP_DIRECTION
  • SCREEN_ROTATE_DIRECTION
  • SCREEN_PAGE_CURL_ORIGIN
  • SCREEN_PAGE_CURL_POSITION
  • SCREEN_REVEAL_ORIGIN
  • SCREEN_REVEAL_POSITION

Returns:

0 if the value(s) of the property was set to new value(s), or -1 if an error occurred (errno is set).