1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
// shell of explorer, with all functions complete it was over 400 lines + everything in explorer works like it should
#pragma once
#include <vector>
#include <string>
#include <fstream>
#include "Graphics.h"
#include "drawableItem.h"
#include "Window.h"
#include "color.h"
#include "taskbarAndmenu.h"
#include "themeFile.h"
#include "tempWin.h"
#include "myFusion.h"
#include "ExploreFile.h"
#include "games.h"
#include "accessories.h"
#include "sysSet.h"
#include "TaskManager.h"
#include "clock.h"
class Explorer{ // pretty much like windows explorer, draws windows, opens directories, draws main items
private:
Graphic graphic;
string themePath;
Clock clock;
vector<DrawableItem*> Items;
double R;
double G;
double B;
double A;
bool ItemFocus;
bool FocusItemSelected;
Taskbar taskbar;
ThemeTextures themetxt;
bool drawSquare;
int startSX;
int startSY;
int startSXF;
int startSYF;
int winPos; // position that windows should be created
int getPos(){ }
int findID(int ID){ }
int inWindow(int X, int Y){ }
void bringItemFront(int X, int Y){ }
void bringItemFront(int index){ }
void drawBuild(){ }
int makeID(){ }
void error(string error){ }
void drawTint(int x, int y, int h, int w){ }
void saveColor(){ }
public:
int NumItems(){ }
Explorer(){ }
Explorer(double R, double G, double B, double A, string themePath){ }
void createWindow(int X, int Y, int W, int H, bool xB, bool minB, bool maxB, string title, Program *n){ }
void createWindow(int X, int Y, int W, int H, string title, Program *n){ }
void createWindow(int W, int H, string title, Program *n){ }
GLint performanceWarning(){ }
GLint performanceDrop(){ }
void StartExplorer(){ }
void MousePress(int X, int Y, int button){ }
void MouseRelease(int button){ }
void MouseMotion(int X, int Y, int Xrel, int Yrel){ }
void key(int key, bool pressed){ }
void destroyItem(int item){ }
bool eraseItem(){ }
void StopExplorer(){ }
void DrawItems(int FPS){ }
};
|