A device for setting a User Interface (UI), the device is applied in electronic equipment with screens, wherein the device comprises at least one processor, wherein
- the at least one processor is configured to:
- acquire and store image data in a file of a selected background image on a UI management interface;
- the image data comprises:
- data of a frame, an image layer, an image, a data domain and a control domain;
- the data of the data domain comprises an imaging block of a data entity in the file of the selected background image, and the data of the control domain comprises a control block character including a head, a logic view screen description block, an image control expansion and a trailer record;
- select a region with different shapes on the background image and mark space coordinates of the selected region with different shapes, to perform display effect processing on the region with different shapes according to the space coordinates and the stored image data, and to output a display effect processing result as a new file of a background image and store the output display effect processing result to an assigned position as a new file of a background image;
- and
- set the new file of the background image as a new UI;
- wherein the at least one processor is further configured to:
- extract data of a frame, an image layer, an image, a data domain and a control domain from the file of the background image and store the extracted data according to a data structure;
- wherein the at least one processor is further configured to insert processed data into the file of the selected background,
- wherein the processed data comprises at least one of:
- inserting a line shape of a highlighted border of the region with different shapes into the file of the selected background image according to the stored image data and the space coordinates;
- or,
- acquiring image data of the region with different shapes from the stored image data according to space coordinates of a starting point and an end point of each shape;
- and to perform artistic processing on the acquired image data of the region with different shapes;
- the at least one processor is further configured to insert, according to the control domain of the file of the selected background image, the line shape of the highlighted border of the region with different shapes into the data domain of the file of the selected background image, and modify the character of the control domain;
- and
- the at least one processor is further configured to insert, according to the control domain of the file of the selected background image, the processed data into the data domain of the file of the selected background image when the processed data and the selected background image are image layers, and modify the character of the control domain;
- and
- to insert, according to the control domain of the file of the selected background image, the processed data into the data domain of the file of the selected background image when the processed data and the selected background image are respectively independent image layers, and modify the character of the control domain and the character of the image layer.