;/ Created with PureVision v5.63
;/ Sun, 19 May 2019 11:32:06
;/ by Miklos Bolvary




;- Required Image Decoders
UseJPEGImageDecoder()
UsePNGImageDecoder()



;- Global Variables and Constants
Global BubbleTipStyle=0
Define EventID,MenuID,GadgetID,WindowID

;- Window Constants
Enumeration 1
  #Window_OMDBAPI
  #Window_Dataform
EndEnumeration
#WindowIndex=#PB_Compiler_EnumerationValue


;- Gadget Constants
Enumeration 1
  ;Window_OMDBAPI
  #Gadget_OMDBAPI_Titles
  #Gadget_OMDBAPI_cMoviedata
  #Gadget_OMDBAPI_LabelTitle
  #Gadget_OMDBAPI_Title
  #Gadget_OMDBAPI_LabelYear
  #Gadget_OMDBAPI_Year
  #Gadget_OMDBAPI_LabelRated
  #Gadget_OMDBAPI_Rated
  #Gadget_OMDBAPI_LabelReleased
  #Gadget_OMDBAPI_Released
  #Gadget_OMDBAPI_LabelRunTime
  #Gadget_OMDBAPI_RunTime
  #Gadget_OMDBAPI_LabelGenre
  #Gadget_OMDBAPI_Genre
  #Gadget_OMDBAPI_LabelDirector
  #Gadget_OMDBAPI_Director
  #Gadget_OMDBAPI_LabelWriter
  #Gadget_OMDBAPI_Writer
  #Gadget_OMDBAPI_LabelActors
  #Gadget_OMDBAPI_Actors
  #Gadget_OMDBAPI_LabelPlot
  #Gadget_OMDBAPI_Plot
  #Gadget_OMDBAPI_Picture
  #Gadget_OMDBAPI_LabelPoster
  #Gadget_OMDBAPI_Poster
  #Gadget_OMDBAPI_LabelLanguage
  #Gadget_OMDBAPI_Language
  #Gadget_OMDBAPI_LabelCountry
  #Gadget_OMDBAPI_Country
  #Gadget_OMDBAPI_LabelAwards
  #Gadget_OMDBAPI_Awards
  #Gadget_OMDBAPI_LabelMetascore
  #Gadget_OMDBAPI_Metascore
  #Gadget_OMDBAPI_LabelimdbID
  #Gadget_OMDBAPI_ImdbID
  #Gadget_OMDBAPI_LabelimdbRating
  #Gadget_OMDBAPI_ImdbRating
  #Gadget_OMDBAPI_LabelImdbVotes
  #Gadget_OMDBAPI_ImdbVotes
  #Gadget_OMDBAPI_LabelImdbObject
  #Gadget_OMDBAPI_ImdbObject
  #Gadget_OMDBAPI_LabelDVD
  #Gadget_OMDBAPI_DVD
  #Gadget_OMDBAPI_LabelBoxoffice
  #Gadget_OMDBAPI_Boxoffice
  #Gadget_OMDBAPI_LabelProduction
  #Gadget_OMDBAPI_Production
  #Gadget_OMDBAPI_LabelWebsite
  #Gadget_OMDBAPI_Website
  #Gadget_OMDBAPI_LabelRatings
  #Gadget_OMDBAPI_Ratings
  #Gadget_OMDBAPI_Logo
  #Gadget_OMDBAPI_cControl
  #Gadget_OMDBAPI_Heading
  #Gadget_OMDBAPI_Messages
  #Gadget_OMDBAPI_Current
  #Gadget_OMDBAPI_Records
  #Gadget_OMDBAPI_Add
  #Gadget_OMDBAPI_Delete
  #Gadget_OMDBAPI_Edit
  #Gadget_OMDBAPI_Print
  #Gadget_OMDBAPI_Help
  #Gadget_OMDBAPI_Search
  #Gadget_OMDBAPI_Exit


  ;Window_Dataform
  #Gadget_Dataform_cDetails
  #Gadget_Dataform_LabelTitle
  #Gadget_Dataform_Title
  #Gadget_Dataform_LabelYear
  #Gadget_Dataform_Year
  #Gadget_Dataform_LabelRated
  #Gadget_Dataform_Rated
  #Gadget_Dataform_LabelReleased
  #Gadget_Dataform_Released
  #Gadget_Dataform_LabelRunTime
  #Gadget_Dataform_RunTime
  #Gadget_Dataform_LabelGenre
  #Gadget_Dataform_Genre
  #Gadget_Dataform_LabelDirector
  #Gadget_Dataform_Director
  #Gadget_Dataform_LabelWriter
  #Gadget_Dataform_Writer
  #Gadget_Dataform_LabelActors
  #Gadget_Dataform_Actors
  #Gadget_Dataform_LabelPlot
  #Gadget_Dataform_Plot
  #Gadget_Dataform_Picture
  #Gadget_Dataform_LabelPoster
  #Gadget_Dataform_Poster
  #Gadget_Dataform_LabelLanguage
  #Gadget_Dataform_Language
  #Gadget_Dataform_LabelCountry
  #Gadget_Dataform_Country
  #Gadget_Dataform_LabelAwards
  #Gadget_Dataform_Awards
  #Gadget_Dataform_LabelMetascore
  #Gadget_Dataform_Metascore
  #Gadget_Dataform_LabelimdbID
  #Gadget_Dataform_ImdbID
  #Gadget_Dataform_LabelimdbRating
  #Gadget_Dataform_ImdbRating
  #Gadget_Dataform_LabelImdbVotes
  #Gadget_Dataform_ImdbVotes
  #Gadget_Dataform_LabelImdbObject
  #Gadget_Dataform_ImdbObject
  #Gadget_Dataform_cControl
  #Gadget_Dataform_LabelDVD
  #Gadget_Dataform_DVD
  #Gadget_Dataform_LabelBoxoffice
  #Gadget_Dataform_Boxoffice
  #Gadget_Dataform_LabelProduction
  #Gadget_Dataform_Production
  #Gadget_Dataform_LabelWebsite
  #Gadget_Dataform_Website
  #Gadget_Dataform_LabelRatings
  #Gadget_Dataform_Ratings
  #Gadget_Dataform_Logo
  #Gadget_Dataform_Statusbar
  #Gadget_Dataform_Save
  #Gadget_Dataform_Cover
  #Gadget_Dataform_Lookup
  #Gadget_Dataform_Print
  #Gadget_Dataform_Help
  #Gadget_Dataform_Recordnumber
  #Gadget_Dataform_lRecordnumber
  #Gadget_Dataform_Search
  #Gadget_Dataform_lControl
  #Gadget_Dataform_Exit


EndEnumeration
#GadgetIndex=#PB_Compiler_EnumerationValue


;- Image Constants
Enumeration 1
  #Image_OMDBAPI_Picture
  #Image_OMDBAPI_Logo
  #Image_OMDBAPI_Add
  #Image_OMDBAPI_Delete
  #Image_OMDBAPI_Edit
  #Image_OMDBAPI_Print
  #Image_OMDBAPI_Help
  #Image_OMDBAPI_Exit


  #Image_Dataform_Picture
  #Image_Dataform_Logo
  #Image_Dataform_Save
  #Image_Dataform_Cover
  #Image_Dataform_Lookup
  #Image_Dataform_Print
  #Image_Dataform_Help
  #Image_Dataform_Exit


EndEnumeration
#ImageIndex=#PB_Compiler_EnumerationValue


;- Load Images
CatchImage(#Image_OMDBAPI_Picture,?_OPT_OMDBAPI_Picture)
CatchImage(#Image_OMDBAPI_Logo,?_OPT_OMDBAPI_Logo)
CatchImage(#Image_OMDBAPI_Add,?_OPT_OMDBAPI_Add)
CatchImage(#Image_OMDBAPI_Delete,?_OPT_OMDBAPI_Delete)
CatchImage(#Image_OMDBAPI_Edit,?_OPT_OMDBAPI_Edit)
CatchImage(#Image_OMDBAPI_Print,?_OPT_OMDBAPI_Print)
CatchImage(#Image_OMDBAPI_Help,?_OPT_OMDBAPI_Help)
CatchImage(#Image_OMDBAPI_Exit,?_OPT_OMDBAPI_Exit)
CatchImage(#Image_Dataform_Picture,?_OPT_OMDBAPI_Picture)
CatchImage(#Image_Dataform_Logo,?_OPT_Dataform_Logo)
CatchImage(#Image_Dataform_Save,?_OPT_Dataform_Save)
CatchImage(#Image_Dataform_Cover,?_OPT_Dataform_Cover)
CatchImage(#Image_Dataform_Lookup,?_OPT_Dataform_Lookup)
CatchImage(#Image_Dataform_Print,?_OPT_OMDBAPI_Print)
CatchImage(#Image_Dataform_Help,?_OPT_OMDBAPI_Help)
CatchImage(#Image_Dataform_Exit,?_OPT_Dataform_Exit)


DataSection
  _OPT_OMDBAPI_Picture:
  IncludeBinary "Images\_Other\Backgrounds\nopicture.png"
  _OPT_OMDBAPI_Logo:
  IncludeBinary "Images\_Other\Backgrounds\Antelopes.jpg"
  _OPT_OMDBAPI_Add:
  IncludeBinary "Images\_54x54\Add.png"
  _OPT_OMDBAPI_Delete:
  IncludeBinary "Images\_54x54\Delete.Png"
  _OPT_OMDBAPI_Edit:
  IncludeBinary "Images\_54x54\Edit.Png"
  _OPT_OMDBAPI_Print:
  IncludeBinary "Images\_54x54\Print.Png"
  _OPT_OMDBAPI_Help:
  IncludeBinary "Images\_54x54\Help.Png"
  _OPT_OMDBAPI_Exit:
  IncludeBinary "Images\_54x54\Exit.Png"
  _OPT_Dataform_Logo:
  IncludeBinary "Images\_Other\Backgrounds\Antelopes.jpg"
  _OPT_Dataform_Save:
  IncludeBinary "Images\_54x54\Save.Png"
  _OPT_Dataform_Cover:
  IncludeBinary "Images\_54x54\Clean.Png"
  _OPT_Dataform_Lookup:
  IncludeBinary "Images\_54x54\Lookup.Png"
  _OPT_Dataform_Exit:
  IncludeBinary "Images\_54x54\Exit.png"
EndDataSection



; IDE Options = PureBasic 5.70 LTS (Windows - x86)
; CursorPosition = 213
; FirstLine = 196
; EnableAsm
; EnableThread
; EnableXP
; EnableOnError
; CompileSourceDirectory
; EnableCompileCount = 0
; EnableBuildCount = 0
; EnableExeConstant