My Project
|
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 #pragma once 00029 #include "Define.h" 00030 #include <shlobj.h> 00031 #include "ParameterOpenDialog.h" 00032 00033 namespace SallyAPI 00034 { 00035 namespace GUI 00036 { 00045 00046 class DLL_API_SALLY GUIHelper 00047 { 00048 private: 00049 GUIHelper(); 00050 ~GUIHelper(); 00051 public: 00052 static void SelectFolder(int controlId, int commandID, int actionCommandID, 00053 SallyAPI::GUI::CGUIBaseObject* notificationWindow, const std::string& text, 00054 const std::string& goToFolder = ""); 00055 static void CalculateImageSize(int sourceWidth, int sourceHeight, int destinationWidth, int destinationHeight, 00056 int& x, int& y, int& width, int& height); 00057 }; 00058 } 00059 }