; _______________________________________________________________________________________
;|                                                                                       |
;| ..:: Fresh IDE ::..  template project.                                                |
;|_______________________________________________________________________________________|
;
;  Description: FreshLib portable GUI application.
;
;  Target OS: Any, supported by FreshLib
;
;  Dependencies: FreshLib
;
;  Notes:
;_________________________________________________________________________________________

include "%lib%/freshlib.inc"
include "%lib%/gui/OldTemplates.inc"

@BinaryType GUI, compact

options.ShowSizes = 0

ThemeGUI equ win_gui

include "%lib%/freshlib.asm"


; include your includes here.
include "TestOldTemplates.frm"

start:
        InitializeAll

        create  [pApplication], TApplication

        call    GUI.Init

        stdcall CreateFromTemplate, frmMain.template, 0

        set     [pApplication], TApplication:MainWindow, frmMain

        set     [frmMain], TForm:Visible, TRUE

        stdcall Run

        FinalizeAll
        stdcall TerminateAll, 0

