Time: remove unused sourcefiles.

This commit is contained in:
Adrien Destugues
2020-07-19 13:06:27 +02:00
parent 98e5fab3f4
commit d74c554ce2
3 changed files with 0 additions and 84 deletions
-33
View File
@@ -1,33 +0,0 @@
/*
* Copyright 2004-2007, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Andrew McCall <mccall@@digitalparadise.co.uk>
* Mike Berg <[email protected]>
* Julun <[email protected]>
*
*/
#include "Bitmaps.h"
#include <Debug.h>
#include <Screen.h>
void
ReplaceTransparentColor(BBitmap* bitmap, rgb_color with)
{
// other color spaces not implemented yet
ASSERT(bitmap->ColorSpace() == B_COLOR_8_BIT);
BScreen screen(B_MAIN_SCREEN_ID);
uint32 withIndex = screen.IndexForColor(with);
uchar* bits = (uchar*)bitmap->Bits();
int32 bitsLength = bitmap->BitsLength();
for (int32 index = 0; index < bitsLength; index++)
if (bits[index] == B_TRANSPARENT_8_BIT)
bits[index] = withIndex;
}
-50
View File
@@ -1,50 +0,0 @@
/*
* Copyright 2004-2010, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Andrew McCall <mccall@@digitalparadise.co.uk>
* Mike Berg <[email protected]>
* Julun <[email protected]>
*
*/
#ifndef _BITMAPS_H
#define _BITMAPS_H
#include <Bitmap.h>
void ReplaceTransparentColor(BBitmap* bitmap, rgb_color with);
const int32 kUpArrowWidth = 16;
const int32 kUpArrowHeight = 7;
const color_space kUpArrowColorSpace = B_CMAP8;
const unsigned char kUpArrowBits [] = {
0xff,0xff,0xff,0xff,0x13,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0xff,0xff,0x13,0x1e,0x13,0xff,0xff,0xff,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0xff,0x13,0x1e,0xff,0x18,0x13,0xff,0xff,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0x13,0x1e,0xff,0xff,0xff,0x18,0x13,0xff,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0x13,0x1e,0x18,0x18,0x18,0x18,0x18,0x18,0x0b,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0x13,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x13,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0xff,0xff,0x18,0x3f,0xff,0xff
};
const int32 kDownArrowWidth = 16;
const int32 kDownArrowHeight = 7;
const color_space kDownArrowColorSpace = B_CMAP8;
const unsigned char kDownArrowBits [] = {
0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x0b,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0x13,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x16,0x0b,0x13,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0x13,0xff,0xff,0xff,0xff,0x16,0x0b,0x13,0x13,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0xff,0x13,0xff,0xff,0x16,0x0b,0x13,0x13,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0xff,0xff,0x13,0x16,0x0b,0x13,0x13,0xff,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0xff,0xff,0xff,0x0b,0x13,0x13,0xff,0xff,0xff,0xff,0xff,0x18,0x3f,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0x13,0xff,0xff,0xff,0xff,0xff,0xff,0x18,0x3f,0xff,0xff
};
#endif // _BITMAPS_H
-1
View File
@@ -7,7 +7,6 @@ UseBuildFeatureHeaders icu ;
local sources =
AnalogClock.cpp
BaseView.cpp
Bitmaps.cpp
ClockView.cpp
DateTimeEdit.cpp
SectionEdit.cpp