From 53eaeede6faa63eb6d3f400fdb43fb4204627fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 28 Mar 2009 14:09:14 +0000 Subject: [PATCH] * Moved the bitmap filter options to InterfaceDefs.h. * Moved the bit in order not to clash with the tile options. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29754 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/interface/InterfaceDefs.h | 11 ++++++++--- headers/os/interface/View.h | 7 ------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/headers/os/interface/InterfaceDefs.h b/headers/os/interface/InterfaceDefs.h index 04bcf0a019..f834548e92 100644 --- a/headers/os/interface/InterfaceDefs.h +++ b/headers/os/interface/InterfaceDefs.h @@ -241,9 +241,9 @@ const float B_DEFAULT_MITER_LIMIT = 10.0F; // Bitmap and overlay constants enum bitmap_tiling { - B_TILE_BITMAP_X = 0x00000001, - B_TILE_BITMAP_Y = 0x00000002, - B_TILE_BITMAP = 0x00000003 + B_TILE_BITMAP_X = 0x00000001, + B_TILE_BITMAP_Y = 0x00000002, + B_TILE_BITMAP = 0x00000003 }; enum overlay_options { @@ -253,6 +253,11 @@ enum overlay_options { B_OVERLAY_TRANSFER_CHANNEL = 0x00080000 }; +enum bitmap_filtering { + B_FILTER_BITMAP_BILINEAR = 0x00000100, + // TODO: Make this simply "SMOOTH_SCALE" and use + // better quality methods the faster the computer? +}; // Default UI Colors diff --git a/headers/os/interface/View.h b/headers/os/interface/View.h index 09b2fa339f..b954db1291 100644 --- a/headers/os/interface/View.h +++ b/headers/os/interface/View.h @@ -56,13 +56,6 @@ enum { B_TRACK_RECT_CORNER }; -// bitmap drawing options -enum { - B_FILTER_BITMAP_BILINEAR = 0x00000001, - // TODO: Make this simply "SMOOTH_SCALE" and use - // better quality methods the faster the computer? -}; - // set font mask enum { B_FONT_FAMILY_AND_STYLE = 0x00000001,