Skip to content

developers

Tim Stair edited this page Aug 22, 2015 · 7 revisions

Developers

Requirements for compilation

  • Visual Studio Express / Visual Studio 2012
  • 7-Zip (7z.exe) installed in C:\Program Files\7-Zip\ (you can disable this post-build step in the CardMaker project)

Code File Organization

The code files are roughly organized. It's not perfect. Please do not let it get to you.

Core Concepts / Realities

The code is not magical and perfectly written. There are some hacks. Detailed below are some critical hacks to acknowledge when reading the code.

Singletons

There are plenty of singletons in the application. To simplify access across the MDI Forms each main form has singleton access through the Instance property. There are others such as the core Logger and WaitDialog.

Method Length

Some of the methods have a lot to do and no one to share that logic with. Deck.ProcessLines is a good 200 line example.

Code Sections

There are a number of major components to the application. The sections below provide insight into how they work.

Wish / TODO List

  • MDICanvas that not only renders rotated element borders (the easy part) but allows the user to manipulate the edges as expected (like Photoshop)
  • Proper support for Multiple Languages
  • Command Line Export (could be nice)
  • Printing (fix it or obliterate it)