diff --git a/Oving 8/Oving 8.sln b/Oving 8/Oving 8.sln new file mode 100644 index 0000000..fd6f7bc --- /dev/null +++ b/Oving 8/Oving 8.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.329 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Oving 8", "Oving 8\Oving 8.vcxproj", "{53687F7B-9262-43A3-BF31-53624DEF936E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {53687F7B-9262-43A3-BF31-53624DEF936E}.Debug|x64.ActiveCfg = Debug|x64 + {53687F7B-9262-43A3-BF31-53624DEF936E}.Debug|x64.Build.0 = Debug|x64 + {53687F7B-9262-43A3-BF31-53624DEF936E}.Debug|x86.ActiveCfg = Debug|Win32 + {53687F7B-9262-43A3-BF31-53624DEF936E}.Debug|x86.Build.0 = Debug|Win32 + {53687F7B-9262-43A3-BF31-53624DEF936E}.Release|x64.ActiveCfg = Release|x64 + {53687F7B-9262-43A3-BF31-53624DEF936E}.Release|x64.Build.0 = Release|x64 + {53687F7B-9262-43A3-BF31-53624DEF936E}.Release|x86.ActiveCfg = Release|Win32 + {53687F7B-9262-43A3-BF31-53624DEF936E}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2CB6B98D-907B-4A88-9154-212F757BF9FE} + EndGlobalSection +EndGlobal diff --git a/Oving 8/Oving 8/Car.cpp b/Oving 8/Oving 8/Car.cpp new file mode 100644 index 0000000..e69de29 diff --git a/Oving 8/Oving 8/Car.h b/Oving 8/Oving 8/Car.h new file mode 100644 index 0000000..e69de29 diff --git a/Oving 8/Oving 8/Oving 8.vcxproj b/Oving 8/Oving 8/Oving 8.vcxproj new file mode 100644 index 0000000..c7b7aaf --- /dev/null +++ b/Oving 8/Oving 8/Oving 8.vcxproj @@ -0,0 +1,158 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + + + 15.0 + {53687f7b-9262-43a3-bf31-53624def936e} + Oving_8 + 10.0.17763.0 + + + + Application + true + v141 + MultiByte + + + Application + false + v141 + true + MultiByte + + + Application + true + v141 + MultiByte + + + Application + false + v141 + true + MultiByte + + + + + + + + + + + + + + + + + + + + + C:\Program Files\TDT4102\includes;$(ProjectDir);C:\Program Files\TDT4102\Graph_lib\Graph;$(VCInstallDir);C:\Program Files\TDT4102\FLTK_1.3.4-2;$(IncludePath) + C:\Program Files\TDT4102\Graph_lib\lib32;C:\Program Files\TDT4102\FLTK_1.3.4-2\lib32;$(LibraryPath) + + + C:\Program Files\TDT4102\includes;$(ProjectDir);C:\Program Files\TDT4102\Graph_lib\Graph;$(VCInstallDir);C:\Program Files\TDT4102\FLTK_1.3.4-2;$(IncludePath) + C:\Program Files\TDT4102\Graph_lib\lib32;C:\Program Files\TDT4102\FLTK_1.3.4-2\lib32;$(LibraryPath) + + + C:\Program Files\TDT4102\includes;$(ProjectDir);C:\Program Files\TDT4102\Graph_lib\Graph;$(VCInstallDir);C:\Program Files\TDT4102\FLTK_1.3.4-2;$(IncludePath) + C:\Program Files\TDT4102\Graph_lib\lib64;C:\Program Files\TDT4102\FLTK_1.3.4-2\lib64;$(LibraryPath) + + + C:\Program Files\TDT4102\includes;$(ProjectDir);C:\Program Files\TDT4102\Graph_lib\Graph;$(VCInstallDir);C:\Program Files\TDT4102\FLTK_1.3.4-2;$(IncludePath) + C:\Program Files\TDT4102\Graph_lib\lib64;C:\Program Files\TDT4102\FLTK_1.3.4-2\lib64;$(LibraryPath) + + + + Level3 + Disabled + true + true + NOGDI;WIN32;_MBCS;%(PreprocessorDefinitions) + %(AdditionalIncludeDirectories) + + + Graph_libd.lib;fltkd.lib;wsock32.lib;comctl32.lib;fltkjpegd.lib;fltkimagesd.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + /ignore:4099 %(AdditionalOptions) + + + + + Level3 + Disabled + true + true + NOGDI;WIN32;_MBCS;%(PreprocessorDefinitions) + %(AdditionalIncludeDirectories) + + + Graph_libd.lib;fltkd.lib;wsock32.lib;comctl32.lib;fltkjpegd.lib;fltkimagesd.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + /ignore:4099 %(AdditionalOptions) + + + + + Level3 + MaxSpeed + true + true + true + true + NOGDI;WIN32;_MBCS;%(PreprocessorDefinitions) + %(AdditionalIncludeDirectories) + + + true + true + Graph_lib.lib;fltk.lib;wsock32.lib;comctl32.lib;fltkjpeg.lib;fltkimages.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + /ignore:4099 %(AdditionalOptions) + + + + + Level3 + MaxSpeed + true + true + true + true + NOGDI;WIN32;_MBCS;%(PreprocessorDefinitions) + %(AdditionalIncludeDirectories) + + + true + true + Graph_lib.lib;fltk.lib;wsock32.lib;comctl32.lib;fltkjpeg.lib;fltkimages.lib;;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + /ignore:4099 %(AdditionalOptions) + + + + + + \ No newline at end of file diff --git a/Oving 8/Oving 8/Oving 8.vcxproj.filters b/Oving 8/Oving 8/Oving 8.vcxproj.filters new file mode 100644 index 0000000..a91ad0e --- /dev/null +++ b/Oving 8/Oving 8/Oving 8.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + \ No newline at end of file diff --git a/Oving 8/Oving 8/Person.cpp b/Oving 8/Oving 8/Person.cpp new file mode 100644 index 0000000..e69de29 diff --git a/Oving 8/Oving 8/Person.h b/Oving 8/Oving 8/Person.h new file mode 100644 index 0000000..e69de29 diff --git a/Oving 8/Oving 8/main.cpp b/Oving 8/Oving 8/main.cpp new file mode 100644 index 0000000..c39cede --- /dev/null +++ b/Oving 8/Oving 8/main.cpp @@ -0,0 +1,19 @@ +// Example program in TDT4102_Graphics template, from PPP page 415 +#include "Graph.h" +#include "Simple_window.h" +int main() { + using namespace Graph_lib; + cout << "The New \"Hello, Graphical World!\" message\n"; + Point tl{ 100, 100 }; + Simple_window win{ tl, 600, 400, "Canvas" }; + + Polygon poly; + poly.add(Point{ 300, 200 }); + poly.add(Point{ 350, 100 }); + poly.add(Point{ 400, 200 }); + poly.set_color(Color::red); + + win.attach(poly); + win.wait_for_button(); +} + diff --git a/Oving 8/Utdelt_frivillig_del.zip b/Oving 8/Utdelt_frivillig_del.zip new file mode 100644 index 0000000..fb863bf Binary files /dev/null and b/Oving 8/Utdelt_frivillig_del.zip differ