changeset 113:9c079f8f71a0

mmiLists.h: bogotab fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 09 Nov 2020 01:27:51 +0000
parents 5b6cd82fedea
children 8a613ccfd6dc
files src/ui/bmi/mmiLists.h
diffstat 1 files changed, 43 insertions(+), 41 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui/bmi/mmiLists.h	Mon Nov 09 01:21:20 2020 +0000
+++ b/src/ui/bmi/mmiLists.h	Mon Nov 09 01:27:51 2020 +0000
@@ -3,7 +3,7 @@
 
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
 ********************************************************************************
 
@@ -12,14 +12,14 @@
 
 ********************************************************************************
 
- $Project name:	Basic MMI
- $Project code:	BMI (6349)
- $Module:		MMI
- $File:		    MmiLists.h
- $Revision:		1.0
+ $Project name: Basic MMI
+ $Project code: BMI (6349)
+ $Module:       MMI
+ $File:         MmiLists.h
+ $Revision:     1.0
 
- $Author:		Condat(UK)
- $Date:		    25/10/00
+ $Author:       Condat(UK)
+ $Date:         25/10/00
 
 ********************************************************************************
 
@@ -30,26 +30,26 @@
 ********************************************************************************
  $History: MmiLists.h
 
- 	May 18, 2006    REF: DRT OMAPS00076438  xdeepadh
-	Description: Scrolling not implemented in Imageviewer
-	Solution: The support for scrolling has been provided.
+    May 18, 2006    REF: DRT OMAPS00076438  xdeepadh
+    Description: Scrolling not implemented in Imageviewer
+    Solution: The support for scrolling has been provided.
 
        May 03, 2006    REF: DRT OMAPS00076439  xdeepadh
-	Description: Image viewer back not working
-	Solution: The Preview List will be repopulated, when the list window is
-	resumed.
+    Description: Image viewer back not working
+    Solution: The Preview List will be repopulated, when the list window is
+    resumed.
 
-	 Dec 22, 2005    REF: ENH  xdeepadh
-	Description: Image Viewer Application
-	Solution: Implemeted the Image Viewer  to view the jpeg images
+     Dec 22, 2005    REF: ENH  xdeepadh
+    Description: Image Viewer Application
+    Solution: Implemeted the Image Viewer  to view the jpeg images
 
        xrashmic 5 Oct, 2005 MMI-SPR-29356, MMI-SPR-29357
        Using the MenuSelect Key for requesting the help info in STK menu.
 
-	March 01, 2005    REF: ENH 29313    Deepa M.D
-	Isolating colour build related changes from MMI LITE flag.
- 	The proper  Feature flag  COLORDISPLAY was used for all color
-   	related changes.
+    March 01, 2005    REF: ENH 29313    Deepa M.D
+    Isolating colour build related changes from MMI LITE flag.
+    The proper  Feature flag  COLORDISPLAY was used for all color
+    related changes.
 
 
  $End
@@ -72,19 +72,19 @@
 #define LISTS_REASON_NULL     0
 #define LISTS_REASON_SELECT   1
 #define LISTS_REASON_BACK     2
-#define LISTS_REASON_TIMEOUT   3
-#define LISTS_REASON_CLEAR     4
-#define LISTS_REASON_SCROLL     5
-#define LISTS_REASON_HANGUP 6
-#define LISTS_REASON_SEND 7
-#define LISTS_REASON_CALL 8
-//	Dec 22, 2005    REF: ENH  xdeepadh -Imageviewer
+#define LISTS_REASON_TIMEOUT  3
+#define LISTS_REASON_CLEAR    4
+#define LISTS_REASON_SCROLL   5
+#define LISTS_REASON_HANGUP   6
+#define LISTS_REASON_SEND     7
+#define LISTS_REASON_CALL     8
+//  Dec 22, 2005    REF: ENH  xdeepadh -Imageviewer
 #define LISTS_REASON_SCROLL_UP     9
-#define LISTS_REASON_SCROLL_DOWN     10
-#define LISTS_REASON_RESUME   11
-#define LISTS_REASON_SUSPEND   12
- #define LISTS_REASON_VISIBLE	13
- #define LISTS_REASON_DRAWCOMPLETE	14
+#define LISTS_REASON_SCROLL_DOWN   10
+#define LISTS_REASON_RESUME        11
+#define LISTS_REASON_SUSPEND       12
+#define LISTS_REASON_VISIBLE       13
+#define LISTS_REASON_DRAWCOMPLETE  14
 
 
 /*Event which can be sent to list window*/
@@ -106,29 +106,29 @@
 
 typedef struct
 {
-	MfwHnd		win;
+    MfwHnd      win;
     MfwMnuAttr  *Attr;            /* Menu attributes                    */
-    MfwMnuItem  *List;		  /* List menu text strings.            */
-    UBYTE        ListLength;	  /* Number of entries in list menu.    */
-    UBYTE        ListPosition;	  /* True cursor position in list menu. */
+    MfwMnuItem  *List;            /* List menu text strings.            */
+    UBYTE        ListLength;      /* Number of entries in list menu.    */
+    UBYTE        ListPosition;    /* True cursor position in list menu. */
     UBYTE        CursorPosition;  /* Cursor position in list snapshot.  */
     UBYTE        SnapshotSize;    /* Number of list entries to view.    */
     U8           Font;            /* List menu font.                    */
     BOOL         Strings;         /* TRUE = string display; FALSE = IDs */
     int          LeftSoftKey;     /* Left softkey text.                 */
     int          RightSoftKey;    /* Right softkey text.                */
-    MfwEvt	 KeyEvents;       /* Keyboard events to be handled.     */
+    MfwEvt   KeyEvents;           /* Keyboard events to be handled.     */
     UBYTE        Reason;          /* User defined exit reason.          */
-    UBYTE 		autoDestroy;
+    UBYTE       autoDestroy;
     UBYTE       selectKey;  //xrashmic 5 Oct, 2005 MMI-SPR-29356, MMI-SPR-29357
 //March 01, 2005    REF: ENH 29313    Deepa M.D
 // Isolating colour build related changes from MMI LITE flag.
 // The proper  Feature flag  COLORDISPLAY was used for all color
 //related changes.
 #ifdef COLOURDISPLAY
-    U32			listCol;
+    U32         listCol;
 #else
-    U8			listCol;/*SPR 2686*/
+    U8          listCol;/*SPR 2686*/
 #endif
   MfwHnd       mfw_iv_handle;
   int lineHeight;
@@ -151,6 +151,7 @@
     UBYTE   ExitReason;
     ListMenuData MenuData;
 } ListWinInfo;
+
 typedef struct
 {
     T_MMI_CONTROL   mmi_control;
@@ -171,4 +172,5 @@
 T_MFW listIconsDisplayListMenu (MfwHnd Parent, ListMenuData *Data, ListCbFunc cbFunc,int inUnicode);
 void listsIconsDestroy(T_MFW_HND win);
 void listsDestroy(T_MFW_HND win);
+
 #endif /* _DEF_MMI_LISTS_H_ */