diff --git a/TegraRcmGUI/DialogTab01.cpp b/TegraRcmGUI/DialogTab01.cpp
index 09f7862..ad24990 100644
--- a/TegraRcmGUI/DialogTab01.cpp
+++ b/TegraRcmGUI/DialogTab01.cpp
@@ -53,30 +53,38 @@ DialogTab01::~DialogTab01()
BOOL DialogTab01::OnInitDialog()
{
CDialog::OnInitDialog();
+ CRect rc;
string pfile = m_TegraRcm->GetPreset("PAYLOAD_FILE");
CString file(pfile.c_str());
this->GetDlgItem(PAYLOAD_PATH)->SetWindowTextW(file);
CButton* pBtn = (CButton*)GetDlgItem(IDC_BROWSE);
+ pBtn->GetWindowRect(rc);
+ int height = rc.Height() * 0.8;
pBtn->ModifyStyle(0, BS_ICON);
HICON hIcn = (HICON)LoadImage(
AfxGetApp()->m_hInstance,
MAKEINTRESOURCE(ID_BROWSE_ICON),
IMAGE_ICON,
- 24, 24, // use actual size
+ height, height, // use actual size
LR_DEFAULTCOLOR
);
pBtn->SetIcon(hIcn);
pBtn = (CButton*)GetDlgItem(ID_ADD_FAV);
+
+
+ pBtn->GetWindowRect(rc);
+ height = rc.Height() * 0.8;
+
pBtn->ModifyStyle(0, BS_ICON);
hIcn = (HICON)LoadImage(
AfxGetApp()->m_hInstance,
MAKEINTRESOURCE(ID_ADD_ICON),
IMAGE_ICON,
- 24, 24, // use actual size
+ height, height, // use actual size
LR_DEFAULTCOLOR
);
pBtn->SetIcon(hIcn);
@@ -87,12 +95,14 @@ BOOL DialogTab01::OnInitDialog()
AfxGetApp()->m_hInstance,
MAKEINTRESOURCE(ID_DELETE_ICON),
IMAGE_ICON,
- 24, 24, // use actual size
+ height, height, // use actual size
LR_DEFAULTCOLOR
);
pBtn->SetIcon(hIcn);
PREVENT_AUTOINJECT = FALSE;
+
+ m_TegraRcm->AppendLog("Add favorites to listbox");
for (int i = 0; i < m_TegraRcm->Favorites.GetCount(); i++)
{
@@ -106,6 +116,11 @@ BOOL DialogTab01::OnInitDialog()
csPath = m_TegraRcm->Favorites[i].Left(nIndex);
Item = csFilename + _T(" (") + csPath + _T(")");
pListBox->AddString(_tcsdup(Item));
+
+ wstring wcsPath(csPath);
+ string scsPath(wcsPath.begin(), wcsPath.end());
+ m_TegraRcm->AppendLog("Add favorites to listbox");
+ m_TegraRcm->AppendLog(scsPath);
}
}
@@ -258,12 +273,25 @@ void DialogTab01::OnBnClickedAddFav()
int nIndex = csPathf.ReverseFind(_T('\\'));
if (nIndex > 0) csFilename = csPathf.Right(csPathf.GetLength() - nIndex - 1);
else return;
+
+ for (int i = 0; i < m_TegraRcm->Favorites.GetCount(); i++)
+ {
+ if (m_TegraRcm->Favorites[i] == csPathf)
+ {
+ m_TegraRcm->SendUserMessage("Favorite already exists", INVALID);
+ return;
+ }
+ }
+
csPath = csPathf.Left(nIndex);
Item = csFilename + _T(" (") + csPath + _T(")");
pListBox->AddString(_tcsdup(Item));
m_ListBox.Add(csPathf);
m_TegraRcm->Favorites.Add(csPathf);
m_TegraRcm->SaveFavorites();
+
+ m_TegraRcm->SendUserMessage("Favorite added", VALID);
+ return;
}
@@ -277,7 +305,9 @@ void DialogTab01::OnBnClickedDelFav()
pListBox->DeleteString(i);
m_TegraRcm->Favorites.RemoveAt(i);
m_TegraRcm->SaveFavorites();
+ m_TegraRcm->SendUserMessage("Favorite removed", VALID);
}
+ return;
}
diff --git a/TegraRcmGUI/DialogTab02.cpp b/TegraRcmGUI/DialogTab02.cpp
index ca54d9b..9f7fbdc 100644
--- a/TegraRcmGUI/DialogTab02.cpp
+++ b/TegraRcmGUI/DialogTab02.cpp
@@ -66,14 +66,17 @@ END_MESSAGE_MAP()
BOOL DialogTab02::OnInitDialog()
{
CDialogEx::OnInitDialog();
+ CRect rc;
CButton* pBtn = (CButton*)GetDlgItem(IDC_MOUNT_SD);
+ pBtn->GetWindowRect(rc);
+ int height = rc.Height() * 0.8;
pBtn->ModifyStyle(0, BS_ICON);
HICON hIcn = (HICON)LoadImage(
AfxGetApp()->m_hInstance,
MAKEINTRESOURCE(ID_UMSTOOL_ICON),
IMAGE_ICON,
- 32, 32, // use actual size
+ height, height, // use actual size
LR_DEFAULTCOLOR
);
pBtn->SetIcon(hIcn);
@@ -84,7 +87,7 @@ BOOL DialogTab02::OnInitDialog()
AfxGetApp()->m_hInstance,
MAKEINTRESOURCE(ID_LINUX_ICON),
IMAGE_ICON,
- 32, 32, // use actual size
+ height, height, // use actual size
LR_DEFAULTCOLOR
);
pBtn->SetIcon(hIcn);
diff --git a/TegraRcmGUI/DialogTab03.cpp b/TegraRcmGUI/DialogTab03.cpp
index 504f624..801082d 100644
--- a/TegraRcmGUI/DialogTab03.cpp
+++ b/TegraRcmGUI/DialogTab03.cpp
@@ -130,3 +130,4 @@ void DialogTab03::OnBnClickedInstallDriver()
{
m_TegraRcm->InstallDriver();
}
+
diff --git a/TegraRcmGUI/TegraRcm.cpp b/TegraRcmGUI/TegraRcm.cpp
index 20f7900..c67b9a9 100644
--- a/TegraRcmGUI/TegraRcm.cpp
+++ b/TegraRcmGUI/TegraRcm.cpp
@@ -141,6 +141,83 @@ void TegraRcm::ShowContextMenu(HWND hWnd)
{
if (m_RC == 0)
{
+
+ HMENU hSubmenu = CreatePopupMenu();
+ UINT uID = 0;
+
+ for (int i = 0; i < Favorites.GetCount(); i++)
+ {
+ if (i < 9)
+ {
+ uID++;
+ int swm;
+ switch (i)
+ {
+ case 0:
+ swm = SWM_FAV01;
+ break;
+ case 1:
+ swm = SWM_FAV02;
+ break;
+ case 2:
+ swm = SWM_FAV03;
+ break;
+ case 3:
+ swm = SWM_FAV04;
+ break;
+ case 4:
+ swm = SWM_FAV05;
+ break;
+ case 5:
+ swm = SWM_FAV06;
+ break;
+ case 6:
+ swm = SWM_FAV07;
+ break;
+ case 7:
+ swm = SWM_FAV08;
+ break;
+ case 8:
+ swm = SWM_FAV09;
+ break;
+ case 9:
+ swm = SWM_FAV10;
+ break;
+ default:
+ break;
+ }
+
+ int nIndex = Favorites[i].ReverseFind(_T('\\'));
+ if (nIndex > 0)
+ {
+
+ CString csFilename, csPath, Item;
+ csFilename = Favorites[i].Right(Favorites[i].GetLength() - nIndex - 1);
+ csPath = Favorites[i].Left(nIndex);
+ if (csPath.GetLength() > 30)
+ {
+ csPath = csPath.Left(30);
+ Item = csFilename + _T(" (") + csPath + _T("...)");
+ }
+ else
+ {
+ Item = csFilename + _T(" (") + csPath + _T(")");
+ }
+ InsertMenu(hSubmenu, -1, MF_BYPOSITION, swm, Item);
+ }
+ else
+ {
+ InsertMenu(hSubmenu, -1, MF_BYPOSITION, swm, Favorites[i]);
+ }
+ }
+ }
+
+ MENUITEMINFO mii = { sizeof(MENUITEMINFO) };
+ mii.fMask = MIIM_SUBMENU | MIIM_STRING | MIIM_ID;
+ mii.wID = uID;
+ mii.hSubMenu = hSubmenu;
+ mii.dwTypeData = _T("Favorites");
+
CString csPathf, csFilename, payload;
m_Ctrltb1->GetDlgItem(PAYLOAD_PATH)->GetWindowTextW(csPathf);
int nIndex = csPathf.ReverseFind(_T('\\'));
@@ -150,10 +227,13 @@ void TegraRcm::ShowContextMenu(HWND hWnd)
payload = _T("Inject ") + csFilename;
InsertMenu(hMenu, -1, MF_BYPOSITION, SWM_INJECT, payload);
}
+ //InsertMenu(hMenu, -1, MF_BYPOSITION, SWM_BROWSE, _T("Browse..."));
+ InsertMenuItem(hMenu, -1, TRUE, &mii);
+ InsertMenu(hMenu, -1, MF_SEPARATOR | MF_BYPOSITION, 0, NULL);
InsertMenu(hMenu, -1, MF_BYPOSITION, SWM_MOUNT, _T("Mount SD"));
- InsertMenu(hMenu, -1, MF_BYPOSITION, SWM_LINUX, _T("Linux"));
- InsertMenu(hMenu, -1, MF_BYPOSITION, SWM_BROWSE, _T("Browse..."));
+ InsertMenu(hMenu, -1, MF_BYPOSITION, SWM_LINUX, _T("Linux"));
}
+ InsertMenu(hMenu, -1, MF_SEPARATOR | MF_BYPOSITION, 0, NULL);
if (IsWindowVisible(hWnd))
InsertMenu(hMenu, -1, MF_BYPOSITION, SWM_HIDE, _T("Hide"));
else
@@ -277,18 +357,32 @@ void TegraRcm::SetPreset(string param, string value)
}
void TegraRcm::GetFavorites()
{
+
Favorites.RemoveAll();
TCHAR *rfile = GetAbsolutePath(TEXT("favorites.conf"), CSIDL_APPDATA);
CT2A rfile_c(rfile, CP_UTF8);
TRACE(_T("UTF8: %S\n"), rfile_c.m_psz);
string readout;
+ AppendLog("Reading favorites.conf");
+ wstring wfilename(rfile);
+ string filename(wfilename.begin(), wfilename.end());
+ AppendLog(filename);
+
ifstream readFile(rfile_c);
if (readFile.is_open()) {
+ AppendLog("Reading values from favorites.conf");
while (getline(readFile, readout)) {
CString fav(readout.c_str(), readout.length());
+ wstring wfav = fav;
+ string sfav(wfav.begin(), wfav.end());
+ AppendLog("Append new favorite : ");
+ AppendLog(sfav);
Favorites.Add(fav);
}
}
+ else {
+ AppendLog("Error reading favorites.conf");
+ }
}
void TegraRcm::AddFavorite(CString value)
{
@@ -316,6 +410,11 @@ void TegraRcm::SaveFavorites()
//
void TegraRcm::AppendLog(string message)
{
+
+ // DISABLED
+ return;
+
+
// Get time
char str[32];
struct tm time_info;
@@ -416,6 +515,7 @@ BOOL TegraRcm::LookForAPXDevice()
void TegraRcm::BitmapDisplay(int IMG)
{
+
// Init & bitmap pointers
CStatic*pRcm_not_detected = (CStatic*)AfxGetMainWnd()->GetDlgItem(RCM_PIC_1);
CStatic*pDriverKO = (CStatic*)AfxGetMainWnd()->GetDlgItem(RCM_PIC_2);
@@ -508,8 +608,8 @@ void TegraRcm::LookUp()
if (rc != m_RC)
{
m_RC = rc;
- CStatic*pCtrl0 = (CStatic*) m_Parent->GetDlgItem(RCM_PIC_4);
- pCtrl0->ShowWindow(SW_HIDE);
+ //CStatic*pCtrl0 = (CStatic*) m_Parent->GetDlgItem(RCM_PIC_4);
+ //pCtrl0->ShowWindow(SW_HIDE);
// Status changed to "RCM Detected"
if (rc == 0)
@@ -682,8 +782,8 @@ TCHAR* TegraRcm::GetAbsolutePath(TCHAR* relative_path, DWORD dwFlags)
csPath2 += TEXT("\\");
csPath2 += relative_path;
return _tcsdup(csPath2);
-
*/
+
// USE THIS INSTEAD TO BUILD FOR MSI PACKAGER
TCHAR szPath[MAX_PATH];
diff --git a/TegraRcmGUI/TegraRcmGUI.rc b/TegraRcmGUI/TegraRcmGUI.rc
index a4be1d3..1eee362 100644
Binary files a/TegraRcmGUI/TegraRcmGUI.rc and b/TegraRcmGUI/TegraRcmGUI.rc differ
diff --git a/TegraRcmGUI/TegraRcmGUI.vcxproj b/TegraRcmGUI/TegraRcmGUI.vcxproj
index 76ec7e9..1f824fe 100644
--- a/TegraRcmGUI/TegraRcmGUI.vcxproj
+++ b/TegraRcmGUI/TegraRcmGUI.vcxproj
@@ -252,15 +252,22 @@
+
+
+
+
+
+
+
diff --git a/TegraRcmGUI/TegraRcmGUI.vcxproj.filters b/TegraRcmGUI/TegraRcmGUI.vcxproj.filters
new file mode 100644
index 0000000..6d3a9e4
--- /dev/null
+++ b/TegraRcmGUI/TegraRcmGUI.vcxproj.filters
@@ -0,0 +1,198 @@
+
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hh;hpp;hxx;hm;inl;inc;xsd
+
+
+ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
+
+
+
+
+
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+
+
+ Resource Files
+
+
+
+
+ Resource Files
+
+
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+
\ No newline at end of file
diff --git a/TegraRcmGUI/TegraRcmGUIDlg.cpp b/TegraRcmGUI/TegraRcmGUIDlg.cpp
index 2bcf314..765f734 100644
--- a/TegraRcmGUI/TegraRcmGUIDlg.cpp
+++ b/TegraRcmGUI/TegraRcmGUIDlg.cpp
@@ -55,14 +55,14 @@ CTegraRcmGUIDlg::CTegraRcmGUIDlg(CWnd* pParent /*=NULL*/)
}
void CTegraRcmGUIDlg::DoDataExchange(CDataExchange* pDX)
{
- CDialog::DoDataExchange(pDX);
+ CDialog::DoDataExchange(pDX);
DDX_Control(pDX, RCM_PIC_1, RCM_BITMAP1);
DDX_Control(pDX, RCM_PIC_2, RCM_BITMAP2);
DDX_Control(pDX, RCM_PIC_3, RCM_BITMAP3);
DDX_Control(pDX, RCM_PIC_4, RCM_BITMAP0);
DDX_Control(pDX, RCM_PIC_5, RCM_BITMAP4);
DDX_Control(pDX, RCM_PIC_6, RCM_BITMAP5);
- DDX_Control(pDX, RCM_PIC_7, RCM_BITMAP6);
+ DDX_Control(pDX, RCM_PIC_7, RCM_BITMAP6);
DDX_Control(pDX, IDC_TAB_CONTROL, m_tbCtrl);
}
BEGIN_MESSAGE_MAP(CTegraRcmGUIDlg, CDialog)
@@ -82,6 +82,16 @@ BEGIN_MESSAGE_MAP(CTegraRcmGUIDlg, CDialog)
ON_COMMAND(SWM_BROWSE, BrowseCommand)
ON_COMMAND(SWM_LINUX, LinuxCommand)
ON_COMMAND(SWM_MOUNT, MountCommand)
+ ON_COMMAND(SWM_FAV01, InjectFav01Command)
+ ON_COMMAND(SWM_FAV02, InjectFav02Command)
+ ON_COMMAND(SWM_FAV03, InjectFav03Command)
+ ON_COMMAND(SWM_FAV04, InjectFav04Command)
+ ON_COMMAND(SWM_FAV05, InjectFav05Command)
+ ON_COMMAND(SWM_FAV06, InjectFav06Command)
+ ON_COMMAND(SWM_FAV07, InjectFav07Command)
+ ON_COMMAND(SWM_FAV08, InjectFav08Command)
+ ON_COMMAND(SWM_FAV09, InjectFav09Command)
+ ON_COMMAND(SWM_FAV10, InjectFav10Command)
END_MESSAGE_MAP()
//
@@ -103,13 +113,34 @@ BOOL CTegraRcmGUIDlg::OnInitDialog()
else csPath.Empty();
// Initialize bitmap
- RCM_BITMAP0.SetBitmap(INIT_LOGO);
- RCM_BITMAP1.SetBitmap(RCM_NOT_DETECTED);
- RCM_BITMAP2.SetBitmap(DRIVER_KO);
- RCM_BITMAP3.SetBitmap(RCM_DETECTED);
- RCM_BITMAP4.SetBitmap(LOADING);
- RCM_BITMAP5.SetBitmap(LOADED);
- RCM_BITMAP6.SetBitmap(LOAD_ERROR);
+
+
+
+ CRect rc;
+ AfxGetMainWnd()->GetWindowRect(rc);
+ int width = rc.Width();
+
+ if (width < 400)
+ {
+ RCM_BITMAP0.SetBitmap(INIT_LOGO_2);
+ RCM_BITMAP1.SetBitmap(RCM_NOT_DETECTED_2);
+ RCM_BITMAP2.SetBitmap(DRIVER_KO_2);
+ RCM_BITMAP3.SetBitmap(RCM_DETECTED_2);
+ RCM_BITMAP4.SetBitmap(LOADING_2);
+ RCM_BITMAP5.SetBitmap(LOADED_2);
+ RCM_BITMAP6.SetBitmap(LOAD_ERROR_2);
+ }
+ else
+ {
+ RCM_BITMAP0.SetBitmap(INIT_LOGO);
+ RCM_BITMAP1.SetBitmap(RCM_NOT_DETECTED);
+ RCM_BITMAP2.SetBitmap(DRIVER_KO);
+ RCM_BITMAP3.SetBitmap(RCM_DETECTED);
+ RCM_BITMAP4.SetBitmap(LOADING);
+ RCM_BITMAP5.SetBitmap(LOADED);
+ RCM_BITMAP6.SetBitmap(LOAD_ERROR);
+ }
+
// Menu
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
@@ -161,9 +192,7 @@ BOOL CTegraRcmGUIDlg::OnInitDialog()
m_TegraRcm->SetTrayIconTipText(TEXT("TegraRcmGUI"));
// Start timer to check RCM status every second
- CTegraRcmGUIDlg::StartTimer();
-
-
+ CTegraRcmGUIDlg::StartTimer();
return TRUE;
}
@@ -197,6 +226,10 @@ HBRUSH CTegraRcmGUIDlg::OnCtlColor(CDC* pDC, CWnd *pWnd, UINT nCtlColor)
{
return (HBRUSH)CreateSolidBrush(WhiteRGB);
}
+ if (GetDlgItem(RCM_BITMAP)->GetSafeHwnd() == pWnd->GetSafeHwnd())
+ {
+ return (HBRUSH)CreateSolidBrush(WhiteRGB);
+ }
default:
return CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
}
@@ -310,6 +343,27 @@ void CTegraRcmGUIDlg::MountCommand()
pt->OnBnClickedMountSd();
}
}
+void CTegraRcmGUIDlg::InjectFav01Command() { InjectFavCommand(0); }
+void CTegraRcmGUIDlg::InjectFav02Command() { InjectFavCommand(1); }
+void CTegraRcmGUIDlg::InjectFav03Command() { InjectFavCommand(2); }
+void CTegraRcmGUIDlg::InjectFav04Command() { InjectFavCommand(3); }
+void CTegraRcmGUIDlg::InjectFav05Command() { InjectFavCommand(4); }
+void CTegraRcmGUIDlg::InjectFav06Command() { InjectFavCommand(5); }
+void CTegraRcmGUIDlg::InjectFav07Command() { InjectFavCommand(6); }
+void CTegraRcmGUIDlg::InjectFav08Command() { InjectFavCommand(7); }
+void CTegraRcmGUIDlg::InjectFav09Command() { InjectFavCommand(8); }
+void CTegraRcmGUIDlg::InjectFav10Command() { InjectFavCommand(9); }
+void CTegraRcmGUIDlg::InjectFavCommand(int i)
+{
+ if (m_TegraRcm != NULL)
+ {
+ DialogTab01 *pt = (DialogTab01*)m_TegraRcm->m_Ctrltb1;
+ CString fav = m_TegraRcm->Favorites.GetAt(i);
+ pt->GetDlgItem(PAYLOAD_PATH)->SetWindowTextW(fav);
+ pt->GetDlgItem(PAYLOAD_PATH)->GetFocus();
+ pt->InjectPayload();
+ }
+}
void CTegraRcmGUIDlg::StartTimer()
diff --git a/TegraRcmGUI/TegraRcmGUIDlg.h b/TegraRcmGUI/TegraRcmGUIDlg.h
index da96cdc..eb6b1db 100644
--- a/TegraRcmGUI/TegraRcmGUIDlg.h
+++ b/TegraRcmGUI/TegraRcmGUIDlg.h
@@ -106,6 +106,18 @@ public:
void BrowseCommand();
void LinuxCommand();
void MountCommand();
+ void InjectFavCommand(int i);
+ void InjectFav01Command();
+ void InjectFav02Command();
+ void InjectFav03Command();
+ void InjectFav04Command();
+ void InjectFav05Command();
+ void InjectFav06Command();
+ void InjectFav07Command();
+ void InjectFav08Command();
+ void InjectFav09Command();
+ void InjectFav10Command();
+
CTegraRcmGUIDlg *m_pMainWnd = this;
private:
MyTabCtrl m_tbCtrl;
diff --git a/TegraRcmGUI/res/bitmap2.bmp b/TegraRcmGUI/res/bitmap2.bmp
new file mode 100644
index 0000000..6e8e840
Binary files /dev/null and b/TegraRcmGUI/res/bitmap2.bmp differ
diff --git a/TegraRcmGUI/res/driver_ko.bmp b/TegraRcmGUI/res/driver_ko.bmp
index 763c2b1..361d9e5 100644
Binary files a/TegraRcmGUI/res/driver_ko.bmp and b/TegraRcmGUI/res/driver_ko.bmp differ
diff --git a/TegraRcmGUI/res/driver_ko_2.bmp b/TegraRcmGUI/res/driver_ko_2.bmp
new file mode 100644
index 0000000..a637b7d
Binary files /dev/null and b/TegraRcmGUI/res/driver_ko_2.bmp differ
diff --git a/TegraRcmGUI/res/error.bmp b/TegraRcmGUI/res/error.bmp
index 15d5a03..6e48007 100644
Binary files a/TegraRcmGUI/res/error.bmp and b/TegraRcmGUI/res/error.bmp differ
diff --git a/TegraRcmGUI/res/error_2.bmp b/TegraRcmGUI/res/error_2.bmp
new file mode 100644
index 0000000..b737961
Binary files /dev/null and b/TegraRcmGUI/res/error_2.bmp differ
diff --git a/TegraRcmGUI/res/init_logo.bmp b/TegraRcmGUI/res/init_logo.bmp
index f3308fa..324286b 100644
Binary files a/TegraRcmGUI/res/init_logo.bmp and b/TegraRcmGUI/res/init_logo.bmp differ
diff --git a/TegraRcmGUI/res/init_logo_2.bmp b/TegraRcmGUI/res/init_logo_2.bmp
new file mode 100644
index 0000000..d629dac
Binary files /dev/null and b/TegraRcmGUI/res/init_logo_2.bmp differ
diff --git a/TegraRcmGUI/res/loaded.bmp b/TegraRcmGUI/res/loaded.bmp
index 689c4fe..4fcd35a 100644
Binary files a/TegraRcmGUI/res/loaded.bmp and b/TegraRcmGUI/res/loaded.bmp differ
diff --git a/TegraRcmGUI/res/loaded_2.bmp b/TegraRcmGUI/res/loaded_2.bmp
new file mode 100644
index 0000000..1fee55e
Binary files /dev/null and b/TegraRcmGUI/res/loaded_2.bmp differ
diff --git a/TegraRcmGUI/res/loading.bmp b/TegraRcmGUI/res/loading.bmp
index 0e3e0f6..fef167c 100644
Binary files a/TegraRcmGUI/res/loading.bmp and b/TegraRcmGUI/res/loading.bmp differ
diff --git a/TegraRcmGUI/res/loading_2.bmp b/TegraRcmGUI/res/loading_2.bmp
new file mode 100644
index 0000000..9417e05
Binary files /dev/null and b/TegraRcmGUI/res/loading_2.bmp differ
diff --git a/TegraRcmGUI/res/rcm_detected.bmp b/TegraRcmGUI/res/rcm_detected.bmp
index bcf73b1..13beb4c 100644
Binary files a/TegraRcmGUI/res/rcm_detected.bmp and b/TegraRcmGUI/res/rcm_detected.bmp differ
diff --git a/TegraRcmGUI/res/rcm_detected_2.bmp b/TegraRcmGUI/res/rcm_detected_2.bmp
new file mode 100644
index 0000000..cf3569e
Binary files /dev/null and b/TegraRcmGUI/res/rcm_detected_2.bmp differ
diff --git a/TegraRcmGUI/res/rcm_undetected.bmp b/TegraRcmGUI/res/rcm_undetected.bmp
index 6a8d60b..b3d978a 100644
Binary files a/TegraRcmGUI/res/rcm_undetected.bmp and b/TegraRcmGUI/res/rcm_undetected.bmp differ
diff --git a/TegraRcmGUI/res/rcm_undetected_2.bmp b/TegraRcmGUI/res/rcm_undetected_2.bmp
new file mode 100644
index 0000000..b9d71fd
Binary files /dev/null and b/TegraRcmGUI/res/rcm_undetected_2.bmp differ
diff --git a/TegraRcmGUI/resource.h b/TegraRcmGUI/resource.h
index 236558f..57302b1 100644
Binary files a/TegraRcmGUI/resource.h and b/TegraRcmGUI/resource.h differ