From: <gpa...@us...> - 2008-07-25 01:43:02
|
Revision: 3234 http://hugin.svn.sourceforge.net/hugin/?rev=3234&view=rev Author: gpatters1 Date: 2008-07-25 01:43:00 +0000 (Fri, 25 Jul 2008) Log Message: ----------- [1981189] Fix for HFOV and VFOV sliders under OSX Modified Paths: -------------- hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp Modified: hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp =================================================================== --- hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp 2008-07-25 01:23:27 UTC (rev 3233) +++ hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp 2008-07-25 01:43:00 UTC (rev 3234) @@ -96,10 +96,16 @@ #else EVT_CHECKBOX(-1, PreviewFrame::OnChangeDisplayedImgs) #endif + +#ifndef __WXMAC__ + // wxMac does not process these EVT_SCROLL_CHANGED(PreviewFrame::OnChangeFOV) -// EVT_SCROLL_THUMBRELEASE(PreviewFrame::OnChangeFOV) -// EVT_SCROLL_ENDSCROLL(PreviewFrame::OnChangeFOV) -// EVT_SCROLL_THUMBTRACK(PreviewFrame::OnChangeFOV) +#else + EVT_SCROLL_THUMBRELEASE(PreviewFrame::OnChangeFOV) + EVT_SCROLL_ENDSCROLL(PreviewFrame::OnChangeFOV) + EVT_SCROLL_THUMBTRACK(PreviewFrame::OnChangeFOV) +#endif + END_EVENT_TABLE() #define PF_STYLE (wxMAXIMIZE_BOX | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX | wxCLIP_CHILDREN) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gpa...@us...> - 2008-08-23 21:35:44
|
Revision: 3355 http://hugin.svn.sourceforge.net/hugin/?rev=3355&view=rev Author: gpatters1 Date: 2008-08-23 21:35:40 +0000 (Sat, 23 Aug 2008) Log Message: ----------- [2048040] Correct tooltip in preview frame after image deleted. Applied patch from tracker. Modified Paths: -------------- hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp Modified: hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp =================================================================== --- hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp 2008-08-23 21:16:30 UTC (rev 3354) +++ hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp 2008-08-23 21:35:40 UTC (rev 3355) @@ -556,8 +556,6 @@ ID_TOGGLE_BUT + *it, wxString::Format(wxT("%d"),*it)); #endif - wxFileName tFilename(wxString (pano.getImage(imgNr).getFilename().c_str(), HUGIN_CONV_FILENAME)); - but->SetToolTip(tFilename.GetFullName()); wxSize sz = but->GetSize(); // but->SetSize(res.GetWidth(),sz.GetHeight()); // HACK.. set fixed width. that should work @@ -579,6 +577,8 @@ UIntSet displayedImages = m_pano.getActiveImages(); for (unsigned i=0; i < nrImages; i++) { m_ToggleButtons[i]->SetValue(set_contains(displayedImages, i)); + wxFileName tFilename(wxString (pano.getImage(i).getFilename().c_str(), HUGIN_CONV_FILENAME)); + m_ToggleButtons[i]->SetToolTip(tFilename.GetFullName()); } if (dirty) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ip...@us...> - 2008-09-12 03:05:59
|
Revision: 3414 http://hugin.svn.sourceforge.net/hugin/?rev=3414&view=rev Author: ippei Date: 2008-09-12 03:05:57 +0000 (Fri, 12 Sep 2008) Log Message: ----------- minor layout adjustment Modified Paths: -------------- hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp Modified: hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp =================================================================== --- hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp 2008-09-12 03:05:39 UTC (rev 3413) +++ hugin/trunk/src/hugin1/hugin/PreviewFrame.cpp 2008-09-12 03:05:57 UTC (rev 3414) @@ -140,7 +140,7 @@ m_ToggleButtonSizer->Add(m_ButtonPanel, 1, wxEXPAND | wxADJUST_MINSIZE, 0); - m_topsizer->Add(m_ToggleButtonSizer, 0, wxEXPAND | wxADJUST_MINSIZE | wxBOTTOM, 5); + m_topsizer->Add(m_ToggleButtonSizer, 0, wxEXPAND | wxADJUST_MINSIZE | wxALL, 5); wxFlexGridSizer * flexSizer = new wxFlexGridSizer(2,0,5,5); flexSizer->AddGrowableCol(0); @@ -729,6 +729,7 @@ wxDialog dlg; wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("dlg_numtrans")); + dlg.CentreOnParent(); if (dlg.ShowModal() == wxID_OK ) { wxString text = XRCCTRL(dlg, "numtrans_yaw", wxTextCtrl)->GetValue(); double y; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |