Subversion Repositories Projects

Rev

Rev 1773 | Rev 2099 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1773 Rev 1866
Line 1... Line 1...
1
/****************************************************************************
1
/****************************************************************************
2
 *   Copyright (C) 2009-2012 by Claas Anders "CaScAdE" Rathje               *
2
 *   Copyright (C) 2009-2013 by Claas Anders "CaScAdE" Rathje               *
3
 *   admiralcascade@gmail.com                                               *
3
 *   admiralcascade@gmail.com                                               *
4
 *   Project-URL: http://www.mylifesucks.de/oss/c-osd/                      *
4
 *   Project-URL: http://www.mylifesucks.de/oss/c-osd/                      *
5
 *                                                                          *
5
 *                                                                          *
6
 *   This program is free software; you can redistribute it and/or modify   *
6
 *   This program is free software; you can redistribute it and/or modify   *
7
 *   it under the terms of the GNU General Public License as published by   *
7
 *   it under the terms of the GNU General Public License as published by   *
Line 206... Line 206...
206
    static int8_t old1 = 0, old2 = 0, old3 = 0, old4, old5 = 0, old6 = 0, old7 = 0, old8 = 0;
206
    static int8_t old1 = 0, old2 = 0, old3 = 0, old4, old5 = 0, old6 = 0, old7 = 0, old8 = 0;
207
    int8_t ticy = 0, ticx = 0;
207
    int8_t ticy = 0, ticx = 0;
208
    uint8_t center_x = 15;
208
    uint8_t center_x = 15;
209
    uint8_t center_y = lastline - firstline;
209
    uint8_t center_y = lastline - firstline;
210
    center_y = 7;
210
    center_y = 7;
-
 
211
 
-
 
212
#ifndef INDICATORARSLEVEL
-
 
213
        // original indicator bars
211
    write_char_xy(center_x - 7, center_y, 226); // left bar
214
    write_char_xy(center_x - 7, center_y, 226); // left bar
212
    write_char_xy(center_x + 6, center_y, 226); // right bar
215
    write_char_xy(center_x + 6, center_y, 226); // right bar
-
 
216
#else
-
 
217
        // indicator bars on same level as horizon bars
-
 
218
    write_char_xy(center_x - 7, center_y, 0x78); // left bar
-
 
219
    write_char_xy(center_x + 6, center_y, 0x78); // right bar
-
 
220
#endif
Line 213... Line 221...
213
 
221
 
214
 
222
 
215
#if FCONLY
223
#if FCONLY