Skip to content

Commit 2128557

Browse files
committedJun 2, 2017
Added renamed directories
Added new directories with the same names, just without spaces.
1 parent acaa49a commit 2128557

File tree

311 files changed

+12317
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+12317
-0
lines changed
 

‎ABitmapClass/src/Bitmap.cpp

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Bitmap.cpp
3+
*
4+
* Created on: Jul 2, 2015
5+
* Author: johnpurcell
6+
*/
7+
8+
#include "Bitmap.h"
9+
10+
namespace caveofprogramming {
11+
12+
Bitmap::Bitmap(int width, int height): m_width(width), m_height(height) {
13+
// TODO Auto-generated constructor stub
14+
15+
}
16+
17+
bool Bitmap::write(string filename) {
18+
return false;
19+
}
20+
21+
void Bitmap::setPixel(int x, int y, uint8_t red, uint8_t green, uint8_t blue) {
22+
23+
}
24+
25+
Bitmap::~Bitmap() {
26+
// TODO Auto-generated destructor stub
27+
}
28+
29+
} /* namespace caveofprogramming */

‎ABitmapClass/src/Bitmap.h

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Bitmap.h
3+
*
4+
* Created on: Jul 2, 2015
5+
* Author: johnpurcell
6+
*/
7+
8+
#ifndef BITMAP_H_
9+
#define BITMAP_H_
10+
11+
#include <string>
12+
#include <cstdint>
13+
using namespace std;
14+
15+
namespace caveofprogramming {
16+
17+
class Bitmap {
18+
private:
19+
int m_width{0};
20+
int m_height{0};
21+
22+
public:
23+
Bitmap(int width, int height);
24+
void setPixel(int x, int y, uint8_t red, uint8_t green, uint8_t blue);
25+
bool write(string filename);
26+
virtual ~Bitmap();
27+
};
28+
29+
} /* namespace caveofprogramming */
30+
31+
#endif /* BITMAP_H_ */

0 commit comments

Comments
 (0)