// Resource file for DiddleBug Screen Capture Hack
// Copyright © Mitch Blevins <mblevin@debian.org>
// Most code stolen directly from Ben Darnel <bgdarnel@unity.ncsu.edu>

#include "phlegmRsc.h"

APPLICATIONICONNAME ID 3000 "Phlegm Hack"
VERSION ID 1 "1.3"

TRAP ID 1000   0xa121  // ProcessSoftKeyStroke
TRAP ID 1001   0xa08e  // SysAppLaunch

// Must be 3 characters...
BITMAP IgnoreBitmap "ignore.bmp"
BITMAP FavoriteBitmap "favorite.bmp"

FORM AboutForm AT (2 2 156 156)
MODAL
USABLE
BEGIN
    TITLE "About PhlegmHack 1.3"
    LABEL "Phlegm Hack" AUTOID AT (CENTER 20) FONT 1
    LABEL "© 2000 Mitch Blevins" AUTOID AT (CENTER PREVBOTTOM+10)
    LABEL "mblevin@debian.org" AUTOID AT (CENTER PREVBOTTOM)
    LABEL "http://blevins.simplenet.com/palm" AUTOID AT (CENTER PREVBOTTOM)
    LABEL "Licensed under the GNU GPL" AUTOID AT (CENTER PREVBOTTOM+10)
    LABEL "http://gnu.org/copyleft/gpl.html" AUTOID AT (CENTER PREVBOTTOM)
    BUTTON "Done" 1 AT (CENTER 138 40 AUTO) USABLE
END

FORM PrefsForm AT (2 2 156 156)
MODAL
USABLE
BEGIN
    TITLE "Phlegm Hack Prefs"
    FORMBITMAP AT (10 17) BITMAP FavoriteBitmap
    LABEL "= Favorite Apps" AUTOID AT (32 16)
    LABEL "= Ignored Apps" AUTOID AT (PREVLEFT PREVBOTTOM-2)
    FORMBITMAP AT (10 PREVTOP+1) BITMAP IgnoreBitmap
    LIST "" ID AppList AT (10 PREVBOTTOM+4 136 80) VISIBLEITEMS 8
    BUTTON "OK" ID PrefsOKButton AT (10 138 35 AUTO)
    BUTTON "Cancel" ID PrefsCancelButton AT (50 138 35 AUTO)
    BUTTON "Clear Cache" ID PrefsCacheButton AT (90 138 60 AUTO)
END

ALERT ID CacheAlert
BEGIN
    TITLE "Clear Cache"
    MESSAGE "Are you sure you want to clear the cache of Most Recent Apps?"
    BUTTONS "OK" "Cancel"
END

