This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 10134 for ps


Ignore:
Timestamp:
08/30/11 00:27:58 (13 years ago)
Author:
ben
Message:

Switches Atlas player panel to our custom ColourDialog for consistency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Player/Player.cpp

    r10131 r10134  
    2222#include "AtlasObject/AtlasObject.h"
    2323#include "AtlasScript/ScriptInterface.h"
     24#include "CustomControls/ColourDialog/ColourDialog.h"
    2425#include "ScenarioEditor/ScenarioEditor.h"
    2526
    2627#include "wx/choicebk.h"
    27 #include "wx/colordlg.h"
    2828
    2929enum
     
    228228    {
    229229        // Show colour dialog
    230         wxColourData clrData;
    231         clrData.SetColour(m_Controls.colour->GetBackgroundColour());
    232 
    233         wxColourDialog colourDlg(this, &clrData);
    234         colourDlg.SetTitle(_("Choose player colour"));
     230        ColourDialog colourDlg(this, _T("Scenario Editor/PlayerColour"), m_Controls.colour->GetBackgroundColour());
    235231
    236232        if (colourDlg.ShowModal() == wxID_OK)
Note: See TracChangeset for help on using the changeset viewer.