scottclowe / matlab-schemer

Apply and save color schemes in MATLAB with ease.
BSD 2-Clause "Simplified" License
1.21k stars 276 forks source link

Warn if colour scheme cannot be exported #3

Closed scottclowe closed 9 years ago

scottclowe commented 9 years ago

The code really needs to give a warning if the user has not visited all the preference panels.

Currently, the problem is a value is returned by the java getPrefs function even if the value is not available - it is just the wrong value is returned. But I can check if all the values from a panel are returned as black -16777216, and if so assume the panel is not being exported correctly.