|
From: <sle...@us...> - 2007-03-25 01:00:07
|
Revision: 935
http://svn.sourceforge.net/hackndev/?rev=935&view=rev
Author: sleep_walker
Date: 2007-03-24 18:00:02 -0700 (Sat, 24 Mar 2007)
Log Message:
-----------
l4p: BFUGarux - Silent boot option move and Live_changes feature fix
Modified Paths:
--------------
linux4palm/BFUGarux/BFUSettings-alone.c
linux4palm/BFUGarux/BFUSettings.Rsrc
linux4palm/BFUGarux/BFUSettings.Rsrc.h
Modified: linux4palm/BFUGarux/BFUSettings-alone.c
===================================================================
--- linux4palm/BFUGarux/BFUSettings-alone.c 2007-03-25 00:37:41 UTC (rev 934)
+++ linux4palm/BFUGarux/BFUSettings-alone.c 2007-03-25 01:00:02 UTC (rev 935)
@@ -767,8 +767,9 @@
case BFUSave2CardBox:
BFUSettingsValues.save2card = CtlGetValue(getObjectPtr(pForm,BFUSave2CardBox));
break;
-
-
+ case BFUSilentBootBox:
+ BFUSettingsValues.silentBoot = CtlGetValue(getObjectPtr(pForm,BFUSilentBootBox));
+ break;
case BFUCardReadonlyBox:
BFUSettingsValues.cardRO = CtlGetValue(getObjectPtr(pForm,BFUCardReadonlyBox));
break;
@@ -777,7 +778,11 @@
break;
case BFUCopy2RAMBox:
BFUSettingsValues.copy2ram = CtlGetValue(getObjectPtr(pForm,BFUCopy2RAMBox));
+ break;
+ case BFULiveChangesBox:
+ BFUSettingsValues.live_changes = CtlGetValue(getObjectPtr(pForm,BFULiveChangesBox));
break;
+
}
break;
@@ -850,11 +855,6 @@
case BFUSave2CardBox:
BFUSettingsValues.save2card = CtlGetValue(getObjectPtr(pForm,BFUSave2CardBox));
break;
-
-
- case BFUSilentBootBox:
- BFUSettingsValues.silentBoot = CtlGetValue(getObjectPtr(pForm,BFUSilentBootBox));
- break;
case BFUKeyboardSupportBox:
BFUSettingsValues.keyboard = CtlGetValue(getObjectPtr(pForm,BFUKeyboardSupportBox));
break;
@@ -1254,8 +1254,6 @@
static void BFUToolsFormInit (FormPtr pForm)
{
CtlSetValue(getObjectPtr(pForm,BFUSave2CardBox),BFUSettingsValues.save2card);
-
- CtlSetValue(getObjectPtr(pForm,BFUSilentBootBox),BFUSettingsValues.silentBoot);
CtlSetValue(getObjectPtr(pForm,BFUKeyboardSupportBox),BFUSettingsValues.keyboard);
CtlSetValue(getObjectPtr(pForm,BFUReflashBox),BFUSettingsValues.reflash);
CtlSetValue(getObjectPtr(pForm,BFURunFSCKBox),BFUSettingsValues.fsck);
@@ -1265,11 +1263,13 @@
static void BFUAdvancedFormInit (FormPtr pForm)
{
+ CtlSetValue(getObjectPtr(pForm,BFUSilentBootBox),BFUSettingsValues.silentBoot);
CtlSetValue(getObjectPtr(pForm,BFUSave2CardBox),BFUSettingsValues.save2card);
BFUSetTriggerState(pForm,BFUCPUSpeedTrigger,BFUCPUSpeedList,BFUSettingsValues.CPUspeed);
CtlSetValue(getObjectPtr(pForm,BFUCardReadonlyBox),BFUSettingsValues.cardRO);
CtlSetValue(getObjectPtr(pForm,BFUDebugModeBox),BFUSettingsValues.debug);
CtlSetValue(getObjectPtr(pForm,BFUCopy2RAMBox),BFUSettingsValues.copy2ram);
+ CtlSetValue(getObjectPtr(pForm,BFULiveChangesBox),BFUSettingsValues.live_changes);
BFUSetFieldText(pForm,BFURAMdiskSizeField,BFUSettingsValues.RAMdiskSize,BFURAMdiskMaxLength);
}
Modified: linux4palm/BFUGarux/BFUSettings.Rsrc
===================================================================
--- linux4palm/BFUGarux/BFUSettings.Rsrc 2007-03-25 00:37:41 UTC (rev 934)
+++ linux4palm/BFUGarux/BFUSettings.Rsrc 2007-03-25 01:00:02 UTC (rev 935)
@@ -100,10 +100,9 @@
POPUPLIST ID BFUPartTrigger BFUPartList
LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1
CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0
- CHECKBOX "Silent boot" ID BFUSilentBootBox AT (9 31 60 15) USABLE RIGHTANCHOR GROUP 0
- CHECKBOX "Keyboard support" ID BFUKeyboardSupportBox AT (9 46 91 15) USABLE RIGHTANCHOR GROUP 0
- CHECKBOX "SmallROM reflash (dangerous!)" ID BFUReflashBox AT (9 61 145 15) USABLE RIGHTANCHOR GROUP 0
- CHECKBOX "Run fsck for card" ID BFURunFSCKBox AT (9 76 145 15) USABLE RIGHTANCHOR GROUP 0
+ CHECKBOX "Keyboard support" ID BFUKeyboardSupportBox AT (9 31 91 15) USABLE RIGHTANCHOR GROUP 0
+ CHECKBOX "SmallROM reflash (dangerous!)" ID BFUReflashBox AT (9 46 145 15) USABLE RIGHTANCHOR GROUP 0
+ CHECKBOX "Run fsck for card" ID BFURunFSCKBox AT (9 61 145 15) USABLE RIGHTANCHOR GROUP 0
END
@@ -127,10 +126,11 @@
POPUPLIST ID BFUCPUSpeedTrigger BFUCPUSpeedList
LABEL "RAMdisk size:" ID 8351 AT (9 48) USABLE FONT 1
FIELD ID BFURAMdiskSizeField AT (90 48 30 15) USABLE LEFTALIGN EDITABLE UNDERLINED SINGLELINE MAXCHARS 6
- CHECKBOX "SD/MMC read-only" ID BFUCardReadonlyBox AT (9 63 96 15) USABLE LEFTANCHOR GROUP 0
- CHECKBOX "Copy modules to RAM" ID BFUCopy2RAMBox AT (9 78 110 15) USABLE LEFTANCHOR GROUP 0
- CHECKBOX "Debug" ID BFUDebugModeBox AT (9 93 42 15) USABLE RIGHTANCHOR GROUP 0
- CHECKBOX "Merge live_changes" ID BFULiveChangesBox AT (9 108 110 15) USABLE RIGHTANCHOR GROUP 0
+ CHECKBOX "Silent boot" ID BFUSilentBootBox AT (9 63 60 15) USABLE RIGHTANCHOR GROUP 0
+ CHECKBOX "SD/MMC read-only" ID BFUCardReadonlyBox AT (9 78 96 15) USABLE LEFTANCHOR GROUP 0
+ CHECKBOX "Copy modules to RAM" ID BFUCopy2RAMBox AT (9 93 110 15) USABLE LEFTANCHOR GROUP 0
+ CHECKBOX "Debug" ID BFUDebugModeBox AT (9 108 42 15) USABLE RIGHTANCHOR GROUP 0
+ CHECKBOX "Merge live_changes" ID BFULiveChangesBox AT (9 123 110 15) USABLE RIGHTANCHOR GROUP 0
END
// --------------- Resources of type 'tSTR' ---------------
Modified: linux4palm/BFUGarux/BFUSettings.Rsrc.h
===================================================================
--- linux4palm/BFUGarux/BFUSettings.Rsrc.h 2007-03-25 00:37:41 UTC (rev 934)
+++ linux4palm/BFUGarux/BFUSettings.Rsrc.h 2007-03-25 01:00:02 UTC (rev 935)
@@ -14,7 +14,7 @@
#define BFUToolsForm 8300 //"BFUSettings - Tools"
-#define BFUSilentBootBox 8301
+
#define BFUKeyboardSupportBox 8303
#define BFUReflashBox 8304
#define BFURunFSCKBox 8305
@@ -27,6 +27,7 @@
#define BFUCardReadonlyBox 8404
#define BFUDebugModeBox 8405
#define BFULiveChangesBox 8406
+#define BFUSilentBootBox 8407
#define BFUNetForm 8100 //"BFUSettings - Network"
#define BFUUseNetBox 8101
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|