ChrisS85 / CGUI

An object-oriented GUI library for AutoHotkey
22 stars 19 forks source link

change #include directives #50

Closed maul-esel closed 12 years ago

maul-esel commented 12 years ago

Changing #include directives to use regular file-include instead of library-include enables CGUI to be used in other subfolders than just '/lib'. Using CGUI in the lib folder and including with #include <CGUI> still works.

Note:

Using CGUI in another subfolder would be achieved as follows:

#include %A_ScriptDir%\CGUI
#include CGUI.ahk
maul-esel commented 12 years ago

Any opinions on this?

maul-esel commented 12 years ago

Bump.

This patch does not prevent you using #include <CGui> etc. The only thing broken is that you can't have the files cluttering over several lib folders - which I think is most uncommon anyway.

ChrisS85 commented 12 years ago

Sorry, forgot about this, it should probably be included as well.