mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-09-06 05:28:03 +03:00
- tools/Makefile.common: CFLAGS and OBJS can now be target-specific - tools/atspi-rssi/Makefile: add SDL, SDL_gfx, and the GUI object files when building on the host - tools/atspi-rssi/Makefile: set -DHAVE_GFX when building on the host - tools/atspi-rssi/atspi-rssi.c (usage, main): new option -g to use GUI mode - tools/atspi-rssi/atspi-rssi.c (main): rename variable for the number of sweeps in non-GUI mode from "sweeps" to "arg", since it may have other uses in the future - tools/atspi-rssi/digit.h, tools/atspi-rssi/digit.c: draw 7 segment style digits - tools/atspi-rssi/zgrid.h, tools/atspi-rssi/zgrid.c: display a surface in faux 3D with SDL/SDL_gfx - tools/tools/atspi-rssi/gui.h, tools/atspi-rssi/gui.c: display RSSI scans as a scrolling 3D profile
25 lines
641 B
C
25 lines
641 B
C
/*
|
|
* atspi-rssi/zgrid.h - Display a surface in faux 3D with SDL/SDL_gfx
|
|
*
|
|
* Written 2010 by Werner Almesberger
|
|
* Copyright 2010 Werner Almesberger
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef ZGRID_H
|
|
#define ZGRID_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "SDL.h"
|
|
|
|
|
|
void zgrid_draw(SDL_Surface *s, const int *z, int nx, int ny,
|
|
int sx, int sy, int sxy, int x0, int y0, uint32_t fg, uint32_t bg);
|
|
|
|
#endif /* !ZGRID_H */
|