Design Document For Portal

  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Design Document For Portal as PDF for free.

More details

  • Words: 848
  • Pages: 4
DESIGN DOCUMENT FOR PORTAL

Definition: Portal is a type of screen which gives flexibility to the user to switch between various programs and applications present on it. The GUI of the portal should be interactive and user friendly. It should also have a impressive look and feel. This screen may consist of the following items. 1. Title: The title is actually a brief description of what the screen is all about. 2. Video: This item is used to display the currently playing channel. 3. Menu List: This will help the user to go interactive between different applications related to this screen. 4. Advertisement: To display advertisements of sponsors.

Design: The portal screen can be made with following gadgets. 1. IMAGE GADGET: This gadget will be used for the title part of portal screen. 2. VIDEO SCALING GADGET: This gadget will be used for the video part of portal screen. 3. MENU ITEM GADGET: This gadget will be used to represent individual item in the menu list. 4. MENU GROUP GADGET: This gadget will group all the menu gadgets and provide navigation between them. 5. ADVERTISMENT GADGET: This gadget will be used to display advertisements of the sponsors. 6. PORTAL SCREEN GADGET: This gadget will be handle portal screen. 7. TIMER GADGET: This gadget will be used for the timers used in the Portal. 8. ANIMATION GADGET: This gadget will handle animation between two menu transitions. 9. CHANNEL INFO: 10. LABEL GADGET 11.

Working of the gadgets used to make the portal screen: 1. IMAGE GADGET: This gadget will show the title of the screen. It may either have an image with title on it or just a label of the title. The proposed resource structure should be: typedef struct { int int char pixmap

x_pos; y_pos; *ch; image_ID;

/* x co-ordinate of image */ /* y co-ordinate of image */ /* title */ /* Image ID of the title*/

} Image_resource;

2. VIDEO GADGET: This gadget will show the related video of the screen. It will contain two windows. One is the video window and other is the channel info window. The channel info will display the channel name and number. Also there should be channel change on up, down navigation. The proposed resource structure should be: typedef struct { int int int int pixmap pixmap

x; y; width; height; ch_up_arrow__ID;

/* x co-ordinate of video gadget */ /* y co-ordinate of vide gadget */ /* width of the video window*/ /* height of the video window */ /*image ID for the up arrow on the channel information bar*/ ch_down _arrow_ID; /* image ID for the down arrow on the channel information bar */ channel number and name attr are missing!

} Video_resource; 3. MENU ITEM GADGET: This gadget will represent individual item in the menu list on the screen. It will contain 3 n pixmaps of same image of different sizes. Also it contains the name of the item and its display position in the beginning. It should contain a flag to indicate if any program is associated with it or not. The proposed resource structure should be: typedef struct { pixmap pixmap pixmap List char int bool } Menu_resource;

small_image_ID; /*ID of the smallest image*/ medium_image_ID; /*ID of the Bigger image*/ large_image_ID; /*ID of the largest image*/ Use ID *ch; /* name of the item */ currentitem_postion; /* position of the item in the list*/ program_exist; /*flag 0 – if selectable 1- if not selectable*/ Flag always on top!

4. MENU GROUP GADGET: This gadget will represent the menu list on the screen. It will contain list of IDs of total menu gadgets present. Apart of this it will contain count of total IDs, x, y coordinate of the focused position, x, y relative positions of the next image, and maximum number of states each menu gadget should have. The proposed resource structure should be: typedef struct { ID id_list[]; int

max_ids;

int

x;

int

y;

int

x_disp;

int

y_disp;

int

max_state;

/* list of IDs of all the present Items minimum 5*/ Why 5? 1-n required! /* maximum number of items in the list*/ /*x co-ordinate of the focused position.*/ /*y co-ordinate of the focused position.*/ /*relative x position of next image from the focused position */ /* relative y position of next image from the focused position */ /*maximum states of an item */

} Menu_group_resource; 5. ADVERTISEMENT GADGET: This gadget will show the advertisements of the sponsors on the screen. This gadget can be of three types: Static, Dynamic or Interactive. It will contain Type, x ,y coordinate, list of IDs of images if the type is Dynamic and a flag to show if program exist if type is Interactive. The proposed resource structure should be: typedef struct { int type; int x; int y; required! ID id_list[]; bool

program_exist ;

/* type of advertisement:0- static, 1-dymanic, 2-interactive*/ /* x position of gadget*/ /* y position of gadget */ ID Count /* list of ids of images if type is sDynamic*/ /* 0- program exist 1- program do not exist */

} Advertisement_resource;

Related Documents

Gridlab Portal Design
October 2019 5
Portal For Hpc.pdf
December 2019 6
Portal
October 2019 54
Portal
November 2019 54
Portal
May 2020 39