From 6be98faf5bf1704e91e9e805cea06d32df258898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 26 Mar 2016 23:48:12 +0100 Subject: Initial TQt conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/widget/bitmaps.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/widget/bitmaps.h') diff --git a/src/widget/bitmaps.h b/src/widget/bitmaps.h index 8744288..58bd4b9 100644 --- a/src/widget/bitmaps.h +++ b/src/widget/bitmaps.h @@ -1,7 +1,7 @@ #ifndef __BITMAPS_H #define __BITMAPS_H -// Fix Qt's wacky image positions +// Fix TQt's wacky image positions static const char * const hc_minimize_toto_xpm[] = { "12 12 2 1", "# c #000000", @@ -38,41 +38,41 @@ static const char * const hc_close_toto_xpm[] = { "..##....##.."}; -static const QCOORD s_arrowUp[]={0,4,5,0, +static const TQCOORD s_arrowUp[]={0,4,5,0, 1,3,6,1, 2,4,7,2, 3,1,8,3, 4,0,9,4}; -static const QCOORD s_arrowDown[]={0,0,9,0, +static const TQCOORD s_arrowDown[]={0,0,9,0, 1,1,8,1, 2,2,7,2, 3,3,6,3, 4,4,5,4}; -static const QCOORD c_edit_arrow[]={-4,-5, 4, -5, +static const TQCOORD c_edit_arrow[]={-4,-5, 4, -5, -4 ,-2, 4, -2, -3 ,-1, 3, -1, -2 ,0, 2, 0, -1, 1, 1, 1, 0, 2, 0, 2}; -static const QCOORD c_arrow[]={-4 ,-2, 4, -2, +static const TQCOORD c_arrow[]={-4 ,-2, 4, -2, -3 ,-1, 3, -1, -2 ,0, 2, 0, -1, 1, 1, 1, 0, 2, 0, 2}; -const QCOORD u_spinarrow[]={ 0,-2, 0,-2, -1,-1, 1,-1, -2,0, 2,0 }; -const QCOORD d_spinarrow[]={ -2,-1, 2,-1, -1,0, 1,0, 0,1, 0,1 }; +const TQCOORD u_spinarrow[]={ 0,-2, 0,-2, -1,-1, 1,-1, -2,0, 2,0 }; +const TQCOORD d_spinarrow[]={ -2,-1, 2,-1, -1,0, 1,0, 0,1, 0,1 }; -const QCOORD u_arrow[]={ 0,-2, 0,-2, -1,-1, 1,-1, -2,0, 2,0, -3,1, 3,1 }; -const QCOORD d_arrow[]={ -3,-2, 3,-2, -2,-1, 2,-1, -1,0, 1,0, 0,1, 0,1 }; -const QCOORD l_arrow[]={ 1,-3, 1,-3, 0,-2, 1,-2, -1,-1, 1,-1, -2,0, 1,0, -1,1, 1,1, 0,2, 1,2, 1,3, 1,3 }; -const QCOORD r_arrow[]={ -2,-3, -2,-3, -2,-2, -1,-2, -2,-1, 0,-1, -2,0, 1,0, -2,1, 0,1, -2,2, -1,2, -2,3, -2,3 }; +const TQCOORD u_arrow[]={ 0,-2, 0,-2, -1,-1, 1,-1, -2,0, 2,0, -3,1, 3,1 }; +const TQCOORD d_arrow[]={ -3,-2, 3,-2, -2,-1, 2,-1, -1,0, 1,0, 0,1, 0,1 }; +const TQCOORD l_arrow[]={ 1,-3, 1,-3, 0,-2, 1,-2, -1,-1, 1,-1, -2,0, 1,0, -1,1, 1,1, 0,2, 1,2, 1,3, 1,3 }; +const TQCOORD r_arrow[]={ -2,-3, -2,-3, -2,-2, -1,-2, -2,-1, 0,-1, -2,0, 1,0, -2,1, 0,1, -2,2, -1,2, -2,3, -2,3 }; -#define QCOORDARRLEN(x) sizeof(x)/(sizeof(QCOORD)*2) +#define TQCOORDARRLEN(x) sizeof(x)/(sizeof(TQCOORD)*2) -- cgit v1.2.1