Skip to content

Commit f826f93

Browse files
committed
More reorganize all the things
1 parent 30969d7 commit f826f93

26 files changed

+200
-727
lines changed

Editor/GUIEditorApp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "GUI.h"
1111
#include "allegro.h"
1212
#include "GUIEditorApp.h"
13-
#include "DDTError.h"
13+
#include "RTEError.h"
1414

1515
#include "GUI.h"
1616
#include "AllegroScreen.h"
@@ -98,7 +98,7 @@ bool GUIEditorApp::Initialize(void)
9898
BITMAP *tempBitmap;
9999
PALETTE newPalette;
100100
//if (!(tempBitmap = load_bitmap("Palette.bmp", NULL)))// newPalette)))
101-
// DDTAbort("Failed to load palette from bitmap with following path:\n\nBase.rte/palette.bmp");
101+
// RTEAbort("Failed to load palette from bitmap with following path:\n\nBase.rte/palette.bmp");
102102

103103
PALETTE ccpal;
104104
get_palette(ccpal);
@@ -811,7 +811,7 @@ void GUIEditorApp::DrawSelectedControl(GUIControl *Control)
811811
}
812812

813813

814-
RECT Rect;
814+
GUIRect Rect;
815815
SetRect(&Rect, X-6, Y-6, X+Width+6, Y+Height+6);
816816
g_Screen->GetBitmap()->SetClipRect(&Rect);
817817

GUILibrary/Source/GUI.h

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,19 @@ struct GUIRect { long left; long top; long right; long bottom; };
1818
void SetRect(GUIRect *pRect, int left, int top, int right, int bottom);
1919
#pragma endregion
2020

21-
#include "RTETools.h"
21+
//#include "RTETools.h"
2222

23-
#include "GUI/Interface.h"
24-
#include "GUI/GUIProperties.h"
25-
#include "GUI/GUIInput.h"
26-
#include "GUI/GUIFont.h"
27-
#include "GUI/GUISkin.h"
28-
#include "GUI/GUIPanel.h"
29-
#include "GUI/GUIManager.h"
30-
#include "GUI/GUIUtil.h"
31-
#include "GUI/GUIControl.h"
32-
#include "GUI/GUIEvent.h"
33-
#include "GUI/GUIControlFactory.h"
34-
#include "GUI/GUIControlManager.h"
35-
#include "GUI/GUISound.h"
23+
#include "Interface.h"
24+
#include "GUIProperties.h"
25+
#include "GUIInput.h"
26+
#include "GUIFont.h"
27+
#include "GUISkin.h"
28+
#include "GUIPanel.h"
29+
#include "GUIManager.h"
30+
#include "GUIUtil.h"
31+
#include "GUIControl.h"
32+
#include "GUIEvent.h"
33+
#include "GUIControlFactory.h"
34+
#include "GUIControlManager.h"
3635

3736
#endif

GUILibrary/Source/GUIListPanel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// Inclusions of header files
1616

1717
#include "GUIScrollPanel.h"
18-
#include "GUI/Interface.h"
18+
#include "Interface.h"
1919

2020

2121
namespace RTE

GUILibrary/Source/GUISound.cpp

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)