Browse Source

cleanup of source files

remotes/origin_old/ugfx_release_2.6
Joel Bodenmann 10 years ago
parent
commit
dfb9f92eb1
  1. 5
      src/gdisp.c
  2. 1
      src/gdisp_fonts.c
  3. 5
      src/gevent.c
  4. 5
      src/ginput.c
  5. 5
      src/gtimer.c
  6. 5
      src/gwin.c
  7. 8
      src/touchscreen.c

5
src/gdisp.c

@ -29,9 +29,6 @@
#include "hal.h"
#include "gdisp.h"
#ifndef _GDISP_C
#define _GDISP_C
#if GFX_USE_GDISP || defined(__DOXYGEN__)
#ifdef GDISP_NEED_TEXT
@ -1268,7 +1265,5 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color) {
#endif
#endif /* GFX_USE_GDISP */
#endif /* _GDISP_C */
/** @} */

1
src/gdisp_fonts.c

@ -31,7 +31,6 @@
#include "gdisp_fonts.h"
/* fontSmall - for side buttons */
#if 1
/* Forward Declarations of internal arrays */

5
src/gevent.c

@ -29,9 +29,6 @@
#include "hal.h"
#include "gevent.h"
#ifndef _GEVENT_C
#define _GEVENT_C
#if GFX_USE_GEVENT || defined(__DOXYGEN__)
#if GEVENT_ASSERT_NO_RESOURCE
@ -247,6 +244,4 @@ void geventDetachSourceListeners(GSourceHandle gsh) {
}
#endif /* GFX_USE_GEVENT */
#endif /* _GEVENT_C */
/** @} */

5
src/ginput.c

@ -29,14 +29,9 @@
#include "hal.h"
#include "ginput.h"
#ifndef _GINPUT_C
#define _GINPUT_C
#if GFX_USE_GINPUT || defined(__DOXYGEN__)
#error "GINPUT: Not Implemented Yet"
#endif /* GFX_USE_GINPUT */
#endif /* _GINPUT_C */
/** @} */

5
src/gtimer.c

@ -29,9 +29,6 @@
#include "hal.h"
#include "gtimer.h"
#ifndef _GTIMER_C
#define _GTIMER_C
#if GFX_USE_GTIMER || defined(__DOXYGEN__)
#define GTIMER_FLG_PERIODIC 0x0001
@ -298,6 +295,4 @@ void gtimerJabI(GTimer *pt) {
}
#endif /* GFX_USE_GTIMER */
#endif /* _GTIMER_C */
/** @} */

5
src/gwin.c

@ -29,9 +29,6 @@
#include "hal.h"
#include "gwin.h"
#ifndef _GWIN_C
#define _GWIN_C
#if GFX_USE_GWIN || defined(__DOXYGEN__)
#include <string.h>
@ -894,7 +891,5 @@ void gwinButtonDraw(GHandle gh) {
#endif
#endif /* GFX_USE_GWIN */
#endif /* _GWIN_C */
/** @} */

8
src/touchscreen.c

@ -32,14 +32,6 @@
#if GFX_USE_TOUCHSCREEN || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver local definitions. */
/*===========================================================================*/
/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/
/*===========================================================================*/
/* Driver local variables. */
/*===========================================================================*/

Loading…
Cancel
Save