X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Ftips.cpp;h=c80c50b5442dee1352a436f119de33c78fb00391;hp=05c2a9e3057cc2693adb389f5facf5b92f0b389f;hb=f13a8c004b8f182b42d9e4df2bcd7c7f030bf1ad;hpb=b4f2d26b8657e786cecf339a13fe8e53c2a0e6b5 diff --git a/src/tips.cpp b/src/tips.cpp index 05c2a9e..c80c50b 100644 --- a/src/tips.cpp +++ b/src/tips.cpp @@ -7,9 +7,7 @@ ** Date Started: February 2001 ** ** This is part of the CTSim program -** Copyright (C) 1983-2001 Kevin Rosenberg -** -** $Id: tips.cpp,v 1.3 2001/03/05 20:29:23 kevin Exp $ +** Copyright (C) 1983-2009 Kevin Rosenberg ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -40,26 +38,26 @@ const char* const CTSimTipProvider::s_aszTips[] = { - {"You can create a geometric phantom using the \"File - Create Phantom\" menu command."}, - {"You can create a gray-scale, rasterized image of a phantom by using the \"Process - Rasterize\" menu command on a geometric phantom."}, - {"You can simulate the x-ray process by using the \"Process - Projections\" menu command on a geometric phantom."}, - {"You can simulate first, second, and third-fourth-fifth generation CT scanners by using different scanner geometries."}, - {"You can reconstruct an image from the x-ray data by using the \"Reconstruction\" menu on a projection file."}, - {"You can specify different levels of smoothing by using different filters in the \"Reconstruction\" dialog."}, - {"You can select a row and column of an image by left-mouse button clicking on an image."}, - {"You can plot a column or row of an image by using the \"Analyze - Plot\" command."}, - {"You can save your plots to a disk file by using the \"File - Save\" command."}, - {"You can create your own phantoms using a text editor. Please see the manual for the simple file format."}, - {"You can perform 2-dimension Fourier transform of images using the \"Filter\" menu commands."}, - {"You can create an image of a filter by using the \"File - Create Filter\" menu command."}, - {"You can add two images by using the \"Image - Add\" menu command."}, - {"You can display the value of a pixel in an image by right-mouse button clicking on an image."}, - {"You can view a 3-dimensional view of an image using the \"Image - 3D\" menu command."}, - {"You can scale an image to any size using the \"Image - Scale Size\" menu command."}, - {"You can display context-sensitive help by using the \"Help\" button on dialog boxes."}, - {"You can compare two images by using the \"Analyze - Compare Images\" menu command."}, - {"You can display these tips at any time by using the \"Help - Tips\" menu command."}, - {"You can control CTSim's operation using the \"File - Preferences\" menu command."}, + "You can create a geometric phantom using the \"File - Create Phantom\" menu command.", + "You can create a gray-scale, rasterized image of a phantom by using the \"Process - Rasterize\" menu command on a geometric phantom.", + "You can simulate the x-ray process by using the \"Process - Projections\" menu command on a geometric phantom.", + "You can simulate first, second, and third-fourth-fifth generation CT scanners by using different scanner geometries.", + "You can reconstruct an image from the x-ray data by using the \"Reconstruction\" menu on a projection file.", + "You can specify different levels of smoothing by using different filters in the \"Reconstruction\" dialog.", + "You can select a row and column of an image by left-mouse button clicking on an image.", + "You can plot a column or row of an image by using the \"Analyze - Plot\" command.", + "You can save your plots to a disk file by using the \"File - Save\" command.", + "You can create your own phantoms using a text editor. Please see the manual for the simple file format.", + "You can perform 2-dimension Fourier transform of images using the \"Filter\" menu commands.", + "You can create an image of a filter by using the \"File - Create Filter\" menu command.", + "You can add two images by using the \"Image - Add\" menu command.", + "You can display the value of a pixel in an image by right-mouse button clicking on an image.", + "You can view a 3-dimensional view of an image using the \"Image - 3D\" menu command.", + "You can scale an image to any size using the \"Image - Scale Size\" menu command.", + "You can display context-sensitive help by using the \"Help\" button on dialog boxes.", + "You can compare two images by using the \"Analyze - Compare Images\" menu command.", + "You can display these tips at any time by using the \"Help - Tips\" menu command.", + "You can control CTSim's operation using the \"File - Preferences\" menu command.", }; const size_t CTSimTipProvider::s_iNumTips = sizeof(s_aszTips) / sizeof(const char *); @@ -83,7 +81,7 @@ CTSimTipProvider::GetTip() size_t iThisTip = m_iCurrentTip; ++m_iCurrentTip; - return wxString (s_aszTips[iThisTip]); + return wxString (wxConvUTF8.cMB2WX(s_aszTips[iThisTip])); } size_t