clean up (now uses our libs, haiku name)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12988 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4ef10a59e4
commit
88c0001344
@ -1,5 +1,6 @@
|
||||
SubDir OBOS_TOP src apps magnify ;
|
||||
|
||||
AddResources Magnify : Magnify.rdef ;
|
||||
App Magnify : main.cpp ;
|
||||
LinkSharedOSLibs Magnify : be tracker game ;
|
||||
App Magnify :
|
||||
main.cpp
|
||||
: libbe.so libtracker.so libgame.so
|
||||
: Magnify.rdef ;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
resource(101, "BEOS:L:STD_ICON") #'ICON' array
|
||||
resource large_icon
|
||||
{
|
||||
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FF"
|
||||
@ -35,7 +35,7 @@ resource(101, "BEOS:L:STD_ICON") #'ICON' array
|
||||
$"FFFFFFFFFFFFFFFFFF0000000000000000000E0F0FFFFFFFFFFFFFFFFFFFFFFF"
|
||||
};
|
||||
|
||||
resource(101, "BEOS:M:STD_ICON") #'MICN' array
|
||||
resource mini_icon
|
||||
{
|
||||
$"FFFFFFFFFFFFFFFFFFFFFFFFFF000000"
|
||||
$"FFFFFFFFFFFFFFFFFFFFFFFF000E0000"
|
||||
@ -55,32 +55,13 @@ resource(101, "BEOS:M:STD_ICON") #'MICN' array
|
||||
$"FFFFFFFF0000000000000E0FFFFFFFFF"
|
||||
};
|
||||
|
||||
resource(1, "BEOS:APP_SIG") #'MIMS' "application/x-vnd.OBOS.Magnify";
|
||||
resource app_signature "application/x-vnd.Haiku.Magnify";
|
||||
|
||||
resource(1, "BEOS:APP_VERSION") #'APPV' array
|
||||
resource app_version
|
||||
{
|
||||
$"01000000000000000000000005000000000000004D61676E6966790000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"00000000000000000000000000000000000000004D61676E6966696573207468"
|
||||
$"65206172656120756E64657220746865206D6F7573652E000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000000000000000000000000000000000000000000000000000"
|
||||
$"0000000000000000"
|
||||
short_info = "Haiku-Magnify",
|
||||
long_info = "Haiku version of Magnify"
|
||||
};
|
||||
|
||||
resource(1, "BEOS:APP_FLAGS") #'APPF' $"01000000";
|
||||
resource app_flags B_SINGLE_LAUNCH;
|
||||
|
||||
|
@ -145,7 +145,7 @@ main(long argc, char* argv[])
|
||||
// pass in pixelCount to maintain backward compatibility of setting
|
||||
// the pixelcount from the command line
|
||||
TApp::TApp(int32 pixelCount)
|
||||
:BApplication("application/x-vnd.OBOS.Magnify")
|
||||
:BApplication("application/x-vnd.Haiku.Magnify")
|
||||
{
|
||||
TWindow* magWindow = new TWindow(pixelCount);
|
||||
magWindow->Show();
|
||||
@ -173,7 +173,7 @@ TApp::ReadyToRun()
|
||||
void
|
||||
TApp::AboutRequested(void)
|
||||
{
|
||||
(new BAlert("", "Magnify!\n\n(C)2002 OBOS\n(C)1999 Be Inc.\n\nNow with even more features and recompiled for OpenBeOS.", "OK"))->Go();
|
||||
(new BAlert("", "Magnify!\n\n(C)2002-2005 Haiku\n(C)1999 Be Inc.\n\nNow with even more features and recompiled for OpenBeOS.", "OK"))->Go();
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
@ -185,7 +185,7 @@ TApp::AboutRequested(void)
|
||||
const int32 kBorderSize = 10;
|
||||
|
||||
TWindow::TWindow(int32 pixelCount)
|
||||
: BWindow( BRect(0,0,0,0), "OBOS Magnify", B_TITLED_WINDOW,
|
||||
: BWindow( BRect(0,0,0,0), "Magnify", B_TITLED_WINDOW,
|
||||
B_OUTLINE_RESIZE)
|
||||
{
|
||||
GetPrefs(pixelCount);
|
||||
@ -347,7 +347,7 @@ TWindow::QuitRequested()
|
||||
// show info (rgb, location)
|
||||
// pixel count
|
||||
// pixel size
|
||||
const char* const kAppName = "OBOS Magnify";
|
||||
const char* const kAppName = "Magnify";
|
||||
const bool kDefaultShowGrid = true;
|
||||
const bool kDefaultShowInfo = true;
|
||||
const int32 kDefaultPixelCount = 32;
|
||||
|
Loading…
Reference in New Issue
Block a user