This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Enumerations | |
| enum | SetPropertyStatus { SET_PROPERTY_ERROR = -1, SET_PROPERTY_SUCCEED = 0, SET_PROPERTY_UNCHANGED = 1 } |
Functions | |
| SetPropertyStatus | sciSetFinalStatus (SetPropertyStatus status1, SetPropertyStatus status2) |
| enum SetPropertyStatus |
define the diffrent type of return for a set function :
Definition at line 19 of file SetPropertyStatus.h.
00020 { SET_PROPERTY_ERROR = -1, 00021 SET_PROPERTY_SUCCEED = 0 , 00022 SET_PROPERTY_UNCHANGED = 1 } SetPropertyStatus ;
| SetPropertyStatus sciSetFinalStatus | ( | SetPropertyStatus | status1, | |
| SetPropertyStatus | status2 | |||
| ) |
when two properties are set at the same time return only one which can be used after
Definition at line 12 of file SetPropertyStatus.c.
References SET_PROPERTY_ERROR, SET_PROPERTY_SUCCEED, and SET_PROPERTY_UNCHANGED.
Referenced by set_clip_box_property(), set_current_axes_property(), set_mark_style_property(), set_text_box_mode_property(), and set_viewport_property().
00013 { 00014 if ( status1 == SET_PROPERTY_ERROR || status2 == SET_PROPERTY_ERROR ) 00015 { 00016 /* problem */ 00017 return SET_PROPERTY_ERROR ; 00018 } 00019 else if ( status1 == SET_PROPERTY_UNCHANGED && status2 == SET_PROPERTY_UNCHANGED ) 00020 { 00021 /* nothing changed */ 00022 return SET_PROPERTY_UNCHANGED ; 00023 } 00024 else 00025 { 00026 /* everything should be ok */ 00027 return SET_PROPERTY_SUCCEED ; 00028 } 00029 }
Here is the caller graph for this function:

1.5.1