annotate Discovery/Inc/tMenuEditCustom.h @ 863:0c89c6fa949c Evo_2_23

Bugfix empty line in deco plan (VPM only): Floating numbers were used to calculate the target slot for the time entry of a deco stop. The float rounding caused a time to be written into one line above the intended one. In the next step the misplaced time was overwritten by the next shallower stop. To fix the problem the index calculation has been corrected and in addition digit numbers have generally been added to floating point operations to make the floating operation more visible.
author Ideenmodellierer
date Tue, 02 Jul 2024 20:05:08 +0200
parents 717b460294cd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
1 ///////////////////////////////////////////////////////////////////////////////
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
2 /// -*- coding: UTF-8 -*-
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
3 ///
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
4 /// \file Discovery/Inc/tMenuEditCustom.h
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
5 /// \brief Header file for editing custom view Settings
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
6 /// \author heinrichs weikamp gmbh
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
7 /// \date 05-Aug-2014
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
8 ///
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
9 /// $Id$
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
10 ///////////////////////////////////////////////////////////////////////////////
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
11 /// \par Copyright (c) 2014-2020 Heinrichs Weikamp gmbh
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
12 ///
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
13 /// This program is free software: you can redistribute it and/or modify
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
14 /// it under the terms of the GNU General Public License as published by
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
15 /// the Free Software Foundation, either version 3 of the License, or
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
16 /// (at your option) any later version.
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
17 ///
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
18 /// This program is distributed in the hope that it will be useful,
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
19 /// but WITHOUT ANY WARRANTY; without even the implied warranty of
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
20 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
21 /// GNU General Public License for more details.
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
22 ///
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
23 /// You should have received a copy of the GNU General Public License
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
24 /// along with this program. If not, see <http://www.gnu.org/licenses/>.
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
25 //////////////////////////////////////////////////////////////////////////////
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
26
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
27 /* Define to prevent recursive inclusion -------------------------------------*/
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
28 #ifndef TMENU_EDIT_CUSTOM_H
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
29 #define TMENU_EDIT_CUSTOM_H
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
30
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
31 /* Includes ------------------------------------------------------------------*/
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
32 #include "stm32f4xx_hal.h"
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
33 #include "gfx_engine.h"
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
34 #include "settings.h"
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
35 #include "data_central.h"
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
36
835
717b460294cd Added autofocus for BF Navigation view:
Ideenmodellierer
parents: 834
diff changeset
37 enum afDetectionState
717b460294cd Added autofocus for BF Navigation view:
Ideenmodellierer
parents: 834
diff changeset
38 {
717b460294cd Added autofocus for BF Navigation view:
Ideenmodellierer
parents: 834
diff changeset
39 AF_VIEW_NOCHANGE = 0,
717b460294cd Added autofocus for BF Navigation view:
Ideenmodellierer
parents: 834
diff changeset
40 AF_VIEW_ACTIVATED,
717b460294cd Added autofocus for BF Navigation view:
Ideenmodellierer
parents: 834
diff changeset
41 AF_VIEW_DEACTIVATED
717b460294cd Added autofocus for BF Navigation view:
Ideenmodellierer
parents: 834
diff changeset
42 };
717b460294cd Added autofocus for BF Navigation view:
Ideenmodellierer
parents: 834
diff changeset
43
717b460294cd Added autofocus for BF Navigation view:
Ideenmodellierer
parents: 834
diff changeset
44
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
45 void openEdit_Custom(uint8_t line);
521
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
46 void openEdit_CustomviewDivemode(const uint8_t* pcv_changelist);
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
47 void openEdit_CustomviewDivemodeMenu(uint8_t line);
e221cf762f45 Move Bigfont and motion Ctrl selection menu out of custom view submenu:
Ideenmodellierer
parents: 506
diff changeset
48 void CustomviewDivemode_refresh();
552
531e7818b737 Added menu structure to acces viewport calibration:
Ideenmodellierer
parents: 521
diff changeset
49 void refresh_ViewPort(void);
834
2a8af51ab04d Added event based display changes for big font view:
Ideenmodellierer
parents: 561
diff changeset
50 uint8_t HandleAFCompass(void);
506
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
51
998529b3e142 Added new top level menu for customization of views
Ideenmodellierer
parents:
diff changeset
52 #endif /* TMENU_EDIT_CUSTOM_H */