notepad/notepad1/inc/NpdLib.rh
branchRCL_3
changeset 30 bd7edf625bdd
equal deleted inserted replaced
29:12af337248b1 30:bd7edf625bdd
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Declarations of resource structures for Notepad Library.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NPDLIB_RH
       
    20 #define NPDLIB_RH
       
    21 
       
    22 //  INCLUDES
       
    23 #include <avkon.rsg>
       
    24 //#include "NpdLib.laf"
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 //    NOTEPAD_LIST_DIALOG
       
    28 //    resource struct of CNotepadListDialog.
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 STRUCT NOTEPAD_LIST_DIALOG
       
    32     {
       
    33     LLINK menubar;                 // MENU_BAR
       
    34     LLINK dialog;                  // DIALOG
       
    35     LLINK model;                   // NOTEPAD_MODEL
       
    36     LLINK editor_dialog = 0;       // NOTEPAD_EDITOR_DIALOG
       
    37     LTEXT title = "";
       
    38     }
       
    39 
       
    40 // -----------------------------------------------------------------------------
       
    41 //    NOTEPAD_EDITOR_DIALOG
       
    42 //    resource struct of CNotepadEditorDialog.
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 STRUCT NOTEPAD_EDITOR_DIALOG
       
    46     {
       
    47     LLINK menubar;                 // MENU_BAR
       
    48     LLINK dialog;                  // DIALOG
       
    49     LTEXT title = "";
       
    50     }
       
    51 
       
    52 // -----------------------------------------------------------------------------
       
    53 //    NOTEPAD_MODEL
       
    54 //    resource struct of CNotepadModel.
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 STRUCT NOTEPAD_MODEL
       
    58     {
       
    59     LLINK data_file;
       
    60     WORD  listing_style;
       
    61     //WORD  list_width_in_chars = NOTEPAD_LIST_WIDTH_IN_CHARS; 
       
    62     LLINK date_format = 0;
       
    63     LLINK time_format = 0;
       
    64     LLINK first_note = 0;
       
    65     }
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 //    NOTEPAD_EDITOR_LAF
       
    69 //    resource struct of CNotepadEdwinLines.
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 STRUCT NOTEPAD_EDWIN_LINES_CONTROL
       
    73     {
       
    74 //    WORD C=ELayoutEmpty;
       
    75 //    WORD l=ELayoutEmpty;
       
    76 //    WORD t=ELayoutEmpty;
       
    77 //    WORD W=ELayoutEmpty;
       
    78 //    WORD H=ELayoutEmpty;
       
    79 //    WORD baselineskip;
       
    80 //    WORD paperlines;
       
    81     }
       
    82 
       
    83 // -----------------------------------------------------------------------------
       
    84 //    NOTEPAD_VIEWER_DIALOG
       
    85 //    resource struct of CNotepadViewerDialog.
       
    86 // -----------------------------------------------------------------------------
       
    87 //
       
    88 STRUCT NOTEPAD_VIEWER_DIALOG
       
    89     {
       
    90     LLINK menubar;                 // MENU_BAR
       
    91     LLINK dialog;                  // DIALOG
       
    92     }
       
    93 
       
    94 // -----------------------------------------------------------------------------
       
    95 //    NOTEPAD_MARGINS
       
    96 //    Margins of 1st column of list of memos.
       
    97 // -----------------------------------------------------------------------------
       
    98 //
       
    99 STRUCT NOTEPAD_MARGINS
       
   100     {
       
   101     WORD left;
       
   102     WORD right;
       
   103     }
       
   104 
       
   105 #endif // NPDLIB_RH
       
   106 
       
   107 // End of File