Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISUZU
VC66_7C
Commits
b881215e
Commit
b881215e
authored
3 years ago
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整图片
parent
a4f8dbb2
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
635 additions
and
462 deletions
+635
-462
GUI.c
source/Application/Graphic/GUI/GUI.c
+106
-1
GUI.h
source/Application/Graphic/GUI/GUI.h
+7
-0
Menu.h
source/Application/Graphic/Menu/Menu.h
+16
-0
Menu_user.c
source/Application/Graphic/Menu/Menu_user.c
+47
-4
images.c
source/Driver/Graphic/images.c
+457
-456
images.h
source/Driver/Graphic/images.h
+1
-0
loc_graphics_data.h
source/Driver/Graphic/loc_graphics_data.h
+1
-1
No files found.
source/Application/Graphic/GUI/GUI.c
View file @
b881215e
...
...
@@ -6516,6 +6516,7 @@ void GUI_BG_DTCEngine_Display(uint8_t Mode)
GUI_General_Display
(
MENU_Sprite
,
SpriteSize
,
GUI_BLENDMODE_SRC_OVER
);
}
}
/*--------------------------------------------------------------------------
* Function Name : GUI_BG_DTCSCR_Display
* Description :
...
...
@@ -6544,7 +6545,9 @@ void GUI_BG_DTCSCR_Display(uint8_t Mode)
{
GUI_General_Display
(
MENU_Sprite
,
SpriteSize
,
GUI_BLENDMODE_SRC_OVER
);
}
}
/*--------------------------------------------------------------------------
}
/*--------------------------------------------------------------------------
* Function Name : GUI_BG_FacMenu6_Display
* Description :
* Input : None
...
...
@@ -6572,4 +6575,106 @@ void GUI_BG_DTCAMT_Display(uint8_t Mode)
{
GUI_General_Display
(
MENU_Sprite
,
SpriteSize
,
GUI_BLENDMODE_SRC_OVER
);
}
}
/*--------------------------------------------------------------------------
* Function Name : GUI_BG_FacDTCClear_Display
* Description :
* Input : None
* Output : None
* Return : None
* onther : 区域
--------------------------------------------------------------------------*/
void
GUI_BG_FacDTCClear_Display
(
uint8_t
Mode
)
{
if
(
Mode
==
GUI_DISP_MODE_NORMAL
)
{
GUI_General_Display
(
MENU_Sprite
,
CN_Fty_Menu2_02_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
/*menu*/
GUI_General_Display
(
MENU_Sprite
,
CN_fengexian
,
GUI_BLENDMODE_SRC_OVER
);
/*line*/
GUI_General_Display
(
MENU_Sprite
,
CN_Fty_Menu2_02_1
,
GUI_BLENDMODE_SRC_OVER
);
}
else
{
GUI_General_Display
(
MENU_Sprite
,
SpriteSize
,
GUI_BLENDMODE_SRC_OVER
);
}
}
/*--------------------------------------------------------------------------
* Function Name : GUI_BG_FacMenu6_Display
* Description :
* Input : None
* Output : None
* Return : None
* onther : 区域
--------------------------------------------------------------------------*/
void
GUI_BG_FacDTCClearYN_Display
(
uint8_t
Mode
)
{
if
(
Mode
==
GUI_DISP_MODE_NORMAL
)
{
GUI_General_Display
(
MENU_Sprite
,
CN_Fty_Menu2_02_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
/*menu*/
GUI_General_Display
(
MENU_Sprite
,
CN_fengexian
,
GUI_BLENDMODE_SRC_OVER
);
/*line*/
GUI_General_Display
(
MENU_Sprite
,
CN_Fty_Menu2_02_2
,
GUI_BLENDMODE_SRC_OVER
);
}
else
{
GUI_General_Display
(
MENU_Sprite
,
SpriteSize
,
GUI_BLENDMODE_SRC_OVER
);
}
}
/*--------------------------------------------------------------------------
* Function Name : GUI_BG_FacMeter_Display
* Description :
* Input : None
* Output : None
* Return : None
* onther : 区域
--------------------------------------------------------------------------*/
void
GUI_BG_FacMeter_Display
(
uint8_t
Mode
)
{
uint8_t
i
=
0u
;
uint8_t
j
=
0u
;
if
(
Mode
==
GUI_DISP_MODE_NORMAL
)
{
GUI_General_Display
(
MENU_Sprite
,
CN_Fty_Menu2_08_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
/*menu*/
GUI_General_Display
(
MENU_Sprite
,
CN_fengexian
,
GUI_BLENDMODE_SRC_OVER
);
/*line*/
GUI_General_Display
(
MENU_Sprite
,
CN_gundongtiao
,
GUI_BLENDMODE_SRC_OVER
);
/*长度条*/
GUI_General_Display
(
MENU_Sprite
,
CN_Fty_Menu2_08_biaoge
,
GUI_BLENDMODE_SRC_OVER
);
/*框*/
GUI_Translate_Display
(
MENU_Sprite
,
CN_Fty_Menu2_08_L
,
286u
,
164u
,
GUI_BLENDMODE_SRC_OVER
);
/*L*/
GUI_Translate_Display
(
MENU_Sprite
,
CN_Fty_Menu2_08_H
,
260u
,
178u
,
GUI_BLENDMODE_SRC_OVER
);
/*H*/
/*标题*/
for
(
i
=
0
;
i
<
9
;
i
++
)
{
if
(
i
==
0
)
{
for
(
j
=
0
;
j
<
4
;
j
++
)
{
GUI_Translate_Display
(
MENU_Sprite
,
CN_Fty_Menu2_08_N
,
(
270u
+
43u
*
i
),
(
208u
+
40u
*
j
),
GUI_BLENDMODE_SRC_OVER
);
/*M*/
}
}
else
{
GUI_Translate_Display
(
MENU_Sprite
,
CN_Fty_Menu2_08_M
+
i
,
(
270u
+
43u
*
i
),
168u
,
GUI_BLENDMODE_SRC_OVER
);
/*M*/
}
}
/*数字*/
for
(
i
=
0
;
i
<
8
;
i
++
)
{
for
(
j
=
0
;
j
<
5
;
j
++
)
{
GUI_Translate_Display
(
MENU_Sprite
,
CN_Fty_Menu2_08_O
,
(
302u
+
44u
*
i
),
(
208u
+
40u
*
j
),
GUI_BLENDMODE_SRC_OVER
);
/*M*/
GUI_Translate_Display
(
MENU_Sprite
,
CN_Fty_Menu2_08_O
,
(
320u
+
44u
*
i
),
(
208u
+
40u
*
j
),
GUI_BLENDMODE_SRC_OVER
);
/*M*/
}
}
}
else
{
GUI_General_Display
(
MENU_Sprite
,
SpriteSize
,
GUI_BLENDMODE_SRC_OVER
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
source/Application/Graphic/GUI/GUI.h
View file @
b881215e
...
...
@@ -410,6 +410,13 @@ void GUI_BG_FacMenu3_Display(uint8_t Mode); /**/
void
GUI_BG_FacMenu4_Display
(
uint8_t
Mode
);
/**/
void
GUI_BG_FacMenu5_Display
(
uint8_t
Mode
);
/**/
void
GUI_BG_FacMenu6_Display
(
uint8_t
Mode
);
/**/
void
GUI_BG_FacDTCClear_Display
(
uint8_t
Mode
);
/*工厂模式清除DTC1*/
void
GUI_BG_FacDTCClearYN_Display
(
uint8_t
Mode
);
/*工厂模式清除DTC2*/
void
GUI_BG_FacMeter_Display
(
uint8_t
Mode
);
/*工厂模式仪表显示*/
void
GUI_BG_DTCEngine_Display
(
uint8_t
Mode
);
/*发动机故障*/
void
GUI_BG_DTCSCR_Display
(
uint8_t
Mode
);
/*SCR故障*/
void
GUI_BG_DTCAMT_Display
(
uint8_t
Mode
);
/*AMT故障*/
...
...
This diff is collapsed.
Click to expand it.
source/Application/Graphic/Menu/Menu.h
View file @
b881215e
...
...
@@ -539,6 +539,22 @@ EXTERN_MEU_PROCESS void LevelF1Menu_6Enter(void);
EXTERN_MEU_PROCESS
void
LevelF1Menu_6Do
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1Menu_6Exit
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_2Menu_1Enter
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_2Menu_1Do
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_2Menu_1Exit
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_2Menu_2Enter
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_2Menu_2Do
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_2Menu_2Exit
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_3Menu_1Enter
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_3Menu_1Do
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_3Menu_1Exit
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_3Menu_2Enter
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_3Menu_2Do
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_3Menu_2Exit
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_1Menu_1Enter
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_1Menu_1Do
(
void
);
EXTERN_MEU_PROCESS
void
LevelF1_1Menu_1Exit
(
void
);
...
...
This diff is collapsed.
Click to expand it.
source/Application/Graphic/Menu/Menu_user.c
View file @
b881215e
...
...
@@ -129,11 +129,11 @@ const _MenuOptTab MenuOptTab[] =
/*86*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_1Enter
,
LevelF1_1Menu_1Do
,
LevelF1_1Menu_1Exit
},
/*87*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
Level
3_5Menu_4Enter
,
Level3_5Menu_4Do
,
Level3_5Menu_4
Exit
},
/*88*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
Level
3_5Menu_4Enter
,
Level3_5Menu_4Do
,
Level3_5Menu_4
Exit
},
/*87*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
Level
F1_2Menu_1Enter
,
LevelF1_2Menu_1Do
,
LevelF1_2Menu_1
Exit
},
/*88*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
Level
F1_2Menu_2Enter
,
LevelF1_2Menu_2Do
,
LevelF1_2Menu_2
Exit
},
/*89*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
Level
3_5Menu_4Enter
,
Level3_5Menu_4Do
,
Level3_5Menu_4
Exit
},
/*90*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
Level
3_5Menu_4Enter
,
Level3_5Menu_4Do
,
Level3_5Menu_4
Exit
},
/*89*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
Level
F1_3Menu_1Enter
,
LevelF1_3Menu_1Do
,
LevelF1_3Menu_1
Exit
},
/*90*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
Level
F1_3Menu_2Enter
,
LevelF1_3Menu_2Do
,
LevelF1_3Menu_2
Exit
},
/*91*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_1Enter
,
LevelF1_1Menu_1Do
,
LevelF1_1Menu_1Exit
},
/*92*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_2Enter
,
LevelF1_1Menu_2Do
,
LevelF1_1Menu_2Exit
},
...
...
@@ -1705,4 +1705,47 @@ void LevelF1_1Menu_4Do(void)
GUI_OftenShow_Display
();
}
void
LevelF1_1Menu_4Exit
(
void
)
{}
/*----工厂模式----DTC清除----所有DTC全部清除-----*/
void
LevelF1_2Menu_1Enter
(
void
)
{}
void
LevelF1_2Menu_1Do
(
void
)
{
GUI_OftenShow_Display
();
GUI_BG_FacDTCClear_Display
(
GUI_DISP_MODE_NORMAL
);
}
void
LevelF1_2Menu_1Exit
(
void
)
{}
/*----工厂模式----DTC清除----清除DTC全部-----*/
void
LevelF1_2Menu_2Enter
(
void
)
{}
void
LevelF1_2Menu_2Do
(
void
)
{
GUI_OftenShow_Display
();
GUI_BG_FacDTCClearYN_Display
(
GUI_DISP_MODE_NORMAL
);
}
void
LevelF1_2Menu_2Exit
(
void
)
{}
/*----工厂模式----仪表设定显示----L0-7 H2-A-----*/
void
LevelF1_3Menu_1Enter
(
void
)
{}
void
LevelF1_3Menu_1Do
(
void
)
{
GUI_OftenShow_Display
();
GUI_BG_FacMeter_Display
(
GUI_DISP_MODE_NORMAL
);
}
void
LevelF1_3Menu_1Exit
(
void
)
{}
/*----工厂模式----仪表设定显示----L8-F H2-A-----*/
void
LevelF1_3Menu_2Enter
(
void
)
{}
void
LevelF1_3Menu_2Do
(
void
)
{
GUI_OftenShow_Display
();
}
void
LevelF1_3Menu_2Exit
(
void
)
{}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
source/Driver/Graphic/images.c
View file @
b881215e
This diff is collapsed.
Click to expand it.
source/Driver/Graphic/images.h
View file @
b881215e
...
...
@@ -620,6 +620,7 @@ enum SpriteName
CN_Fty_Menu2_08_A
,
CN_Fty_Menu2_08_B
,
CN_Fty_Menu2_08_biaoge
,
CN_Fty_Menu2_08_biaoge1
,
CN_Fty_Menu2_08_C
,
CN_Fty_Menu2_08_D
,
CN_Fty_Menu2_08_E
,
...
...
This diff is collapsed.
Click to expand it.
source/Driver/Graphic/loc_graphics_data.h
View file @
b881215e
...
...
@@ -109,7 +109,7 @@ uint8_t CalendarEn = 0u;
LogicLayerAttr_t
CalendarLogicLayerAttr
[
MAX_CALENDAR_SUP_LAYER
];
/**/
#define MAX_MENU_SUP_LAYER
60
#define MAX_MENU_SUP_LAYER
115
MultiBufferSprite_t
MENUSpriteBuf
;
uint8_t
MENUIndex
=
0u
;
uint8_t
MENUUpdate
=
0u
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment