diff --git a/pgadmin/ctl/ctlColourPicker.cpp b/pgadmin/ctl/ctlColourPicker.cpp new file mode 100644 index 0000000..f9b9b59 --- /dev/null +++ b/pgadmin/ctl/ctlColourPicker.cpp @@ -0,0 +1,113 @@ +////////////////////////////////////////////////////////////////////////// +// +// pgAdmin III - PostgreSQL Tools +// RCS-ID: $Id$ +// Copyright (C) 2002 - 2010, The pgAdmin Development Team +// This software is released under the BSD Licence +// +// ctlColourPicker.cpp - Colour Picker with a wxBitmapButton +// +////////////////////////////////////////////////////////////////////////// + +// wxWindows headers +#include +#include +#include + +// App headers +#include "pgAdmin3.h" +#include "ctl/ctlColourPicker.h" + + +void ctlColourPicker::Create(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size) +{ + // Set Default Title + m_title = wxT("Choose the colour"); + + // Create the wxBitmapButton + ((wxBitmapButton *)this)->Create(parent, id, wxNullBitmap, pos, size); + + // Set the handler for a click + Connect(id, wxEVT_LEFT_DOWN, wxMouseEventHandler(ctlColourPicker::DoProcessLeftClick) ); +} + + +void ctlColourPicker::DoProcessLeftClick(wxMouseEvent& event) +{ + wxColourData clrData; + + // If there is an initial colour, set it for wxColourDialog + if (m_colour_clr.IsOk()) + clrData.SetColour(m_colour_clr); + + // Declare the new dialog + wxColourDialog dialog(this, &clrData); + + // and set its title + dialog.SetTitle(m_title); + + // Now, show it + if (dialog.ShowModal() == wxID_OK) + { + clrData = dialog.GetColourData(); + SetColour(clrData.GetColour()); + } +} + + +void ctlColourPicker::UpdateColour() +{ + if (!m_colour_clr.IsOk()) + { + wxBitmap empty(1,1); + SetBitmapLabel(empty); + return; + } + + wxSize sz = GetSize(); + sz.x -= 2*GetMarginX(); + sz.y -= 2*GetMarginY(); + + wxPoint topleft; + if ( sz.x < 1 ) + sz.x = 1; + else + if ( sz.y < 1 ) + sz.y = 1; + wxBitmap bmp(sz.x, sz.y); + + wxMemoryDC dc(bmp); + dc.SetBrush(wxBrush(m_colour_clr)); + dc.DrawRectangle(topleft,sz); + + ((wxBitmapButton *)this)->SetBitmapLabel(bmp); +} + +wxColour ctlColourPicker::GetColour() +{ + return m_colour_clr; +} + +wxString ctlColourPicker::GetColourString() +{ + if (!m_colour_clr.IsOk()) + return wxEmptyString; + return m_colour_clr.GetAsString(); +} + +void ctlColourPicker::SetColour(const wxColour& colour) +{ + m_colour_clr = colour; + UpdateColour(); +} + +void ctlColourPicker::SetColour(const wxString& colour) +{ + m_colour_clr = wxColour(colour); + UpdateColour(); +} + +void ctlColourPicker::SetTitle(const wxString& title) +{ + m_title = title; +} diff --git a/pgadmin/ctl/module.mk b/pgadmin/ctl/module.mk index e0cd6d7..4e8246f 100644 --- a/pgadmin/ctl/module.mk +++ b/pgadmin/ctl/module.mk @@ -12,6 +12,7 @@ pgadmin3_SOURCES += \ $(srcdir)/ctl/calbox.cpp \ $(srcdir)/ctl/ctlCheckTreeView.cpp \ + $(srcdir)/ctl/ctlColourPicker.cpp \ $(srcdir)/ctl/ctlComboBox.cpp \ $(srcdir)/ctl/ctlListView.cpp \ $(srcdir)/ctl/ctlMenuToolbar.cpp \ @@ -24,6 +25,7 @@ pgadmin3_SOURCES += \ $(srcdir)/ctl/explainShape.cpp \ $(srcdir)/ctl/timespin.cpp \ $(srcdir)/ctl/xh_calb.cpp \ + $(srcdir)/ctl/xh_ctlcolourpicker.cpp \ $(srcdir)/ctl/xh_ctlcombo.cpp \ $(srcdir)/ctl/xh_ctlchecktreeview.cpp \ $(srcdir)/ctl/xh_ctltree.cpp \ diff --git a/pgadmin/ctl/xh_ctlcolourpicker.cpp b/pgadmin/ctl/xh_ctlcolourpicker.cpp new file mode 100644 index 0000000..f6bec1e --- /dev/null +++ b/pgadmin/ctl/xh_ctlcolourpicker.cpp @@ -0,0 +1,33 @@ +////////////////////////////////////////////////////////////////////////// +// +// pgAdmin III - PostgreSQL Tools +// RCS-ID: $Id$ +// Copyright (C) 2002 - 2010, The pgAdmin Development Team +// This software is released under the BSD Licence +// +// xh_ctlcolourpicker.cpp - ctlColourPicker handler +// +////////////////////////////////////////////////////////////////////////// + +#include "pgAdmin3.h" + +#include "wx/wx.h" +#include "ctl/ctlColourPicker.h" +#include "ctl/xh_ctlcolourpicker.h" + +IMPLEMENT_DYNAMIC_CLASS(ctlColourPickerXmlHandler, wxBitmapButtonXmlHandler) + + +wxObject *ctlColourPickerXmlHandler::DoCreateResource() +{ + ctlColourPicker *ctl=new ctlColourPicker(m_parentAsWindow, GetID(), GetPosition(), GetSize()); + + SetupWindow(ctl); + + return ctl; +} + +bool ctlColourPickerXmlHandler::CanHandle(wxXmlNode *node) +{ + return IsOfClass(node, wxT("ctlColourPicker")); +} diff --git a/pgadmin/dlg/dlgServer.cpp b/pgadmin/dlg/dlgServer.cpp index 8655a17..e7a9741 100644 --- a/pgadmin/dlg/dlgServer.cpp +++ b/pgadmin/dlg/dlgServer.cpp @@ -326,8 +326,7 @@ void dlgServer::CheckChange() sColour = colour.GetAsString(wxC2S_HTML_SYNTAX); // Get new value - wxColour colour2 = colourPicker->GetColour(); - wxString sColour2 = colour2.GetAsString(wxC2S_HTML_SYNTAX); + wxString sColour2 = colourPicker->GetColourString(); enable = name != server->GetName() || txtDescription->GetValue() != server->GetDescription() diff --git a/pgadmin/frm/frmOptions.cpp b/pgadmin/frm/frmOptions.cpp index c9f23ee..4e25374 100644 --- a/pgadmin/frm/frmOptions.cpp +++ b/pgadmin/frm/frmOptions.cpp @@ -27,6 +27,7 @@ #include "utils/sysLogger.h" #include "utils/misc.h" #include "frm/menu.h" +#include "ctl/ctlColourPicker.h" // Must be after pgAdmin3.h or MSVC++ complains #include @@ -82,6 +83,15 @@ #define pickerSQLForegroundColour CTRL_COLOURPICKER("pickerSQLForegroundColour") #define stSQLCustomBackgroundColour CTRL_STATIC("stSQLCustomBackgroundColour") #define stSQLCustomForegroundColour CTRL_STATIC("stSQLCustomForegroundColour") +#define pickerSQLColour1 CTRL_COLOURPICKER("pickerSQLColour1") +#define pickerSQLColour2 CTRL_COLOURPICKER("pickerSQLColour2") +#define pickerSQLColour3 CTRL_COLOURPICKER("pickerSQLColour3") +#define pickerSQLColour4 CTRL_COLOURPICKER("pickerSQLColour4") +#define pickerSQLColour5 CTRL_COLOURPICKER("pickerSQLColour5") +#define pickerSQLColour6 CTRL_COLOURPICKER("pickerSQLColour6") +#define pickerSQLColour7 CTRL_COLOURPICKER("pickerSQLColour7") +#define pickerSQLColour10 CTRL_COLOURPICKER("pickerSQLColour10") +#define pickerSQLColour11 CTRL_COLOURPICKER("pickerSQLColour11") BEGIN_EVENT_TABLE(frmOptions, pgDialog) EVT_MENU(MNU_HELP, frmOptions::OnHelp) @@ -249,13 +259,15 @@ frmOptions::frmOptions(frmMain *parent) chkSQLUseSystemForegroundColour->SetValue(settings->GetSQLBoxUseSystemForeground()); UpdateColourControls(); - for (int i = 0; i <= 11; ++i) - { - wxString pickerId = wxString::Format(wxT("pickerSQLColour%i"), i); - wxColourPickerCtrl* picker = wxStaticCast(FindWindow(pickerId), wxColourPickerCtrl); - if (picker != NULL) - picker->SetColour(settings->GetSQLBoxColour(i)); - } + pickerSQLColour1->SetColour(settings->GetSQLBoxColour(1)); + pickerSQLColour2->SetColour(settings->GetSQLBoxColour(2)); + pickerSQLColour3->SetColour(settings->GetSQLBoxColour(3)); + pickerSQLColour4->SetColour(settings->GetSQLBoxColour(4)); + pickerSQLColour5->SetColour(settings->GetSQLBoxColour(5)); + pickerSQLColour6->SetColour(settings->GetSQLBoxColour(6)); + pickerSQLColour7->SetColour(settings->GetSQLBoxColour(7)); + pickerSQLColour10->SetColour(settings->GetSQLBoxColour(10)); + pickerSQLColour11->SetColour(settings->GetSQLBoxColour(11)); cbLanguage->Append(_("Default")); int sel=0; @@ -630,38 +642,28 @@ void frmOptions::OnOK(wxCommandEvent &ev) } // Change the status colours - wxColour colour; - wxString sColour; - - colour = pickerIdleProcessColour->GetColour(); - sColour = colour.GetAsString(wxC2S_HTML_SYNTAX); - if (sColour != settings->GetIdleProcessColour()) + if (pickerIdleProcessColour->GetColourString() != settings->GetIdleProcessColour()) changed = true; - settings->SetIdleProcessColour(sColour); + settings->SetIdleProcessColour(pickerIdleProcessColour->GetColourString()); - colour = pickerActiveProcessColour->GetColour(); - sColour = colour.GetAsString(wxC2S_HTML_SYNTAX); - if (sColour != settings->GetActiveProcessColour()) + if (pickerActiveProcessColour->GetColourString() != settings->GetActiveProcessColour()) changed = true; - settings->SetActiveProcessColour(sColour); + settings->SetActiveProcessColour(pickerActiveProcessColour->GetColourString()); - colour = pickerSlowProcessColour->GetColour(); - sColour = colour.GetAsString(wxC2S_HTML_SYNTAX); - if (sColour != settings->GetSlowProcessColour()) + if (pickerSlowProcessColour->GetColourString() != settings->GetSlowProcessColour()) changed = true; - settings->SetSlowProcessColour(sColour); + settings->SetSlowProcessColour(pickerSlowProcessColour->GetColourString()); - colour = pickerBlockedProcessColour->GetColour(); - sColour = colour.GetAsString(wxC2S_HTML_SYNTAX); - if (sColour != settings->GetBlockedProcessColour()) + if (pickerBlockedProcessColour->GetColourString() != settings->GetBlockedProcessColour()) changed = true; - settings->SetBlockedProcessColour(sColour); + settings->SetBlockedProcessColour(pickerBlockedProcessColour->GetColourString()); + // Change files' location settings->SetFavouritesFile(txtFavouritesFile->GetValue()); settings->SetMacrosFile(txtMacrosFile->GetValue()); settings->SetHistoryFile(txtHistoryFile->GetValue()); - // Change SQL Syntax colours + // Change SQL Syntax colours if (settings->GetSQLBoxUseSystemBackground() != chkSQLUseSystemBackgroundColour->GetValue()) { changed = true; @@ -676,35 +678,45 @@ void frmOptions::OnOK(wxCommandEvent &ev) if (!settings->GetSQLBoxUseSystemBackground()) { - colour = pickerSQLBackgroundColour->GetColour(); - sColour = colour.GetAsString(wxC2S_HTML_SYNTAX); - if (sColour != settings->GetSQLBoxColourBackground()) + if (pickerSQLBackgroundColour->GetColourString() != settings->GetSQLBoxColourBackground()) changed = true; - settings->SetSQLBoxColourBackground(sColour); + settings->SetSQLBoxColourBackground(pickerSQLBackgroundColour->GetColourString()); } if (!settings->GetSQLBoxUseSystemForeground()) { - colour = pickerSQLForegroundColour->GetColour(); - sColour = colour.GetAsString(wxC2S_HTML_SYNTAX); - if (sColour != settings->GetSQLBoxColourForeground()) + if (pickerSQLForegroundColour->GetColourString() != settings->GetSQLBoxColourForeground()) changed = true; - settings->SetSQLBoxColourForeground(sColour); + settings->SetSQLBoxColourForeground(pickerSQLForegroundColour->GetColourString()); } - for (int i = 0; i <= 11; ++i) - { - wxString pickerId = wxString::Format(wxT("pickerSQLColour%i"), i); - wxColourPickerCtrl* picker = wxStaticCast(FindWindow(pickerId), wxColourPickerCtrl); - if (picker != NULL) - { - colour = picker->GetColour(); - sColour = colour.GetAsString(wxC2S_HTML_SYNTAX); - if (sColour != settings->GetSQLBoxColour(i)) - changed = true; - settings->SetSQLBoxColour(i, sColour); - } - } + if (pickerSQLColour1->GetColourString() != settings->GetSQLBoxColour(1)) + changed = true; + settings->SetSQLBoxColour(1, pickerSQLColour1->GetColourString()); + if (pickerSQLColour2->GetColourString() != settings->GetSQLBoxColour(2)) + changed = true; + settings->SetSQLBoxColour(2, pickerSQLColour2->GetColourString()); + if (pickerSQLColour3->GetColourString() != settings->GetSQLBoxColour(3)) + changed = true; + settings->SetSQLBoxColour(3, pickerSQLColour3->GetColourString()); + if (pickerSQLColour4->GetColourString() != settings->GetSQLBoxColour(4)) + changed = true; + settings->SetSQLBoxColour(4, pickerSQLColour4->GetColourString()); + if (pickerSQLColour5->GetColourString() != settings->GetSQLBoxColour(5)) + changed = true; + settings->SetSQLBoxColour(5, pickerSQLColour5->GetColourString()); + if (pickerSQLColour6->GetColourString() != settings->GetSQLBoxColour(6)) + changed = true; + settings->SetSQLBoxColour(6, pickerSQLColour6->GetColourString()); + if (pickerSQLColour7->GetColourString() != settings->GetSQLBoxColour(7)) + changed = true; + settings->SetSQLBoxColour(7, pickerSQLColour7->GetColourString()); + if (pickerSQLColour10->GetColourString() != settings->GetSQLBoxColour(10)) + changed = true; + settings->SetSQLBoxColour(10, pickerSQLColour10->GetColourString()); + if (pickerSQLColour11->GetColourString() != settings->GetSQLBoxColour(11)) + changed = true; + settings->SetSQLBoxColour(11, pickerSQLColour11->GetColourString()); // Change the language last, as it will affect our tests for changes // in the display object types. diff --git a/pgadmin/include/ctl/ctlColourPicker.h b/pgadmin/include/ctl/ctlColourPicker.h new file mode 100644 index 0000000..da46b0c --- /dev/null +++ b/pgadmin/include/ctl/ctlColourPicker.h @@ -0,0 +1,45 @@ +////////////////////////////////////////////////////////////////////////// +// +// pgAdmin III - PostgreSQL Tools +// RCS-ID: $Id$ +// Copyright (C) 2002 - 2010, The pgAdmin Development Team +// This software is released under the BSD Licence +// +// ctlColourPicker.cpp - TreeView with Checkboxes +// +////////////////////////////////////////////////////////////////////////// + + +#ifndef _CTLCOLOURPICKER_H +#define _CTLCOLOURPICKER_H + +// wxWindows headers +#include +#include "utils/misc.h" + + + +class ctlColourPicker : public wxBitmapButton +{ +public: + ctlColourPicker(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize) { Create(parent, id, pos, size); } + + void DoProcessLeftClick(wxMouseEvent& event); + + wxColour GetColour(); + wxString GetColourString(); + + void SetColour(const wxColour& colour); + void SetColour(const wxString& colour); + + void SetTitle(const wxString& title); + +private: + wxString m_title; + wxColour m_colour_clr; + + void Create(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize); + void UpdateColour(); +}; + +#endif diff --git a/pgadmin/include/ctl/module.mk b/pgadmin/include/ctl/module.mk index 5d2be6d..7ab23f8 100644 --- a/pgadmin/include/ctl/module.mk +++ b/pgadmin/include/ctl/module.mk @@ -12,6 +12,7 @@ pgadmin3_SOURCES += \ $(srcdir)/include/ctl/calbox.h \ $(srcdir)/include/ctl/ctlCheckTreeView.h \ + $(srcdir)/include/ctl/ctlColourPicker.h \ $(srcdir)/include/ctl/ctlComboBox.h \ $(srcdir)/include/ctl/ctlListView.h \ $(srcdir)/include/ctl/ctlMenuToolbar.h \ diff --git a/pgadmin/include/ctl/xh_ctlchecktreeview.h b/pgadmin/include/ctl/xh_ctlchecktreeview.h index 073cce8..8100e6e 100644 --- a/pgadmin/include/ctl/xh_ctlchecktreeview.h +++ b/pgadmin/include/ctl/xh_ctlchecktreeview.h @@ -5,7 +5,7 @@ // Copyright (C) 2002 - 2010, The pgAdmin Development Team // This software is released under the PostgreSQL Licence // -// xh_ctltree.h - ctlTree handler +// xh_ctlchecktreeview.h - ctlCheckTreeView handler // ////////////////////////////////////////////////////////////////////////// diff --git a/pgadmin/include/ctl/xh_ctlcolourpicker.h b/pgadmin/include/ctl/xh_ctlcolourpicker.h new file mode 100644 index 0000000..655c959 --- /dev/null +++ b/pgadmin/include/ctl/xh_ctlcolourpicker.h @@ -0,0 +1,31 @@ +////////////////////////////////////////////////////////////////////////// +// +// pgAdmin III - PostgreSQL Tools +// RCS-ID: $Id$ +// Copyright (C) 2002 - 2010, The pgAdmin Development Team +// This software is released under the BSD Licence +// +// xh_ctlcolourpicker.h - ctlColourPicker handler +// +////////////////////////////////////////////////////////////////////////// + + +#ifndef _WX_XH_CTLCOLOURPICKER_H_ +#define _WX_XH_CTLCOLOURPICKER_H_ + + +#include "wx/xrc/xmlres.h" +#include "wx/xrc/xh_bmpbt.h" + +//class WXDLLIMPEXP_XRC +class ctlColourPickerXmlHandler : public wxBitmapButtonXmlHandler +{ +DECLARE_DYNAMIC_CLASS(ctlColourPickerXmlHandler) +public: + ctlColourPickerXmlHandler() : wxBitmapButtonXmlHandler() {} + virtual wxObject *DoCreateResource(); + virtual bool CanHandle(wxXmlNode *node); +}; + + +#endif diff --git a/pgadmin/include/pgAdmin3.h b/pgadmin/include/pgAdmin3.h index dc922b1..5b71778 100644 --- a/pgadmin/include/pgAdmin3.h +++ b/pgadmin/include/pgAdmin3.h @@ -15,6 +15,7 @@ // wxWindows headers #include #include +#include #include #include @@ -24,6 +25,7 @@ #include "ctl/ctlListView.h" #include "ctl/ctlComboBox.h" #include +#include #include "dlg/dlgClasses.h" #include "db/pgConn.h" #include "db/pgSet.h" diff --git a/pgadmin/include/precomp.h b/pgadmin/include/precomp.h index e3004d0..0277ae4 100644 --- a/pgadmin/include/precomp.h +++ b/pgadmin/include/precomp.h @@ -24,6 +24,7 @@ #include "ctl/calbox.h" #include "ctl/ctlCheckTreeView.h" +#include "ctl/ctlColourPicker.h" #include "ctl/ctlComboBox.h" #include "ctl/ctlListView.h" #include "ctl/ctlSecurityPanel.h" @@ -37,6 +38,7 @@ #include "ctl/xh_calb.h" #include "ctl/xh_ctlcombo.h" #include "ctl/xh_ctlchecktreeview.h" +#include "ctl/xh_ctlcolourpicker.h" #include "ctl/xh_ctltree.h" #include "ctl/xh_sqlbox.h" #include "ctl/xh_timespin.h" diff --git a/pgadmin/include/utils/misc.h b/pgadmin/include/utils/misc.h index b98f1cb..4a9dad6 100644 --- a/pgadmin/include/utils/misc.h +++ b/pgadmin/include/utils/misc.h @@ -87,7 +87,7 @@ extern sysSettings *settings; #define CTRL_CHECKLISTBOX(id) (XRCCTRL(*this, id, wxCheckListBox)) #define CTRL_DATEPICK(id) (XRCCTRL(*this, id, wxDatePickerCtrl)) #define CTRL_TREE(id) (XRCCTRL(*this, id, ctlTree)) -#define CTRL_COLOURPICKER(id) (XRCCTRL(*this, id, wxColourPickerCtrl)) +#define CTRL_COLOURPICKER(id) (XRCCTRL(*this, id, ctlColourPicker)) #define CTRL_CHECKTREEVIEW(id) (XRCCTRL(*this, id, ctlCheckTreeView)) #endif // PGSCLI diff --git a/pgadmin/pgAdmin3.cpp b/pgadmin/pgAdmin3.cpp index 1c12dae..7e742ef 100644 --- a/pgadmin/pgAdmin3.cpp +++ b/pgadmin/pgAdmin3.cpp @@ -66,6 +66,7 @@ #include "ctl/xh_ctlcombo.h" #include "ctl/xh_ctltree.h" #include "ctl/xh_ctlchecktreeview.h" +#include "ctl/xh_ctlcolourpicker.h" #define DOC_DIR wxT("/docs") #define UI_DIR wxT("/ui") @@ -379,6 +380,7 @@ bool pgAdmin3::OnInit() wxXmlResource::Get()->AddHandler(new ctlComboBoxXmlHandler); wxXmlResource::Get()->AddHandler(new ctlTreeXmlHandler); wxXmlResource::Get()->AddHandler(new ctlCheckTreeViewXmlHandler); + wxXmlResource::Get()->AddHandler(new ctlColourPickerXmlHandler); InitXml(); diff --git a/pgadmin/pgAdmin3.vcproj b/pgadmin/pgAdmin3.vcproj index 2fd55bf..8491a99 100644 --- a/pgadmin/pgAdmin3.vcproj +++ b/pgadmin/pgAdmin3.vcproj @@ -4561,6 +4561,14 @@ + + + + diff --git a/pgadmin/ui/dlgServer.xrc b/pgadmin/ui/dlgServer.xrc index 9dbb14c..e534149 100644 --- a/pgadmin/ui/dlgServer.xrc +++ b/pgadmin/ui/dlgServer.xrc @@ -191,7 +191,7 @@ 4 - + wxEXPAND|wxALIGN_CENTRE_VERTICAL|wxALL 4 diff --git a/pgadmin/ui/frmOptions.xrc b/pgadmin/ui/frmOptions.xrc index 162423e..43ba9d3 100644 --- a/pgadmin/ui/frmOptions.xrc +++ b/pgadmin/ui/frmOptions.xrc @@ -366,7 +366,7 @@ 5,5d - + 100,5d 50,12d @@ -374,7 +374,7 @@ 5,22d - + 100,22d 50,12d @@ -382,7 +382,7 @@ 5,39d - + 100,39d 50,12d @@ -390,7 +390,7 @@ 5,56d - + 100,56d 50,12d @@ -479,7 +479,7 @@ 5,35d - + 80,35d 25,12d @@ -488,7 +488,7 @@ 5,50d - + 80,50d 25,12d @@ -497,7 +497,7 @@ 5,75d - + 80,75d 25,12d @@ -506,7 +506,7 @@ 5,90d - + 80,90d 25,12d @@ -515,7 +515,7 @@ 5,105d - + 80,105d 25,12d @@ -524,7 +524,7 @@ 5,120d - + 80,120d 25,12d @@ -533,7 +533,7 @@ 5,135d - + 80,135d 25,12d @@ -542,7 +542,7 @@ 5,150d - + 80,150d 25,12d @@ -551,7 +551,7 @@ 125,75d - + 195,75d 25,12d @@ -560,7 +560,7 @@ 125,90d - + 195,90d 25,12d @@ -569,7 +569,7 @@ 125,105d - + 195,105d 25,12d