GRASS 8 Programmer's Manual
8.6.0dev(2026)-4bb960b182
Loading...
Searching...
No Matches
gsx.c
Go to the documentation of this file.
1
/*!
2
\file lib/ogsf/gsx.c
3
4
\brief OGSF library - loading and manipulating surfaces
5
6
GRASS OpenGL gsurf OGSF Library
7
8
SPDX-FileCopyrightText: 1999-2008 GRASS Development Team
9
SPDX-License-Identifier: GPL-2.0-or-later
10
11
\author Bill Brown USACERL (December 1993)
12
\author Doxygenized by Martin Landa <landa.martin gmail.com> (May 2008)
13
*/
14
15
#include <
grass/ogsf.h
>
16
17
void
(*
Cxl_func
)(
void
);
18
19
static
int
Cxl = 0;
20
21
/*!
22
\brief Check for cancel
23
24
\return code
25
*/
26
int
GS_check_cancel
(
void
)
27
{
28
Cxl_func
();
29
30
return
(Cxl);
31
}
32
33
/*!
34
\brief Set cancel
35
*/
36
void
GS_set_cancel
(
int
c)
37
{
38
Cxl = c;
39
40
return
;
41
}
42
43
/*!
44
\brief Set cxl function
45
46
\param f pointer to function
47
*/
48
void
GS_set_cxl_func
(
void
(*f)(
void
))
49
{
50
Cxl_func
= f;
51
52
return
;
53
}
AMI_STREAM
Definition
ami_stream.h:153
Cxl_func
void(* Cxl_func)(void)
Definition
gsx.c:17
GS_set_cxl_func
void GS_set_cxl_func(void(*f)(void))
Set cxl function.
Definition
gsx.c:48
GS_check_cancel
int GS_check_cancel(void)
Check for cancel.
Definition
gsx.c:26
GS_set_cancel
void GS_set_cancel(int c)
Set cancel.
Definition
gsx.c:36
ogsf.h
OGSF header file (structures)
lib
ogsf
gsx.c
Generated on Mon Sep 14 2026 06:57:44 for GRASS 8 Programmer's Manual by
1.9.8