// This file is part of Notepad++ project
// Copyright (C)2003 Don HO <don.h@free.fr>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//
// Note that the GPL places important restrictions on "derived works", yet
// it does not provide a detailed definition of that term.  To avoid
// misunderstandings, we consider an application to constitute a
// "derivative work" for the purpose of this license if it does any of the
// following:
// 1. Integrates source code from Notepad++.
// 2. Integrates/includes/aggregates Notepad++ into a proprietary executable
//    installer, such as those produced by InstallShield.
// 3. Links to a library or executes a program that does any of the above.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


#include <windows.h>
#include "resource.h"
#include "menuCmdID.h"

VS_VERSION_INFO VERSIONINFO
FILEVERSION    VERSION_DIGITALVALUE
PRODUCTVERSION    VERSION_DIGITALVALUE
FILEFLAGSMASK    0x3fL
FILEFLAGS 0
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
    BLOCK    "VarFileInfo"
    BEGIN
        VALUE    "Translation",    0x409,    1200
    END
    BLOCK    "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE    "CompanyName",        "Don HO don.h@free.fr\0"
            VALUE    "FileDescription",    "Notepad++ : a free (GNU) source code editor\0"
            VALUE    "FileVersion",        VERSION_VALUE
            VALUE    "InternalName",       "npp.exe\0"
            VALUE    "LegalCopyright",     "Copyleft 1998-2006 by Don HO\0"
            VALUE    "OriginalFilename",   "Notepad++.exe\0"
            VALUE    "ProductName",        "Notepad++\0"
            VALUE    "ProductVersion",     VERSION_VALUE
        END
    END
END

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_M30ICON                     ICON      "icons\\esrn.ico"
IDI_CHAMELEON                   ICON      "icons\\esrn_2.ico" //"icons\\chameleon.ico"
IDI_NEW_OFF_ICON                ICON      "icons\\new_off.ico"
IDI_OPEN_OFF_ICON               ICON      "icons\\open_off.ico"
IDI_SAVE_OFF_ICON               ICON      "icons\\save_off.ico"
IDI_SAVEALL_OFF_ICON            ICON      "icons\\saveall_off.ico"
IDI_CLOSE_OFF_ICON              ICON      "icons\\supp_off.ico"
IDI_CLOSEALL_OFF_ICON           ICON      "icons\\suppall_off.ico"
IDI_CUT_OFF_ICON                ICON      "icons\\cut_off.ico"
IDI_COPY_OFF_ICON               ICON      "icons\\dupli_off.ico"
IDI_PASTE_OFF_ICON              ICON      "icons\\paste_off.ico"
IDI_UNDO_OFF_ICON               ICON      "icons\\undo_off.ico"
IDI_REDO_OFF_ICON               ICON      "icons\\redo_off.ico"
IDI_FIND_OFF_ICON               ICON      "icons\\find_off.ico"
IDI_REPLACE_OFF_ICON            ICON      "icons\\findrep_off.ico"
IDI_ZOOMIN_OFF_ICON             ICON      "icons\\zoomIn_off.ico"
IDI_ZOOMOUT_OFF_ICON            ICON      "icons\\zoomOut_off.ico"
IDI_VIEW_UD_DLG_OFF_ICON        ICON      "icons\\userDefineDlg_off.ico"
IDI_VIEW_ALL_CHAR_OFF_ICON      ICON      "icons\\allChars_off.ico"
IDI_VIEW_INDENT_OFF_ICON        ICON      "icons\\indentGuide_off.ico"
IDI_VIEW_WRAP_OFF_ICON          ICON      "icons\\wrap_off.ico"
IDI_PRINT_OFF_ICON              ICON      "icons\\imprim_off.ico"
IDI_NEW_ON_ICON                 ICON      "icons\\new_on.ico"
IDI_OPEN_ON_ICON                ICON      "icons\\open_on.ico"
IDI_SAVE_ON_ICON                ICON      "icons\\save_on.ico"
IDI_SAVEALL_ON_ICON             ICON      "icons\\saveall_on.ico"
IDI_CLOSE_ON_ICON               ICON      "icons\\supp_on.ico"
IDI_CLOSEALL_ON_ICON            ICON      "icons\\suppall_on.ico"
IDI_CUT_ON_ICON                 ICON      "icons\\cut_on.ico"
IDI_COPY_ON_ICON                ICON      "icons\\dupli_on.ico"
IDI_PASTE_ON_ICON               ICON      "icons\\paste_on.ico"
IDI_UNDO_ON_ICON                ICON      "icons\\undo_on.ico"
IDI_REDO_ON_ICON                ICON      "icons\\redo_on.ico"
IDI_FIND_ON_ICON                ICON      "icons\\find_on.ico"
IDI_REPLACE_ON_ICON             ICON      "icons\\findrep_on.ico"
IDI_ZOOMIN_ON_ICON              ICON      "icons\\zoomIn_on.ico"
IDI_ZOOMOUT_ON_ICON             ICON      "icons\\zoomOut_on.ico"
IDI_VIEW_UD_DLG_ON_ICON         ICON      "icons\\userDefineDlg_on.ico"
IDI_VIEW_ALL_CHAR_ON_ICON       ICON      "icons\\allChars_on.ico"
IDI_VIEW_INDENT_ON_ICON         ICON      "icons\\indentGuide_on.ico"
IDI_VIEW_WRAP_ON_ICON           ICON      "icons\\wrap_on.ico"
IDI_PRINT_ON_ICON               ICON      "icons\\imprim_on.ico"

IDI_SAVE_DISABLE_ICON           ICON      "icons\\save_dis.ico"
IDI_SAVEALL_DISABLE_ICON        ICON      "icons\\saveall_dis.ico"
IDI_CUT_DISABLE_ICON            ICON      "icons\\cut_dis.ico"
IDI_COPY_DISABLE_ICON           ICON      "icons\\dupli_dis.ico"
IDI_PASTE_DISABLE_ICON          ICON      "icons\\paste_dis.ico"
IDI_UNDO_DISABLE_ICON           ICON      "icons\\undo_dis.ico"
IDI_REDO_DISABLE_ICON           ICON      "icons\\redo_dis.ico"
//
IDI_SAVED_ICON                  ICON      "icons\\saved.ico"
IDI_UNSAVED_ICON                ICON      "icons\\unsaved.ico"
IDI_READONLY_ICON               ICON      "icons\\readonly.ico"
IDI_DELETE_ICON                 ICON      "icons\\delete.ico"

IDI_FIND_RESULT_ICON            ICON      "icons\\findResult.ico"

IDC_DRAG_TAB                    CURSOR    "cursors\\drag.cur"
IDC_DRAG_INTERDIT_TAB           CURSOR    "cursors\\drag_interdit.cur"
IDC_DRAG_PLUS_TAB               CURSOR    "cursors\\drag_plus.cur"
IDC_DRAG_OUT_TAB                CURSOR    "cursors\\drag_out.cur"

IDR_FILENEW                     BITMAP    "icons\\newFile.bmp"
IDR_FILEOPEN                    BITMAP    "icons\\openFile.bmp"
IDR_FILESAVE                    BITMAP    "icons\\saveFile.bmp"
IDR_SAVEALL                     BITMAP    "icons\\saveAll.bmp"
IDR_CLOSEFILE                   BITMAP    "icons\\closeFile.bmp"
IDR_CLOSEALL                    BITMAP    "icons\\closeAll.bmp"
IDR_FIND                        BITMAP    "icons\\find.bmp"
IDR_REPLACE                     BITMAP    "icons\\findReplace.bmp"
IDR_ZOOMIN                      BITMAP    "icons\\zoomIn.bmp"
IDR_ZOOMOUT                     BITMAP    "icons\\zoomOut.bmp"
IDR_WRAP                        BITMAP    "icons\\wrap.bmp"
IDR_INVISIBLECHAR               BITMAP    "icons\\invisibleChar.bmp"
IDR_INDENTGUIDE                 BITMAP    "icons\\indentGuide.bmp"
IDR_SHOWPANNEL                  BITMAP    "icons\\showPannel.bmp"
IDR_STARTRECORD                 BITMAP    "icons\\startRecord.bmp"
IDR_STOPRECORD                  BITMAP    "icons\\stopRecord.bmp"
IDR_PLAYRECORD                  BITMAP    "icons\\playRecord.bmp"
IDR_M_PLAYRECORD                BITMAP    "icons\\playRecord_m.bmp"
IDR_SAVERECORD                  BITMAP    "icons\\saveRecord.bmp"
IDR_CUT                         BITMAP    "icons\\cut.bmp"
IDR_COPY                        BITMAP    "icons\\copy.bmp"
IDR_PASTE                       BITMAP    "icons\\paste.bmp"
IDR_UNDO                        BITMAP    "icons\\undo.bmp"
IDR_REDO                        BITMAP    "icons\\redo.bmp"
IDR_SYNCV                       BITMAP    "icons\\compile_2.bmp"
IDR_SYNCH                       ICON    "icons\\syncH.ico"
IDR_PRINT                       BITMAP    "icons\\print.bmp"
IDR_CLOSETAB                    BITMAP    "icons\\closeTabButton.bmp"
IDR_CLOSETAB_INACT              BITMAP    "icons\\closeTabButton_inact.bmp"
IDR_CLOSETAB_HOVER              BITMAP    "icons\\closeTabButton_hover.bmp"
IDR_CLOSETAB_PUSH               BITMAP    "icons\\closeTabButton_push.bmp"
IDR_DOCMAP                      BITMAP    "icons\\docMap.bmp"
IDR_FUNC_LIST                   BITMAP    "icons\\functionList.bmp"
IDI_STARTRECORD_OFF_ICON        ICON      "icons\\startrecord_off.ico"
IDI_STARTRECORD_ON_ICON         ICON      "icons\\startrecord_on.ico"
IDI_STARTRECORD_DISABLE_ICON    ICON      "icons\\startrecord_dis.ico"
IDI_STOPRECORD_OFF_ICON         ICON      "icons\\stoprecord_off.ico"
IDI_STOPRECORD_ON_ICON          ICON      "icons\\stoprecord_on.ico"
IDI_STOPRECORD_DISABLE_ICON     ICON      "icons\\stoprecord_dis.ico"
IDI_PLAYRECORD_OFF_ICON         ICON      "icons\\playrecord_off.ico"
IDI_PLAYRECORD_ON_ICON          ICON      "icons\\playrecord_on.ico"
IDI_PLAYRECORD_DISABLE_ICON     ICON      "icons\\playrecord_dis.ico"
IDI_SAVERECORD_OFF_ICON         ICON      "icons\\compile_2.ico"
IDI_SAVERECORD_ON_ICON          ICON      "icons\\compile_2.ico"
IDI_SAVERECORD_DISABLE_ICON     ICON      "icons\\compile_2.ico"

IDI_SYNCV_OFF_ICON              ICON      "icons\\compile_2.ico"
IDI_SYNCV_ON_ICON               ICON      "icons\\compile_2.ico"
IDI_SYNCV_DISABLE_ICON          ICON      "icons\\compile_2.ico"
IDI_SYNCH_OFF_ICON              ICON      "icons\\syncH_off.ico"
IDI_SYNCH_ON_ICON               ICON      "icons\\syncH_on.ico" 
IDI_SYNCH_DISABLE_ICON          ICON      "icons\\syncH_dis.ico"

// multi run macro
IDI_MMPLAY_DIS_ICON             ICON      "icons\\playrecord_m_dis.ico"
IDI_MMPLAY_OFF_ICON             ICON      "icons\\playrecord_m_off.ico"
IDI_MMPLAY_ON_ICON              ICON      "icons\\playrecord_m_on.ico"


IDI_PROJECT_WORKSPACE           BITMAP      "icons\\project_work_space.bmp"
IDI_PROJECT_WORKSPACEDIRTY      BITMAP      "icons\\project_work_space_dirty.bmp"
IDI_PROJECT_PROJECT             BITMAP      "icons\\project_root.bmp"
IDI_PROJECT_FOLDEROPEN          BITMAP      "icons\\project_folder_open.bmp"
IDI_PROJECT_FOLDERCLOSE         BITMAP      "icons\\project_folder_close.bmp"
IDI_PROJECT_FILE                BITMAP      "icons\\project_file.bmp"
IDI_PROJECT_FILEINVALID         BITMAP      "icons\\project_file_invalid.bmp"

IDI_FUNCLIST_ROOT               BITMAP      "icons\\project_file.bmp"
IDI_FUNCLIST_NODE               BITMAP      "icons\\funcList_node.bmp"
IDI_FUNCLIST_LEAF               BITMAP      "icons\\funcList_leaf.bmp"

IDR_M30_MENU MENU
BEGIN
    POPUP "&Fayl"
    BEGIN
        MENUITEM "&Yeni",                             IDM_FILE_NEW
        MENUITEM "&Aç...",                         IDM_FILE_OPEN
		MENUITEM "&Aç_1...",                         IDM_FILE_OPEN_TEST
        MENUITEM "Di&skdən Yenilə",                IDM_FILE_RELOAD
        MENUITEM "&Yadda Saxla",                            IDM_FILE_SAVE
        MENUITEM "Yadda Saxla ...&Kimi",                      IDM_FILE_SAVEAS
        MENUITEM "Nüsxəsini Yadda ...Saxla Kimi",                IDM_FILE_SAVECOPYAS
        MENUITEM "Ham&ısını Yadda SAxla",                        IDM_FILE_SAVEALL
        MENUITEM "Adını Dəyiş...",                        IDM_FILE_RENAME
        MENUITEM "&Bağla",                           IDM_FILE_CLOSE
        MENUITEM "Ham&ısını Bağla",                       IDM_FILE_CLOSEALL
        MENUITEM "Aktivdən Başqa Hamısını Bağla",    IDM_FILE_CLOSEALL_BUT_CURRENT
        MENUITEM "Zibil Qutusuna at",              IDM_FILE_DELETE
        MENUITEM SEPARATOR
        MENUITEM "Çap Et...",                         IDM_FILE_PRINT
        MENUITEM SEPARATOR
        MENUITEM "S&on",                            IDM_FILE_EXIT
    END

    POPUP "&Redaktə"
    BEGIN
        MENUITEM "&Geri",                            IDM_EDIT_UNDO
        MENUITEM "&İrəli",                            IDM_EDIT_REDO
        MENUITEM SEPARATOR
        MENUITEM "Kə&s",                             IDM_EDIT_CUT
        MENUITEM "&Köçür",                            IDM_EDIT_COPY
        MENUITEM "&Endir",                           IDM_EDIT_PASTE
        MENUITEM "&Sil",                          IDM_EDIT_DELETE
        MENUITEM "Hamısını S&eç",                      IDM_EDIT_SELECTALL
	END

    POPUP "&Axtar"
    BEGIN
        MENUITEM "&Tap...",                    IDM_SEARCH_FIND
        MENUITEM "Fayllarda Tap...",            IDM_SEARCH_FINDINFILES
        MENUITEM "Sonrakını &Tap",                  IDM_SEARCH_FINDNEXT
        MENUITEM "Əvvəlkini &Tap",              IDM_SEARCH_FINDPREV
        MENUITEM "&Əvəzlə...",                 IDM_SEARCH_REPLACE
        MENUITEM "Axtarış Nəticələri",       IDM_FOCUS_ON_FOUND_RESULTS
        MENUITEM "&Xəttə Gəl...",                   IDM_SEARCH_GOTOLINE
    END

    POPUP "&Görünüş"
    BEGIN
        MENUITEM "Həmişə Yuxarıda",              IDM_VIEW_ALWAYSONTOP
        MENUITEM "Tam Ekran",    IDM_VIEW_FULLSCREENTOGGLE

        MENUITEM SEPARATOR

		POPUP "Ölçü"
        BEGIN
            MENUITEM "Böyüt ",       IDM_VIEW_ZOOMIN
            MENUITEM "Kiçilt",    IDM_VIEW_ZOOMOUT
            MENUITEM "Əvəlki Ölçüləri Qaytar",                 IDM_VIEW_ZOOMRESTORE
        END
        MENUITEM SEPARATOR
            MENUITEM "İcmal...",  IDM_VIEW_SUMMARY
        MENUITEM "Funksiyalar Siyahısı ",         IDM_VIEW_FUNC_LIST
    END
 
 

   POPUP "&İcra"
    BEGIN
        MENUITEM "&Kompilyasiya Et...",    IDM_CMPL
		MENUITEM "&Icra Et...",    IDM_EXECUTE
    END

    POPUP "&?"
    BEGIN
        MENUITEM "Help Contents",              IDM_HELP
        MENUITEM SEPARATOR
        MENUITEM "Notepad++ Home",            IDM_HOMESWEETHOME
        MENUITEM "Notepad++ Project Page",    IDM_PROJECTPAGE
        MENUITEM "Online Documentation",      IDM_ONLINEHELP
        MENUITEM "Forum",                     IDM_FORUM
		MENUITEM SEPARATOR
        MENUITEM "About Notepad++",           IDM_ABOUT
    END

    POPUP "&?"
    BEGIN
	MENUITEM "Əsrin veb saytı",            IDM_HOMESWEETHOME
        MENUITEM SEPARATOR
        MENUITEM "Əsrin dili haqqında",           IDM_ABOUT
    END


END

IDR_SYSTRAYPOPUP_MENU MENU
BEGIN
    POPUP "Popup"
    BEGIN
        MENUITEM "Activate",            IDM_SYSTRAYPOPUP_ACTIVATE
        MENUITEM SEPARATOR
        MENUITEM "New",                 IDM_SYSTRAYPOPUP_NEWDOC
        MENUITEM "New and Paste",       IDM_SYSTRAYPOPUP_NEW_AND_PASTE
        MENUITEM "Open...",             IDM_SYSTRAYPOPUP_OPENFILE
        MENUITEM "Find in Files...",    IDM_SEARCH_FINDINFILES
        MENUITEM SEPARATOR
        MENUITEM "Close Tray Icon",     IDM_SYSTRAYPOPUP_CLOSE
    END
END

IDD_ABOUTBOX DIALOGEX 0, 0, 271, 240
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_BORDER | WS_SYSMENU
FONT 8, TEXT("MS Shell Dlg"), 0, 0, 0x1
BEGIN
    EDITTEXT        IDC_BUILD_DATETIME,150,2,150,10, ES_READONLY | NOT WS_BORDER
    CONTROL         "",IDI_CHAMELEON,"Static",SS_OWNERDRAW,20,5,64,64
    LTEXT           NOTEPAD_PLUS_VERSION, IDC_STATIC,70,20,70,11
    LTEXT           UNICODE_ANSI_MODE, IDC_STATIC,145,20,65,11
    LTEXT           "Müəlliflər :",IDC_STATIC,21,45,31,8
    LTEXT           "Əsrin PM qrupu",IDC_AUTHOR_NAME,78,45,70,8
    LTEXT           "Veb sayt :",IDC_STATIC,21,59,47,8
    LTEXT           "http://esrin.org/",IDC_HOME_ADDR,78,59,126,8
	GROUPBOX        "GNU Əsrin PM istifadə şərtləri",IDC_STATIC,19,75,231,131,BS_CENTER
    DEFPUSHBUTTON   "OK",IDOK,106,215,50,14,BS_FLAT,WS_EX_STATICEDGE
    // IDC_LICENCE_EDIT should be the last line, don't know why
    EDITTEXT        IDC_LICENCE_EDIT,31,99,209,96,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL
END

IDD_GOLINE DIALOGEX 26, 41, 261, 88
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
CAPTION "Go To..."
FONT 8, TEXT("MS Shell Dlg"), 0, 0, 0x0
BEGIN
    CONTROL         "&Line",IDC_RADIO_GOTOLINE,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,5,9,80,10
    CONTROL         "&Offset",IDC_RADIO_GOTOOFFSET,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,98,9,80,10
    LTEXT           "You are here :",ID_URHERE_STATIC,5,34,95,8,NOT WS_GROUP
    LTEXT           "0123456789",ID_CURRLINE,100,34,45,8,NOT WS_GROUP
    LTEXT           "You want to &go to :",ID_UGO_STATIC,5,51,95,8
    EDITTEXT        ID_GOLINE_EDIT,98,49,71,12,ES_NUMBER
    LTEXT           "You can't go further than :",ID_NOMORETHAN_STATIC,5,68,92,8,NOT WS_GROUP
    LTEXT           "0123456789",ID_LASTLINE,100,68,45,8,NOT WS_GROUP
    DEFPUSHBUTTON   "Go",IDOK,181,48,70,14,BS_NOTIFY
    PUSHBUTTON      "I'm going nowhere",IDCANCEL,181,66,70,14,BS_NOTIFY
END

IDD_VALUE_DLG DIALOGEX 0, 0, 74, 17
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
    WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW
FONT 8, TEXT("MS Shell Dlg"), 0, 0, 0x1
BEGIN
    LTEXT             "STATIC :",IDC_VALUE_STATIC,6,4,45,8
    EDITTEXT        IDC_VALUE_EDIT,49,2,18,14,ES_NUMBER,WS_EX_DLGMODALFRAME
END

IDD_BUTTON_DLG DIALOGEX 0, 0, 12, 10
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    PUSHBUTTON      "+",IDC_RESTORE_BUTTON,0,0,12,10
END

// xp style
1 RT_MANIFEST "notepad++.exe.manifest"
