Metal Detector
 
Loading...
Searching...
No Matches
ui.h File Reference

User Interface header for MetalDetector project generated by SquareLine Studio. More...

#include "lvgl.h"

Go to the source code of this file.

Macros

#define TIME_DOMAIN_CHART_LEN   100
 Length of the time domain chart.
 
#define FREQ_DOMAIN_CHART_LEN   256
 Length of the frequency domain chart.
 
#define TIME_DOMAIN_MAX_VALUE   4095
 Maximum value for the time domain chart.
 
#define FREQ_DOMAIN_MAX_VALUE   1000
 Maximum value for the frequency domain chart.
 

Enumerations

enum  UI_ChartDomains_t { CHART_TIME_DOMAIN = 0 , CHART_FREQ_DOMAIN }
 Enumeration for chart domains. More...
 

Functions

void ui_init (void)
 Initialize the user interface.
 

Variables

UI_ChartDomains_t ui_chart_domain
 
lv_obj_t * ui_Main
 
lv_obj_t * ui_Tab
 
lv_obj_t * ui_MainTab_
 
lv_obj_t * ui_PhaseMainPanel
 
lv_obj_t * ui_PhaseArc
 
lv_obj_t * ui_PhaseDecorSircle
 
lv_obj_t * ui_PhaseLabel
 
lv_obj_t * ui_DepthPanel
 
lv_obj_t * ui_DepthBar
 
lv_obj_t * ui_DepthLabel
 
lv_obj_t * ui_SettingsTab_
 
lv_obj_t * ui_GndBalancePanel
 
lv_obj_t * ui_GndBalanceConf
 
lv_obj_t * ui_GndBalanceLabel
 
lv_obj_t * ui_GndBalanceButton
 
lv_obj_t * ui_GndBalanceBtnLabel
 
lv_obj_t * ui_GndBalanceVal
 
lv_obj_t * ui_SensPanel
 
lv_obj_t * ui_SensConf_
 
lv_obj_t * ui_SensLabel
 
lv_obj_t * ui_SenseVal
 
lv_obj_t * ui_ChartDomainDropdown
 
lv_obj_t * ui_ChartTab_
 
lv_obj_t * ui_Chart
 
lv_obj_t * ui_Chart_Xaxis
 
lv_obj_t * ui_Chart_Yaxis1
 
lv_obj_t * ui_Chart_Yaxis2
 
lv_chart_series_t * ui_Chart_series_1
 
lv_chart_series_t * ui_Chart_series_2
 
lv_obj_t * ui____initial_actions0
 

Detailed Description

User Interface header for MetalDetector project generated by SquareLine Studio.

This file contains the declarations for user interface components and functions used in the MetalDetector project. It includes constants, data structures, and function prototypes for managing and displaying the user interface using LVGL.

Created on: Jul 30, 2024 Author: Viktor

Enumeration Type Documentation

◆ UI_ChartDomains_t

Enumeration for chart domains.

Enumerator
CHART_TIME_DOMAIN 

Time domain chart

CHART_FREQ_DOMAIN 

Frequency domain chart

Function Documentation

◆ ui_init()

void ui_init ( void )

Initialize the user interface.

Initialize the user interface.

This function sets up the default theme for the display, initializes all tabs, sets up callbacks, and loads the main screen. It configures the display theme using predefined color palettes and font settings.

Variable Documentation

◆ ui____initial_actions0

lv_obj_t* ui____initial_actions0
extern

Initial actions object

◆ ui_Chart

lv_obj_t* ui_Chart
extern

Chart object

◆ ui_chart_domain

UI_ChartDomains_t ui_chart_domain
extern

Current chart domain

◆ ui_Chart_series_1

lv_chart_series_t* ui_Chart_series_1
extern

Chart series 1 object

◆ ui_Chart_series_2

lv_chart_series_t* ui_Chart_series_2
extern

Chart series 2 object

◆ ui_Chart_Xaxis

lv_obj_t* ui_Chart_Xaxis
extern

Chart X-axis scale object

◆ ui_Chart_Yaxis1

lv_obj_t* ui_Chart_Yaxis1
extern

Chart Y-axis 1 scale object

◆ ui_Chart_Yaxis2

lv_obj_t* ui_Chart_Yaxis2
extern

Chart Y-axis 2 scale object

◆ ui_ChartDomainDropdown

lv_obj_t* ui_ChartDomainDropdown
extern

Chart domain dropdown object

◆ ui_ChartTab_

lv_obj_t* ui_ChartTab_
extern

Chart tab object

◆ ui_DepthBar

lv_obj_t* ui_DepthBar
extern

Depth bar object

◆ ui_DepthLabel

lv_obj_t* ui_DepthLabel
extern

Depth label object

◆ ui_DepthPanel

lv_obj_t* ui_DepthPanel
extern

Depth panel object

◆ ui_GndBalanceBtnLabel

lv_obj_t* ui_GndBalanceBtnLabel
extern

Ground balance button label object

◆ ui_GndBalanceButton

lv_obj_t* ui_GndBalanceButton
extern

Ground balance button object

◆ ui_GndBalanceConf

lv_obj_t* ui_GndBalanceConf
extern

Ground balance configuration slider object

◆ ui_GndBalanceLabel

lv_obj_t* ui_GndBalanceLabel
extern

Ground balance label object

◆ ui_GndBalancePanel

lv_obj_t* ui_GndBalancePanel
extern

Ground balance panel object

◆ ui_GndBalanceVal

lv_obj_t* ui_GndBalanceVal
extern

Ground balance value label object

◆ ui_Main

lv_obj_t* ui_Main
extern

Main screen object

◆ ui_MainTab_

lv_obj_t* ui_MainTab_
extern

Main tab object

◆ ui_PhaseArc

lv_obj_t* ui_PhaseArc
extern

Phase arc object

◆ ui_PhaseDecorSircle

lv_obj_t* ui_PhaseDecorSircle
extern

Phase decoration circle object

◆ ui_PhaseLabel

lv_obj_t* ui_PhaseLabel
extern

Phase label object

◆ ui_PhaseMainPanel

lv_obj_t* ui_PhaseMainPanel
extern

Phase main panel object

◆ ui_SensConf_

lv_obj_t* ui_SensConf_
extern

Sensitivity configuration slider object

◆ ui_SenseVal

lv_obj_t* ui_SenseVal
extern

Sensitivity value label object

◆ ui_SensLabel

lv_obj_t* ui_SensLabel
extern

Sensitivity label object

◆ ui_SensPanel

lv_obj_t* ui_SensPanel
extern

Sensitivity panel object

◆ ui_SettingsTab_

lv_obj_t* ui_SettingsTab_
extern

Settings tab object

◆ ui_Tab

lv_obj_t* ui_Tab
extern

Tab view object