Permalink
Browse files

Image xpm files uploaded. Changes made for linux compatibility; compi…

…les under ubuntu.
  • Loading branch information...
1 parent 3a13ac2 commit b21f56723da9e595b33120f9c93cdd6e2f1452a2 @ecordell committed May 25, 2009
Showing with 372 additions and 14 deletions.
  1. +14 −14 ChaosToolsFrm.cpp
  2. +71 −0 Images/cos.xpm
  3. +71 −0 Images/logistic.xpm
  4. +71 −0 Images/quadratic.xpm
  5. +71 −0 Images/sin.xpm
  6. +74 −0 Images/tent.xpm
View
@@ -522,10 +522,10 @@ void ChaosToolsFrm::OnBifLeftUp(wxMouseEvent& event)
bifxmin = tbifxmin;
bifxmax = tbifxmax;
bifxend = bifyend = 0;
- rminBifText->SetValue(wxString(wxString::Format("%f", bifrmin)));
- rmaxBifText->SetValue(wxString(wxString::Format("%f", bifrmax)));
- xminBifText->SetValue(wxString(wxString::Format("%f", bifxmin)));
- xmaxBifText->SetValue(wxString(wxString::Format("%f", bifxmax)));
+ rminBifText->SetValue(wxString(wxString::Format(wxT("%f"), bifrmin)));
+ rmaxBifText->SetValue(wxString(wxString::Format(wxT("%f"), bifrmax)));
+ xminBifText->SetValue(wxString(wxString::Format(wxT("%f"), bifxmin)));
+ xmaxBifText->SetValue(wxString(wxString::Format(wxT("%f"), bifxmax)));
drawBif();
plotBifArea->ReleaseMouse();
event.Skip();
@@ -604,11 +604,11 @@ void ChaosToolsFrm::OnBifResetClick(wxCommandEvent& event)
functionBifBitmap->SetBitmap(wxBitmap(quadratic_xpm));
break;
}
- iterBifText->SetValue(wxString(wxString::Format("%i", bifiter)));
- rminBifText->SetValue(wxString(wxString::Format("%.1f", bifrmin)));
- rmaxBifText->SetValue(wxString(wxString::Format("%.1f", bifrmax)));
- xminBifText->SetValue(wxString(wxString::Format("%.1f", bifxmin)));
- xmaxBifText->SetValue(wxString(wxString::Format("%.1f", bifxmax)));
+ iterBifText->SetValue(wxString(wxString::Format(wxT("%i"), bifiter)));
+ rminBifText->SetValue(wxString(wxString::Format(wxT("%.1f"), bifrmin)));
+ rmaxBifText->SetValue(wxString(wxString::Format(wxT("%.1f"), bifrmax)));
+ xminBifText->SetValue(wxString(wxString::Format(wxT("%.1f"), bifxmin)));
+ xmaxBifText->SetValue(wxString(wxString::Format(wxT("%.1f"), bifxmax)));
drawBif();
}
void ChaosToolsFrm::drawBif()
@@ -733,11 +733,11 @@ int ChaosToolsFrm::toBifScreenX(double x)
void ChaosToolsFrm::functionBifChoiceSelected(wxCommandEvent& event)
{
OnBifResetClick(event);
- iterBifText->SetValue(wxString(wxString::Format("%i", bifiter)));
- rminBifText->SetValue(wxString(wxString::Format("%.1f", bifrmin)));
- rmaxBifText->SetValue(wxString(wxString::Format("%.1f", bifrmax)));
- xminBifText->SetValue(wxString(wxString::Format("%.1f", bifxmin)));
- xmaxBifText->SetValue(wxString(wxString::Format("%.1f", bifxmax)));
+ iterBifText->SetValue(wxString(wxString::Format(wxT("%i"), bifiter)));
+ rminBifText->SetValue(wxString(wxString::Format(wxT("%.1f"), bifrmin)));
+ rmaxBifText->SetValue(wxString(wxString::Format(wxT("%.1f"), bifrmax)));
+ xminBifText->SetValue(wxString(wxString::Format(wxT("%.1f"), bifxmin)));
+ xmaxBifText->SetValue(wxString(wxString::Format(wxT("%.1f"), bifxmax)));
}
void ChaosToolsFrm::OnMandelThread(wxCommandEvent& event)
{
View
@@ -0,0 +1,71 @@
+/* XPM */
+static char *cos_xpm[]={
+/* ChaosToolsFrm_functionBifBitmap */
+"160 50 16 1",
+" c None",
+"0 c #999999",
+"1 c #F5F5F5",
+"2 c #D7D7D7",
+"3 c #B4B4B4",
+"4 c #8B8B8B",
+"5 c #C0C0C0",
+"6 c #686868",
+"7 c #E1E1E1",
+"8 c #393939",
+"9 c #ECECEC",
+"a c #CCCCCC",
+"b c #7A7A7A",
+"c c #A7A7A7",
+"d c #535353",
+"e c #000000",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" 01 23 ",
+" 42 35 ",
+" 50 67 ",
+" 89 ab ",
+" 5b 89 ",
+" 7b443 104401 14000c b3 43 ",
+" 53033c6c ccba36b 289 33 1d2 2d1 b2 a0 82 53033c6c 3b ",
+" c1 2e3 dc 5eeeeeeeeeeed 9c1e0 b4 183 66 36 63 e2 0 9e9 c1 2e3 dc ad ",
+" 95 5e9 a72e9 5e9 c3 d4 4d 4eb371 2e 95 5e9 2e ",
+" 4d cd 0e e0 0e 1cdee5 2e 4d 2e ",
+" 80 60 ce d4 4d 3 908 2e 80 2e ",
+" 9ea 51 5eeeeeeeeeeed 1e5 2e2 5 cd 6c 8 e1 9e9 9ea 51 ad ",
+" cd ce7 9c ae1 061 9c 1da ad1 e5 76 82 cd ce7 9c 3b ",
+" 36055403 3b 5b403 104401 b30049 b3 36055403 43 ",
+" 5b 89 ",
+" 181 ab ",
+" 50 67 ",
+" 42 35 ",
+" 101 23 ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "};
+
View
@@ -0,0 +1,71 @@
+/* XPM */
+static char *logistic_xpm[]={
+/* ChaosToolsFrm_functionBifBitmap */
+"160 50 16 1",
+" c None",
+"0 c #999999",
+"1 c #F5F5F5",
+"2 c #8B8B8B",
+"3 c #D7D7D7",
+"4 c #A7A7A7",
+"5 c #B4B4B4",
+"6 c #C0C0C0",
+"7 c #7A7A7A",
+"8 c #000000",
+"9 c #393939",
+"a c #ECECEC",
+"b c #CCCCCC",
+"c c #686868",
+"d c #535353",
+"e c #E1E1E1",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" 01 10 ",
+" 23 145 32 ",
+" 60 37785 06 ",
+" 9a 85 a91 ",
+" 67 85 76 ",
+" 75 85 57 ",
+" 1552b4c2 a02465d0 1552b4c2 93 85 1552b4c2 39 ",
+" 0 7c 72 d888888888886 4a583 d4 0 7c 72 a8a 85 0 7c 72 a8a ",
+" 3b d4 4 27 3b d4 38 85 3b d4 8e ",
+" 183 95 183 38 85 d88888888880 183 83 ",
+" b81 e83 b81 38 85 b81 83 ",
+" 4c be d888888888886 58 4c be a8a 85 4c be a8a ",
+" 27 d2 10 77 27 d2 10 93 85 27 d2 10 e9 ",
+" 0c232001 cb 0c232001 75 a7ddd74 0c232001 57 ",
+" 67 76 ",
+" 191 19 ",
+" 60 06 ",
+" 23 32 ",
+" 101 10 ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "};
+
Oops, something went wrong.

0 comments on commit b21f567

Please sign in to comment.