Example #1
0
        public static EmojiPadConfiguration CreateDefault()
        {
            var k = new EmojiPadConfiguration()
            {
                ShowOnStart        = true,
                RunOnStart         = false,
                Keybind            = "Alt+E",
                EmojiPasteSize     = 48,
                HideAfterCopy      = false,
                FrequentEmojiCount = 32,
                RegexSearch        = false,
                EmojiFolderPath    = Utilities.GetEmojiFolderPath(),
                AlwaysOnTop        = true,
                HideAfterLostFocus = false,
                EmojiDatabasePath  = Utilities.GetEmojiDatabase()
            };

            if (!File.Exists("emojipad-conf.json"))
            {
                k.Save();
            }

            return(k);
        }
Example #2
0
 public EmojiContext(EmojiPadConfiguration configuration)
 {
     _configuration = configuration;
 }