ugBASIC
1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
fade_out.c
Go to the documentation of this file.
1
/*****************************************************************************
2
* ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
3
*****************************************************************************
4
* Copyright 2021-2024 Marco Spedaletti (asimov@mclink.it)
5
*
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*----------------------------------------------------------------------------
18
* Concesso in licenza secondo i termini della Licenza Apache, versione 2.0
19
* (la "Licenza"); è proibito usare questo file se non in conformità alla
20
* Licenza. Una copia della Licenza è disponibile all'indirizzo:
21
*
22
* http://www.apache.org/licenses/LICENSE-2.0
23
*
24
* Se non richiesto dalla legislazione vigente o concordato per iscritto,
25
* il software distribuito nei termini della Licenza è distribuito
26
* "COSÌ COM'È", SENZA GARANZIE O CONDIZIONI DI ALCUN TIPO, esplicite o
27
* implicite. Consultare la Licenza per il testo specifico che regola le
28
* autorizzazioni e le limitazioni previste dalla medesima.
29
****************************************************************************/
30
31
/****************************************************************************
32
* INCLUDE SECTION
33
****************************************************************************/
34
35
#include "
../../ugbc.h
"
36
37
/****************************************************************************
38
* CODE SECTION
39
****************************************************************************/
40
41
#if !(defined(__pc128op__) || defined(__mo5__) || defined(__to8__))
42
46
47
/* <usermanual>
48
@keyword FADE OUT
49
50
@english
51
52
The ''FADE OUT'' command is a fundamental tool for creating smooth visual
53
transitions, allowing you to gradually modulate the disappearance of
54
elements. The ''FADE OUT'' command, in its simplest form, starts a fade-out
55
process, which will gradually decrease in opacity until it becomes completely
56
invisible. The duration of this transition, in the absence of further
57
specifications, is determined by default. However, it is possible to exert
58
more precise control over the duration of the fade-out through the syntax
59
''FADE OUT PERIOD time'', where the keyword ''PERIOD'' introduces the time
60
specification time. The latter defines the time interval within which the
61
element will pass from its full visibility to absolute invisibility.
62
63
@italian
64
65
Il comando ''FADE OUT'' rappresenta uno strumento fondamentale per la creazione
66
di transizioni visive fluide, permettendo di modulare gradualmente la sparizione
67
degli elementi. Il comando ''FADE OUT'', nella sua forma più semplice, avvia un
68
processo di dissolvenza in uscita, il quale inizierà progressivamente a diminuire
69
la propria opacità fino a diventare completamente invisibile. La durata di questa
70
transizione, in assenza di specificazioni ulteriori, è determinata da impostazioni
71
predefinite. Tuttavia, è possibile esercitare un controllo più preciso sulla durata
72
della dissolvenza in uscita attraverso la sintassi ''FADE OUT PERIOD time'', dove
73
la parola chiave ''PERIOD'' introduce la specifica temporale time. Quest'ultima
74
definisce l'intervallo di tempo entro il quale l'elemento passerà dalla sua piena
75
visibilità all'assoluta invisibilità.
76
77
@syntax FADE OUT[PERIOD time]
78
79
@example FADE OUT
80
@example FADE OUT PERIOD 10
81
82
@seeAlso FADE IN
83
@target atari
84
@target atarixl
85
@target pc128op
86
@target mo5
87
@target to8
88
</usermanual> */
89
90
void
fade_out
(
Environment
* _environment,
char
* _period ) {
91
92
}
93
94
#endif
fade_out
void fade_out(Environment *_environment, char *_period)
Emit code for FADE.
Definition
fade_out.c:47
ugbc.h
Environment
struct _Environment Environment
Structure of compilation environment.
Z:
ugbasic
ugbc
src
targets
common
fade_out.c
Generated by
1.16.1