Example #1
0
        private static void DisplayNoDependencyError()
        {
            if(Chameleon.Exists())
                Chameleon.Invalidate();

            ClickableHtmlOptions options = new ClickableHtmlOptions();
            options.Title = "No Local Service";
            options.Caption = "This widget requires an external APK. Touch here to get it.";
            jQuery.Select("#chameleon-widget").Plugin<ChameleonUiObject>().ChameleonWidgetMessageHTML(options)
                .Plugin<ChameleonUiObject>().ChameleonInvalidate();
        }
 public jQueryObject ChameleonWidgetMessageHTML(ClickableHtmlOptions options)
 {
     return(null);
 }
Example #3
0
 private void WidgetMessage()
 {
     ClickableHtmlOptions htmlOptions = new ClickableHtmlOptions();
     htmlOptions.Title = "Hello";
     htmlOptions.Caption = "Is it me you're looking for?";
     htmlOptions.Icon = "http://chameleonlauncher.com/widgets/common/images/chameleon_config_widget_message_icon.png";
     htmlOptions.OnClick = delegate(jQueryEvent e)
     {
         //do something
     };
     jQuery.Select("#somediv").Plugin<ChameleonUiObject>().ChameleonWidgetMessageHTML(htmlOptions);
 }
 public jQueryObject ChameleonWidgetMessageHTML(ClickableHtmlOptions options)
 {
     return null;
 }