http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/index.html;hb=HEAD
* Features to add:
- - icon linking to "current apps" in the main screen
- alarm
- vibrate at alarm trigger
- play sound at alarm trigger
}
}
+public class AppShortcut : Object
+{
+ private StatusIcon icon;
+
+ public AppShortcut()
+ {
+ icon = new StatusIcon();
+ icon.install();
+ icon.clicked += on_icon_clicked;
+ icon.set_from_file(zavai.config.icondir + "/apps.png");
+ }
+
+ public void on_icon_clicked()
+ {
+ zavai.app.push_applet("wm.list");
+ }
+}
+
RaiseIcon raise_icon;
CloseOrBack close_or_back;
WindowList window_list;
Launcher launcher;
+AppShortcut app_shortcut;
public void init()
{
close_or_back = new CloseOrBack();
close_or_back.set_visible(true);
+ app_shortcut = new AppShortcut();
+
launcher = new Launcher("Run program");
zavai.registry.register_applet("wm.launcher", launcher);