SilverScreen Solid Modeler

get_ss_variable_value

get_ss_variable_value

Previous topic Next topic  

get_ss_variable_value

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int get_ss_variable_value ( int select )

 

int select;       // value identifier

 

 

 




Synopsis

#include "silver.h"

 

The get_ss_variable_value function allows retrieval of values relevant to the current window configuration.

 

 

Parameters

select is a value that selects which variable’s value is to be returned. The possible value identifiers for select are as follows (defined in SILVER.H):

 

Variable

Value Identifier

Value

char_height

SSVV_char_height

1

char_width

SSVV_char_width

2

num_colors

SSVV_num_colors

18

vchar_bot

SSVV_vchar_bot

19

vchar_left

SSVV_vchar_left

20

vchar_right

SSVV_vchar_right

21

vchar_top

SSVV_vchar_top

22

schar_bot

SSVV_schar_bot

23

schar_height

SSVV_schar_height

24

schar_left

SSVV_schar_left

25

schar_right

SSVV_schar_right

26

schar_top

SSVV_schar_top

27

schar_width

SSVV_schar_width

28

vpixel_bot

SSVV_vpixel_bot

29

vpixel_left

SSVV_vpixel_left

30

vpixel_right

SSVV_vpixel_right

31

vpixel_top

SSVV_vpixel_top

32

 

 

Return Value

get_ss_variable_value returns the specified value.

 

 

Comments

get_ss_variable_value is mostly relevant to use in the SilverEngine, to allow use of the identifiers char_height, etc. to be used directly, in a way compatible with SilverC and REX applications.