Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
weeeBox committed Dec 20, 2016
1 parent d342849 commit 169c4f6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Project/Assets/LunarPlugin/Editor/Core/CEditorMenu.cs
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private static void Separator()
[MenuItem("Window/Lunar/About Lunar...")]
private static void ShowAbout()
{
AboutWindow.ShowWindow();
CAboutWindow.ShowWindow();
}

[MenuItem("Window/Lunar/Request Feature...")]
Expand Down
6 changes: 3 additions & 3 deletions Project/Assets/LunarPlugin/Editor/UI/CAboutWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

namespace LunarEditor
{
class AboutWindow : Window
class CAboutWindow : Window
{
public AboutWindow()
public CAboutWindow()
: base("About Lunar")
{
Rect rect = this.position;
Expand Down Expand Up @@ -89,7 +89,7 @@ protected override void CreateUI()

internal static void ShowWindow()
{
EditorWindow.GetWindow<AboutWindow>();
EditorWindow.GetWindow<CAboutWindow>();
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Project/Assets/LunarPlugin/Editor/UI/CAbstractButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

namespace LunarEditor
{
abstract class AbstractButton : View
abstract class CAbstractButton : View
{
public AbstractButton(string title)
public CAbstractButton(string title)
{
Content = new GUIContent(title);

Expand Down
2 changes: 1 addition & 1 deletion Project/Assets/LunarPlugin/Editor/UI/CButton.cs
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace LunarEditor
{
delegate void ButtonDelegate(Button button);

class Button : AbstractButton
class Button : CAbstractButton
{
public Button(string title, ButtonDelegate buttonDelegate)
: base(title)
Expand Down
2 changes: 1 addition & 1 deletion Project/Assets/LunarPlugin/Editor/UI/CToggleButton.cs
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace LunarEditor
{
delegate void ToggleButtonDelegate(ToggleButton button);

class ToggleButton : AbstractButton
class ToggleButton : CAbstractButton
{
public ToggleButton(string title = "", ToggleButtonDelegate buttonDelegate = null)
: base(title)
Expand Down

0 comments on commit 169c4f6

Please sign in to comment.