| 1 |
/* File: pencil_visibility.h; Copyright and License: see below */ |
| 2 |
|
| 3 |
#ifndef PENCIL_VISIBILITY_H |
| 4 |
#define PENCIL_VISIBILITY_H |
| 5 |
|
| 6 |
/* public file for the doxygen documentation: */ |
| 7 |
/*! |
| 8 |
* \file |
| 9 |
* \brief Defines visibility of objects |
| 10 |
*/ |
| 11 |
|
| 12 |
/*! |
| 13 |
* \brief enumeration of all visibility types |
| 14 |
*/ |
| 15 |
enum pencil_visibility_enum { |
| 16 |
PENCIL_VISIBILITY_HIDE, /*!< object is not shown, not even if mouse-over or if selected */ |
| 17 |
PENCIL_VISIBILITY_IMPLICIT, /*!< object need not be drawn explicitly unless required by conditions like mouse-over or selected */ |
| 18 |
PENCIL_VISIBILITY_GRAY_OUT, /*!< object is shown but grayed out */ |
| 19 |
PENCIL_VISIBILITY_SHOW, /*!< object is shown */ |
| 20 |
}; |
| 21 |
|
| 22 |
typedef enum pencil_visibility_enum pencil_visibility_t; |
| 23 |
|
| 24 |
#endif /* PENCIL_VISIBILITY_H */ |
| 25 |
|
| 26 |
|
| 27 |
/* |
| 28 |
Copyright 2016-2026 Andreas Warnke |
| 29 |
|
| 30 |
Licensed under the Apache License, Version 2.0 (the "License"); |
| 31 |
you may not use this file except in compliance with the License. |
| 32 |
You may obtain a copy of the License at |
| 33 |
|
| 34 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 35 |
|
| 36 |
Unless required by applicable law or agreed to in writing, software |
| 37 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 38 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 39 |
See the License for the specific language governing permissions and |
| 40 |
limitations under the License. |
| 41 |
*/ |