ShadowKyogre / ChronosLNX

A simple tool for checking planetary hours and the moon phase.
http://shadowkyogre.github.com/ChronosLNX/
GNU General Public License v3.0
5 stars 1 forks source link

Separate the GUI from the functionality #7

Open ShadowKyogre opened 12 years ago

ShadowKyogre commented 12 years ago

The retrieval of the data should not be dependent on the GUI. So instead, it should be something like this:

(config object) (core object) / | \ qt cli some other UI

So that way the data can be retrieved across multiple UIs.

Not to mention it seems quite unclean to have it dependent on the GUI anyway. Also, the config object should probably be less qt dependent so it can be used across different UIs.

ShadowKyogre commented 12 years ago

While I was testing this on Windows, I realized that it didn't take the current location's timezone into account. There's a partial fix for that laying on my computer, since the fix does not include the calendar highlighting the right date with the timezones taken into consideration and adjusting the lunar and solar returns appropriately.

The upcoming fixes should make refactoring for multiple UIs much easier.

ShadowKyogre commented 11 years ago

Slowly working on this in the wip branch.