-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixes everywhere - a screenshot in the README - update to nikiroo-utils 1.0.0 - a mostly usable UI, not too ugly any more
- Loading branch information
Showing
20 changed files
with
273 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.9.5 | ||
1.0.0 |
Binary file renamed
BIN
+38.8 KB
libs/nikiroo-utils-0.9.8-sources.jar → libs/nikiroo-utils-1.0.0-sources.jar
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package be.nikiroo.fanfix.bundles; | ||
|
||
import be.nikiroo.utils.resources.Meta; | ||
|
||
/** | ||
* The configuration options. | ||
* | ||
* @author niki | ||
*/ | ||
public enum UiConfig { | ||
@Meta(what = "directory", where = "", format = "absolute path, $HOME variable supported, / is always accepted as dir separator", info = "The directory where to store temporary files, defaults to a directory 'fanfic-reader' in the system default temporary directory") | ||
CACHE_DIR_LOCAL_READER, // | ||
@Meta(what = "Output type", where = "Local Reader", format = "One of the known output type", info = "The type of output for the Local Reader for non-images documents") | ||
LOCAL_READER_NON_IMAGES_DOCUMENT_TYPE, // | ||
@Meta(what = "Output type", where = "Local Reader", format = "One of the known output type", info = "The type of output for the Local Reader for images documents") | ||
LOCAL_READER_IMAGES_DOCUMENT_TYPE, // | ||
@Meta(what = "A background colour", where = "Local Reader Frame", format = "#rrggbb", info = "The background colour if you don't want the default system one") | ||
BACKGROUND_COLOR, // | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package be.nikiroo.fanfix.bundles; | ||
|
||
import java.io.File; | ||
import java.io.IOException; | ||
|
||
import be.nikiroo.utils.resources.Bundle; | ||
|
||
/** | ||
* This class manages the configuration of UI of the application (colours and | ||
* behaviour) | ||
* | ||
* @author niki | ||
*/ | ||
public class UiConfigBundle extends Bundle<UiConfig> { | ||
public UiConfigBundle() { | ||
super(UiConfig.class, Target.ui); | ||
} | ||
|
||
/** | ||
* Update resource file. | ||
* | ||
* @param args | ||
* not used | ||
* | ||
* @throws IOException | ||
* in case of I/O error | ||
*/ | ||
public static void main(String[] args) throws IOException { | ||
String path = new File(".").getAbsolutePath() | ||
+ "/src/be/nikiroo/fanfix/bundles/"; | ||
new UiConfigBundle().updateFile(path); | ||
System.out.println("Path updated: " + path); | ||
} | ||
|
||
@Override | ||
protected String getBundleDisplayName() { | ||
return "UI configuration options"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# UI configuration options | ||
# | ||
|
||
|
||
# (WHAT: directory, FORMAT: absolute path, $HOME variable supported, / is always accepted as dir separator) | ||
# The directory where to store temporary files, defaults to a directory 'fanfic-reader' in the system default temporary directory | ||
CACHE_DIR_LOCAL_READER = | ||
# (WHAT: Output type, WHERE: Local Reader, FORMAT: One of the known output type) | ||
# The type of output for the Local Reader for non-images documents | ||
LOCAL_READER_NON_IMAGES_DOCUMENT_TYPE = HTML | ||
# (WHAT: Output type, WHERE: Local Reader, FORMAT: One of the known output type) | ||
# The type of output for the Local Reader for images documents | ||
LOCAL_READER_IMAGES_DOCUMENT_TYPE = CBZ | ||
# (WHAT: A background colour, WHERE: Local Reader Frame, FORMAT: #rrggbb) | ||
# The background colour if you don't want the default system one | ||
BACKGROUND_COLOR = #FFFFFF |
Oops, something went wrong.