Differential D3787 Diff 16957 source/tools/atlas/AtlasUI/CustomControls/EditableListCtrl/FieldEditCtrl.h
Changeset View
Changeset View
Standalone View
Standalone View
source/tools/atlas/AtlasUI/CustomControls/EditableListCtrl/FieldEditCtrl.h
/* Copyright (C) 2009 Wildfire Games. | /* Copyright (C) 2021 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
Show All 35 Lines | |||||
class FieldEditCtrl_Color : public FieldEditCtrl | class FieldEditCtrl_Color : public FieldEditCtrl | ||||
{ | { | ||||
protected: | protected: | ||||
void StartEdit(wxWindow* parent, wxRect rect, long row, int col); | void StartEdit(wxWindow* parent, wxRect rect, long row, int col); | ||||
}; | }; | ||||
////////////////////////////////////////////////////////////////////////// | ////////////////////////////////////////////////////////////////////////// | ||||
class FieldEditCtrl_Boolean : public FieldEditCtrl | |||||
{ | |||||
protected: | |||||
void StartEdit(wxWindow* parent, wxRect rect, long row, int col); | |||||
}; | |||||
////////////////////////////////////////////////////////////////////////// | |||||
class FieldEditCtrl_List : public FieldEditCtrl | class FieldEditCtrl_List : public FieldEditCtrl | ||||
{ | { | ||||
public: | public: | ||||
// listType must remain valid at least until StartEdit has been called | // listType must remain valid at least until StartEdit has been called | ||||
FieldEditCtrl_List(const char* listType); | FieldEditCtrl_List(const char* listType); | ||||
protected: | protected: | ||||
void StartEdit(wxWindow* parent, wxRect rect, long row, int col); | void StartEdit(wxWindow* parent, wxRect rect, long row, int col); | ||||
Show All 38 Lines |
Wildfire Games · Phabricator