This commit is contained in:
Thomas Sterren 2018-03-06 09:38:37 +01:00
commit 65d00b16b9
295 changed files with 2707 additions and 2608 deletions

View File

@ -31,7 +31,7 @@
#define SET_RST palSetPad(SPFD54124B_PIN_PORT, SPFD54124B_PIN_RST); #define SET_RST palSetPad(SPFD54124B_PIN_PORT, SPFD54124B_PIN_RST);
#define CLR_RST palClearPad(SPFD54124B_PIN_PORT, SPFD54124B_PIN_RST); #define CLR_RST palClearPad(SPFD54124B_PIN_PORT, SPFD54124B_PIN_RST);
#define USE_SOFT_SPI TRUE #define USE_SOFT_SPI GFXON
#define USE_HARD_SPI !(USE_SOFT_SPI) #define USE_HARD_SPI !(USE_SOFT_SPI)
#if USE_HARD_SPI #if USE_HARD_SPI

View File

@ -25,11 +25,11 @@
// How much extra data to allocate at the end of the GMouse structure for the board's use // How much extra data to allocate at the end of the GMouse structure for the board's use
#define GMOUSE_FT5316_BOARD_DATA_SIZE 0 #define GMOUSE_FT5316_BOARD_DATA_SIZE 0
// Set this to TRUE if you want self-calibration. // Set this to GFXON if you want self-calibration.
// NOTE: This is not as accurate as real calibration. // NOTE: This is not as accurate as real calibration.
// It requires the orientation of the touch panel to match the display. // It requires the orientation of the touch panel to match the display.
// It requires the active area of the touch panel to exactly match the display size. // It requires the active area of the touch panel to exactly match the display size.
#define GMOUSE_FT5316_SELF_CALIBRATE TRUE #define GMOUSE_FT5316_SELF_CALIBRATE GFXON
static unsigned int device_write(unsigned char device_address, unsigned char sub_address, unsigned char wdata) static unsigned int device_write(unsigned char device_address, unsigned char sub_address, unsigned char wdata)
{ {

View File

@ -31,18 +31,18 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
#define GFX_USE_OS_ARDUINO TRUE #define GFX_USE_OS_ARDUINO GFXON
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Embest-STM32-DMSTF4BB GFXINC += $(GFXLIB)/boards/base/Embest-STM32-DMSTF4BB
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_CHIBIOS=GFXON
include $(GFXLIB)/drivers/gdisp/SSD2119/driver.mk include $(GFXLIB)/drivers/gdisp/SSD2119/driver.mk
include $(GFXLIB)/drivers/ginput/touch/STMPE811/driver.mk include $(GFXLIB)/drivers/ginput/touch/STMPE811/driver.mk

View File

@ -20,16 +20,16 @@
#define GMOUSE_STMPE811_BOARD_DATA_SIZE 0 #define GMOUSE_STMPE811_BOARD_DATA_SIZE 0
// Options - Leave these commented to make it user configurable in the gfxconf.h // Options - Leave these commented to make it user configurable in the gfxconf.h
//#define GMOUSE_STMPE811_READ_PRESSURE FALSE //#define GMOUSE_STMPE811_READ_PRESSURE GFXOFF
//#define GMOUSE_STMPE811_SELF_CALIBRATE FALSE //#define GMOUSE_STMPE811_SELF_CALIBRATE GFXOFF
//#define GMOUSE_STMPE811_TEST_MODE FALSE //#define GMOUSE_STMPE811_TEST_MODE GFXOFF
// If TRUE this board has the STMPE811 IRQ pin connected to a GPIO. // If GFXON this board has the STMPE811 IRQ pin connected to a GPIO.
// Note: Although this board has such a pin its reliability has not been tested on this board!!!!! // Note: Although this board has such a pin its reliability has not been tested on this board!!!!!
#define GMOUSE_STMPE811_GPIO_IRQPIN FALSE #define GMOUSE_STMPE811_GPIO_IRQPIN GFXOFF
// If TRUE this is a really slow CPU and we should always clear the FIFO between reads. // If GFXON this is a really slow CPU and we should always clear the FIFO between reads.
#define GMOUSE_STMPE811_SLOW_CPU FALSE #define GMOUSE_STMPE811_SLOW_CPU GFXOFF
// Slave address // Slave address
#define STMPE811_ADDR (0x82 >> 1) #define STMPE811_ADDR (0x82 >> 1)

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/FireBull-STM32F103-FB GFXINC += $(GFXLIB)/boards/base/FireBull-STM32F103-FB
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_CHIBIOS=GFXON
include $(GFXLIB)/boards/base/FireBull-STM32F103-FB/chibios_board/board.mk include $(GFXLIB)/boards/base/FireBull-STM32F103-FB/chibios_board/board.mk
include $(GFXLIB)/drivers/gdisp/SSD1289/driver.mk include $(GFXLIB)/drivers/gdisp/SSD1289/driver.mk

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/HY-MiniSTM32V GFXINC += $(GFXLIB)/boards/base/HY-MiniSTM32V
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_CHIBIOS=GFXON
include $(GFXLIB)/boards/base/HY-MiniSTM32V/chibios_board/board.mk include $(GFXLIB)/boards/base/HY-MiniSTM32V/chibios_board/board.mk
include $(GFXLIB)/drivers/gdisp/SSD1289/driver.mk include $(GFXLIB)/drivers/gdisp/SSD1289/driver.mk

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Linux-Framebuffer-Touch GFXINC += $(GFXLIB)/boards/base/Linux-Framebuffer-Touch
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_LINUX=TRUE GFXDEFS += -DGFX_USE_OS_LINUX=GFXON
GFXLIBS += rt GFXLIBS += rt
include $(GFXLIB)/boards/base/Linux-Framebuffer/board.mk include $(GFXLIB)/boards/base/Linux-Framebuffer/board.mk

View File

@ -21,12 +21,12 @@
// The linux device input used for touchscreen // The linux device input used for touchscreen
#define GMOUSE_LINUX_EVENT_DEVICE "/dev/input/event0" #define GMOUSE_LINUX_EVENT_DEVICE "/dev/input/event0"
// Set this to TRUE if you want self-calibration. // Set this to GFXON if you want self-calibration.
// NOTE: This is not as accurate as real calibration. // NOTE: This is not as accurate as real calibration.
// It requires the orientation of the touch panel to match the display. // It requires the orientation of the touch panel to match the display.
// It requires the active area of the touch panel to exactly match the display size. // It requires the active area of the touch panel to exactly match the display size.
#define GMOUSE_LINUX_EVENT_SELF_CALIBRATE FALSE #define GMOUSE_LINUX_EVENT_SELF_CALIBRATE GFXOFF
#define GMOUSE_LINUX_EVENT_FINGERMODE TRUE #define GMOUSE_LINUX_EVENT_FINGERMODE GFXON
#endif /* _GINPUT_LLD_MOUSE_BOARD_H */ #endif /* _GINPUT_LLD_MOUSE_BOARD_H */

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Linux-Framebuffer GFXINC += $(GFXLIB)/boards/base/Linux-Framebuffer
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_LINUX=TRUE GFXDEFS += -DGFX_USE_OS_LINUX=GFXON
GFXLIBS += rt GFXLIBS += rt
include $(GFXLIB)/drivers/gdisp/framebuffer/driver.mk include $(GFXLIB)/drivers/gdisp/framebuffer/driver.mk

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Linux GFXINC += $(GFXLIB)/boards/base/Linux
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_LINUX=TRUE GFXDEFS += -DGFX_USE_OS_LINUX=GFXON
GFXLIBS += rt GFXLIBS += rt
include $(GFXLIB)/drivers/multiple/SDL/driver.mk include $(GFXLIB)/drivers/multiple/SDL/driver.mk

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Linux GFXINC += $(GFXLIB)/boards/base/Linux
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_LINUX=TRUE GFXDEFS += -DGFX_USE_OS_LINUX=GFXON
GFXLIBS += rt GFXLIBS += rt
include $(GFXLIB)/drivers/multiple/X/driver.mk include $(GFXLIB)/drivers/multiple/X/driver.mk

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Marlin GFXINC += $(GFXLIB)/boards/base/Marlin
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_CHIBIOS=GFXON
include $(GFXLIB)/boards/base/Marlin/chibios_board/board.mk include $(GFXLIB)/boards/base/Marlin/chibios_board/board.mk
include $(GFXLIB)/drivers/gdisp/RA8875/driver.mk include $(GFXLIB)/drivers/gdisp/RA8875/driver.mk

View File

@ -19,11 +19,11 @@
// How much extra data to allocate at the end of the GMouse structure for the board's use // How much extra data to allocate at the end of the GMouse structure for the board's use
#define GMOUSE_FT5x06_BOARD_DATA_SIZE 0 #define GMOUSE_FT5x06_BOARD_DATA_SIZE 0
// Set this to TRUE if you want self-calibration. // Set this to GFXON if you want self-calibration.
// NOTE: This is not as accurate as real calibration. // NOTE: This is not as accurate as real calibration.
// It requires the orientation of the touch panel to match the display. // It requires the orientation of the touch panel to match the display.
// It requires the active area of the touch panel to exactly match the display size. // It requires the active area of the touch panel to exactly match the display size.
#define GMOUSE_FT5x06_SELF_CALIBRATE FALSE #define GMOUSE_FT5x06_SELF_CALIBRATE GFXOFF
/* I2C interface #2 - Touchscreen controller */ /* I2C interface #2 - Touchscreen controller */
static const I2CConfig i2ccfg2 = { static const I2CConfig i2ccfg2 = {

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Mikromedia-Plus-STM32-M4 GFXINC += $(GFXLIB)/boards/base/Mikromedia-Plus-STM32-M4
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_OS_CHIBIOS=GFXON
include $(GFXLIB)/drivers/gdisp/SSD1963/driver.mk include $(GFXLIB)/drivers/gdisp/SSD1963/driver.mk
include $(GFXLIB)/drivers/ginput/touch/STMPE610/driver.mk include $(GFXLIB)/drivers/ginput/touch/STMPE610/driver.mk
include $(GFXLIB)/drivers/gaudio/vs1053/driver.mk include $(GFXLIB)/drivers/gaudio/vs1053/driver.mk

View File

@ -20,16 +20,16 @@
#define GMOUSE_STMPE610_BOARD_DATA_SIZE 0 #define GMOUSE_STMPE610_BOARD_DATA_SIZE 0
// Options - Leave these commented to make it user configurable in the gfxconf.h // Options - Leave these commented to make it user configurable in the gfxconf.h
//#define GMOUSE_STMPE610_READ_PRESSURE FALSE //#define GMOUSE_STMPE610_READ_PRESSURE GFXOFF
//#define GMOUSE_STMPE610_SELF_CALIBRATE FALSE //#define GMOUSE_STMPE610_SELF_CALIBRATE GFXOFF
//#define GMOUSE_STMPE610_TEST_MODE FALSE //#define GMOUSE_STMPE610_TEST_MODE GFXOFF
// If TRUE this board has the STMPE610 IRQ pin connected to a GPIO. // If GFXON this board has the STMPE610 IRQ pin connected to a GPIO.
// Note: Although this board has such a pin its reliability has not been tested on this board!!!!! // Note: Although this board has such a pin its reliability has not been tested on this board!!!!!
#define GMOUSE_STMPE610_GPIO_IRQPIN FALSE #define GMOUSE_STMPE610_GPIO_IRQPIN GFXOFF
// If TRUE this is a really slow CPU and we should always clear the FIFO between reads. // If GFXON this is a really slow CPU and we should always clear the FIFO between reads.
#define GMOUSE_STMPE610_SLOW_CPU FALSE #define GMOUSE_STMPE610_SLOW_CPU GFXOFF
// Slave address // Slave address
#define STMPE610_ADDR (0x88 >> 1) #define STMPE610_ADDR (0x88 >> 1)

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Mikromedia-STM32-M4-ILI9341 GFXINC += $(GFXLIB)/boards/base/Mikromedia-STM32-M4-ILI9341
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_OS_CHIBIOS=GFXON
include $(GFXLIB)/drivers/gdisp/ILI9341/driver.mk include $(GFXLIB)/drivers/gdisp/ILI9341/driver.mk
include $(GFXLIB)/drivers/ginput/touch/MCU/driver.mk include $(GFXLIB)/drivers/ginput/touch/MCU/driver.mk
include $(GFXLIB)/drivers/gaudio/vs1053/driver.mk include $(GFXLIB)/drivers/gaudio/vs1053/driver.mk

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/OSX GFXINC += $(GFXLIB)/boards/base/OSX
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_OSX=TRUE GFXDEFS += -DGFX_USE_OS_OSX=GFXON
GFXLIBS += GFXLIBS +=
include $(GFXLIB)/drivers/multiple/SDL/driver.mk include $(GFXLIB)/drivers/multiple/SDL/driver.mk

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Olimex-SAM7EX256-GE12 $(GFXLIB)/boards/base/Olimex-SAM7EX256-GE8 GFXINC += $(GFXLIB)/boards/base/Olimex-SAM7EX256-GE12 $(GFXLIB)/boards/base/Olimex-SAM7EX256-GE8
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_OS_CHIBIOS=GFXON
include $(GFXLIB)/drivers/gdisp/Nokia6610GE12/driver.mk include $(GFXLIB)/drivers/gdisp/Nokia6610GE12/driver.mk
include $(GFXLIB)/drivers/gadc/AT91SAM7/driver.mk include $(GFXLIB)/drivers/gadc/AT91SAM7/driver.mk
include $(GFXLIB)/drivers/ginput/dial/GADC/driver.mk include $(GFXLIB)/drivers/ginput/dial/GADC/driver.mk

View File

@ -17,7 +17,7 @@
* Set various display properties. These properties mostly depend on the exact controller chip you get. * Set various display properties. These properties mostly depend on the exact controller chip you get.
* The defaults should work for most controllers. * The defaults should work for most controllers.
*/ */
//#define GDISP_GE8_BROKEN_CONTROLLER FALSE // Uncomment this out if you have a controller thats not window wrap broken. //#define GDISP_GE8_BROKEN_CONTROLLER GFXOFF // Uncomment this out if you have a controller thats not window wrap broken.
//#define GDISP_SCREEN_HEIGHT 130 // The visible display height //#define GDISP_SCREEN_HEIGHT 130 // The visible display height
//#define GDISP_SCREEN_WIDTH 130 // The visible display width //#define GDISP_SCREEN_WIDTH 130 // The visible display width
//#define GDISP_RAM_X_OFFSET 0 // The x offset of the visible area //#define GDISP_RAM_X_OFFSET 0 // The x offset of the visible area

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Olimex-SAM7EX256-GE8 GFXINC += $(GFXLIB)/boards/base/Olimex-SAM7EX256-GE8
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_OS_CHIBIOS=GFXON
include $(GFXLIB)/drivers/gdisp/Nokia6610GE8/driver.mk include $(GFXLIB)/drivers/gdisp/Nokia6610GE8/driver.mk
include $(GFXLIB)/drivers/gadc/AT91SAM7/driver.mk include $(GFXLIB)/drivers/gadc/AT91SAM7/driver.mk
include $(GFXLIB)/drivers/ginput/dial/GADC/driver.mk include $(GFXLIB)/drivers/ginput/dial/GADC/driver.mk

View File

@ -17,7 +17,7 @@
* Set various display properties. These properties mostly depend on the exact controller chip you get. * Set various display properties. These properties mostly depend on the exact controller chip you get.
* The defaults should work for most controllers. * The defaults should work for most controllers.
*/ */
//#define GDISP_GE8_BROKEN_CONTROLLER FALSE // Uncomment this out if you have a controller thats not window wrap broken. //#define GDISP_GE8_BROKEN_CONTROLLER GFXOFF // Uncomment this out if you have a controller thats not window wrap broken.
//#define GDISP_SCREEN_HEIGHT 130 // The visible display height //#define GDISP_SCREEN_HEIGHT 130 // The visible display height
//#define GDISP_SCREEN_WIDTH 130 // The visible display width //#define GDISP_SCREEN_WIDTH 130 // The visible display width
//#define GDISP_RAM_X_OFFSET 0 // The x offset of the visible area //#define GDISP_RAM_X_OFFSET 0 // The x offset of the visible area

View File

@ -22,7 +22,7 @@
/** /**
* @brief Whether each channel is mono or stereo * @brief Whether each channel is mono or stereo
*/ */
#define GAUDIO_RECORD_CHANNEL0_IS_STEREO FALSE #define GAUDIO_RECORD_CHANNEL0_IS_STEREO GFXOFF
/** /**
* The list of audio channels and their uses * The list of audio channels and their uses

View File

@ -22,7 +22,7 @@
#define GINPUT_DIAL_NUM_PORTS 1 #define GINPUT_DIAL_NUM_PORTS 1
#define GINPUT_DIAL_DEVICE0 GADC_PHYSDEV_DIAL #define GINPUT_DIAL_DEVICE0 GADC_PHYSDEV_DIAL
#define GINPUT_DIAL_POLL_PERIOD 200 #define GINPUT_DIAL_POLL_PERIOD 200
#define GINPUT_DIAL_CYCLE_POLL FALSE #define GINPUT_DIAL_CYCLE_POLL GFXOFF
#endif /* GFX_USE_GINPUT && GINPUT_NEED_DIAL */ #endif /* GFX_USE_GINPUT && GINPUT_NEED_DIAL */

View File

@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Olimex-STM32-LCD GFXINC += $(GFXLIB)/boards/base/Olimex-STM32-LCD
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_CHIBIOS=GFXON
include $(GFXLIB)/boards/base/Olimex-STM32-LCD/chibios_board/board.mk include $(GFXLIB)/boards/base/Olimex-STM32-LCD/chibios_board/board.mk
include $(GFXLIB)/drivers/gdisp/ILI9320/driver.mk include $(GFXLIB)/drivers/gdisp/ILI9320/driver.mk

View File

@ -2,6 +2,6 @@ GFXINC += $(GFXLIB)/boards/base/STM32F429i-Discovery/chibios
GFXSRC += $(GFXLIB)/boards/base/STM32F429i-Discovery/chibios/stm32f429i_discovery_sdram.c \ GFXSRC += $(GFXLIB)/boards/base/STM32F429i-Discovery/chibios/stm32f429i_discovery_sdram.c \
$(GFXLIB)/boards/base/STM32F429i-Discovery/chibios/stm32f4xx_fmc.c $(GFXLIB)/boards/base/STM32F429i-Discovery/chibios/stm32f4xx_fmc.c
GFXDEFS += -DGFX_USE_OS_CHIBIOS=TRUE GFXDEFS += -DGFX_USE_OS_CHIBIOS=GFXON
include $(GFXLIB)/drivers/gdisp/STM32LTDC/driver.mk include $(GFXLIB)/drivers/gdisp/STM32LTDC/driver.mk
include $(GFXLIB)/drivers/ginput/touch/STMPE811/driver.mk include $(GFXLIB)/drivers/ginput/touch/STMPE811/driver.mk

View File

@ -23,7 +23,7 @@ static const SPIConfig spi_cfg = {
((1 << 3) & SPI_CR1_BR) | SPI_CR1_SSM | SPI_CR1_SSI | SPI_CR1_MSTR ((1 << 3) & SPI_CR1_BR) | SPI_CR1_SSM | SPI_CR1_SSI | SPI_CR1_MSTR
}; };
#define ALLOW_2ND_LAYER TRUE #define ALLOW_2ND_LAYER GFXON
static const ltdcConfig driverCfg = { static const ltdcConfig driverCfg = {
240, 320, 240, 320,
@ -189,6 +189,7 @@ static void init_board(GDisplay *g) {
RCC->PLLSAICFGR = (STM32_PLLSAIN_VALUE << 6) | (STM32_PLLSAIR_VALUE << 28) | (STM32_PLLSAIQ_VALUE << 24); RCC->PLLSAICFGR = (STM32_PLLSAIN_VALUE << 6) | (STM32_PLLSAIR_VALUE << 28) | (STM32_PLLSAIQ_VALUE << 24);
RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | STM32_PLLSAIR_POST; RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | STM32_PLLSAIR_POST;
RCC->CR |= RCC_CR_PLLSAION; RCC->CR |= RCC_CR_PLLSAION;
while(!(RCC->CR & RCC_CR_PLLSAIRDY)); // wait for PLLSAI to lock
// Initialise the SDRAM // Initialise the SDRAM
SDRAM_Init(); SDRAM_Init();

View File

@ -20,15 +20,15 @@
#define GMOUSE_STMPE811_BOARD_DATA_SIZE 0 #define GMOUSE_STMPE811_BOARD_DATA_SIZE 0
// Options - Leave these commented to make it user configurable in the gfxconf.h // Options - Leave these commented to make it user configurable in the gfxconf.h
//#define GMOUSE_STMPE811_READ_PRESSURE FALSE //#define GMOUSE_STMPE811_READ_PRESSURE GFXOFF
//#define GMOUSE_STMPE811_SELF_CALIBRATE FALSE //#define GMOUSE_STMPE811_SELF_CALIBRATE GFXOFF
//#define GMOUSE_STMPE811_TEST_MODE FALSE //#define GMOUSE_STMPE811_TEST_MODE GFXOFF
// Set to FALSE because it does not work properly on this board even though the pin exists. // Set to GFXOFF because it does not work properly on this board even though the pin exists.
#define GMOUSE_STMPE811_GPIO_IRQPIN FALSE #define GMOUSE_STMPE811_GPIO_IRQPIN GFXOFF
// If TRUE this is a really slow CPU and we should always clear the FIFO between reads. // If GFXON this is a really slow CPU and we should always clear the FIFO between reads.
#define GMOUSE_STMPE811_SLOW_CPU FALSE #define GMOUSE_STMPE811_SLOW_CPU GFXOFF
// Slave address // Slave address
#define STMPE811_ADDR 0x41 #define STMPE811_ADDR 0x41

View File

@ -19,7 +19,7 @@ ifeq ($(OPT_OS),raw32)
$(GFXLIB)/boards/base/STM32F439i-Eval/CubeHAL/stm32f439i_raw32_ugfx.c \ $(GFXLIB)/boards/base/STM32F439i-Eval/CubeHAL/stm32f439i_raw32_ugfx.c \
$(GFXLIB)/boards/base/STM32F439i-Eval/CubeHAL/stm32f439i_raw32_system.c \ $(GFXLIB)/boards/base/STM32F439i-Eval/CubeHAL/stm32f439i_raw32_system.c \
$(GFXLIB)/boards/base/STM32F439i-Eval/CubeHAL/stm32f439i_raw32_interrupts.c $(GFXLIB)/boards/base/STM32F439i-Eval/CubeHAL/stm32f439i_raw32_interrupts.c
GFXDEFS += GFX_OS_PRE_INIT_FUNCTION=Raw32OSInit GFX_OS_INIT_NO_WARNING=TRUE GFXDEFS += GFX_OS_PRE_INIT_FUNCTION=Raw32OSInit GFX_OS_INIT_NO_WARNING=GFXON
GFXINC += $(CMSIS)/Device/ST/STM32F4xx/Include \ GFXINC += $(CMSIS)/Device/ST/STM32F4xx/Include \
$(CMSIS)/Include \ $(CMSIS)/Include \
$(STMHAL)/Inc $(STMHAL)/Inc

View File

@ -17,7 +17,7 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "stm324x9i_eval_sdram.h" #include "stm324x9i_eval_sdram.h"
#define ALLOW_2ND_LAYER TRUE #define ALLOW_2ND_LAYER GFXON
// Panel parameters // Panel parameters
// This panel is a AMPIRE640480 panel. // This panel is a AMPIRE640480 panel.
@ -89,6 +89,7 @@ static void configureLcdClock(void)
RCC->PLLSAICFGR = (LCD_PLLSAIN_VALUE << 6) | (LCD_PLLSAIR_VALUE << 28) | (LCD_PLLSAIQ_VALUE << 24); RCC->PLLSAICFGR = (LCD_PLLSAIN_VALUE << 6) | (LCD_PLLSAIR_VALUE << 28) | (LCD_PLLSAIQ_VALUE << 24);
RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | LCD_PLLSAIDIVR_VALUE; RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | LCD_PLLSAIDIVR_VALUE;
RCC->CR |= RCC_CR_PLLSAION; RCC->CR |= RCC_CR_PLLSAION;
while(!(RCC->CR & RCC_CR_PLLSAIRDY)); // wait for PLLSAI to lock
#endif #endif
} }

View File

@ -104,8 +104,9 @@ static GFXINLINE void init_board(GDisplay *g) {
RCC->PLLSAICFGR = (STM32_PLLSAIN_VALUE << 6) | (STM32_PLLSAIR_VALUE << 28) | (STM32_PLLSAIQ_VALUE << 24); RCC->PLLSAICFGR = (STM32_PLLSAIN_VALUE << 6) | (STM32_PLLSAIR_VALUE << 28) | (STM32_PLLSAIQ_VALUE << 24);
RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | STM32_PLLSAIR_POST; RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | STM32_PLLSAIR_POST;
RCC->CR |= RCC_CR_PLLSAION; RCC->CR |= RCC_CR_PLLSAION;
while(!(RCC->CR & RCC_CR_PLLSAIRDY)); // wait for PLLSAI to lock
#endif #endif
__HAL_RCC_DSI_CLK_ENABLE(); __HAL_RCC_DSI_CLK_ENABLE();
DSI_PLLInitTypeDef dsiPllInit; DSI_PLLInitTypeDef dsiPllInit;
@ -119,7 +120,7 @@ static GFXINLINE void init_board(GDisplay *g) {
/* TXEscapeCkdiv = f(LaneByteClk)/15.62 = 4 -> 500MHz/4 = 25MHz datasheet says around 20MHz */ /* TXEscapeCkdiv = f(LaneByteClk)/15.62 = 4 -> 500MHz/4 = 25MHz datasheet says around 20MHz */
dsiHandle.Init.TXEscapeCkdiv = laneByteClk_kHz/15620; // Low power clock relative to the laneByteClock dsiHandle.Init.TXEscapeCkdiv = laneByteClk_kHz/15620; // Low power clock relative to the laneByteClock
dsiHandle.Init.NumberOfLanes = DSI_TWO_DATA_LANES; // Two data lines for the fastest transfer speed dsiHandle.Init.NumberOfLanes = DSI_TWO_DATA_LANES; // Two data lines for the fastest transfer speed
/* Fill in the command mode struct. */ /* Fill in the command mode struct. */
dsiCmdMode.VirtualChannelID = 0; // The first virtual channel dsiCmdMode.VirtualChannelID = 0; // The first virtual channel
@ -139,7 +140,7 @@ static GFXINLINE void init_board(GDisplay *g) {
dsiCmdMode.VSyncPol = DSI_VSYNC_FALLING; dsiCmdMode.VSyncPol = DSI_VSYNC_FALLING;
dsiCmdMode.AutomaticRefresh = DSI_AR_ENABLE; // Use the automatic refresh mode dsiCmdMode.AutomaticRefresh = DSI_AR_ENABLE; // Use the automatic refresh mode
dsiCmdMode.TEAcknowledgeRequest = DSI_TE_ACKNOWLEDGE_DISABLE; // Not needed when using TE through GPIO dsiCmdMode.TEAcknowledgeRequest = DSI_TE_ACKNOWLEDGE_DISABLE; // Not needed when using TE through GPIO
/* GPIO configuration. */ /* GPIO configuration. */
GPIO_InitTypeDef gpioInit; GPIO_InitTypeDef gpioInit;
/* PH7 LCD_RESET */ /* PH7 LCD_RESET */
@ -149,14 +150,14 @@ static GFXINLINE void init_board(GDisplay *g) {
gpioInit.Pull = GPIO_NOPULL; gpioInit.Pull = GPIO_NOPULL;
gpioInit.Speed = GPIO_SPEED_HIGH; gpioInit.Speed = GPIO_SPEED_HIGH;
HAL_GPIO_Init(GPIOH, &gpioInit); HAL_GPIO_Init(GPIOH, &gpioInit);
/* PJ2 DSIHOST_TE */ /* PJ2 DSIHOST_TE */
__HAL_RCC_GPIOJ_CLK_ENABLE(); __HAL_RCC_GPIOJ_CLK_ENABLE();
gpioInit.Pin = GPIO_PIN_2; gpioInit.Pin = GPIO_PIN_2;
gpioInit.Mode = GPIO_MODE_AF_PP; gpioInit.Mode = GPIO_MODE_AF_PP;
gpioInit.Alternate = GPIO_AF13_DSI; gpioInit.Alternate = GPIO_AF13_DSI;
HAL_GPIO_Init(GPIOJ, &gpioInit); HAL_GPIO_Init(GPIOJ, &gpioInit);
/* PA3 LCD_BL_CTRL This pin is not physically connected. */ /* PA3 LCD_BL_CTRL This pin is not physically connected. */
__HAL_RCC_GPIOA_CLK_ENABLE(); __HAL_RCC_GPIOA_CLK_ENABLE();
gpioInit.Pin = GPIO_PIN_3; gpioInit.Pin = GPIO_PIN_3;
@ -177,7 +178,7 @@ static GFXINLINE void init_board(GDisplay *g) {
/* Initialize the DSI peripheral. */ /* Initialize the DSI peripheral. */
HAL_DSI_Init(&dsiHandle, &dsiPllInit); HAL_DSI_Init(&dsiHandle, &dsiPllInit);
DSI_PHY_TimerTypeDef PhyTimings; DSI_PHY_TimerTypeDef PhyTimings;
/* Configure DSI PHY HS2LP and LP2HS timings. Datasheet says 95ns max */ /* Configure DSI PHY HS2LP and LP2HS timings. Datasheet says 95ns max */
PhyTimings.ClockLaneHS2LPTime = 35; PhyTimings.ClockLaneHS2LPTime = 35;
@ -189,8 +190,8 @@ static GFXINLINE void init_board(GDisplay *g) {
HAL_DSI_ConfigPhyTimer(&dsiHandle, &PhyTimings); HAL_DSI_ConfigPhyTimer(&dsiHandle, &PhyTimings);
/* Configure adapted command mode. */ /* Configure adapted command mode. */
HAL_DSI_ConfigAdaptedCommandMode(&dsiHandle, &dsiCmdMode); HAL_DSI_ConfigAdaptedCommandMode(&dsiHandle, &dsiCmdMode);
/* Hardware reset LCD */ /* Hardware reset LCD */
reset_lcd(g); reset_lcd(g);
@ -230,7 +231,7 @@ static GFXINLINE void post_init_board(GDisplay* g)
{ {
(void)g; (void)g;
DSI_LPCmdTypeDef dsiAPBCmd; DSI_LPCmdTypeDef dsiAPBCmd;
/* Enable the DSI host and wrapper after the LTDC initialization /* Enable the DSI host and wrapper after the LTDC initialization
To avoid any synchronization issue, the DSI shall be started after enabling the LTDC */ To avoid any synchronization issue, the DSI shall be started after enabling the LTDC */
HAL_DSI_Start(&dsiHandle); HAL_DSI_Start(&dsiHandle);
@ -249,7 +250,7 @@ static GFXINLINE void post_init_board(GDisplay* g)
dsiAPBCmd.LPDcsShortReadNoP = DSI_LP_DSR0P_ENABLE; dsiAPBCmd.LPDcsShortReadNoP = DSI_LP_DSR0P_ENABLE;
dsiAPBCmd.LPDcsLongWrite = DSI_LP_DLW_ENABLE; dsiAPBCmd.LPDcsLongWrite = DSI_LP_DLW_ENABLE;
HAL_DSI_ConfigCommand(&dsiHandle, &dsiAPBCmd); HAL_DSI_ConfigCommand(&dsiHandle, &dsiAPBCmd);
/* Configure the LCD. */ /* Configure the LCD. */
#ifdef GDISP_PIXELFORMAT_RGB565 #ifdef GDISP_PIXELFORMAT_RGB565
OTM8009A_Init(OTM8009A_FORMAT_RBG565, 1); OTM8009A_Init(OTM8009A_FORMAT_RBG565, 1);
@ -259,7 +260,7 @@ static GFXINLINE void post_init_board(GDisplay* g)
/* Enable the tearing effect line. */ /* Enable the tearing effect line. */
HAL_DSI_ShortWrite(&dsiHandle, 0, DSI_DCS_SHORT_PKT_WRITE_P1, DSI_SET_TEAR_ON, 0); // Only V-Blanking info HAL_DSI_ShortWrite(&dsiHandle, 0, DSI_DCS_SHORT_PKT_WRITE_P1, DSI_SET_TEAR_ON, 0); // Only V-Blanking info
/* Disable the APB command mode again to go into adapted command mode. (going into high speed mode) */ /* Disable the APB command mode again to go into adapted command mode. (going into high speed mode) */
dsiAPBCmd.LPGenShortWriteNoP = DSI_LP_GSW0P_DISABLE; dsiAPBCmd.LPGenShortWriteNoP = DSI_LP_GSW0P_DISABLE;
dsiAPBCmd.LPGenShortWriteOneP = DSI_LP_GSW1P_DISABLE; dsiAPBCmd.LPGenShortWriteOneP = DSI_LP_GSW1P_DISABLE;
@ -273,7 +274,7 @@ static GFXINLINE void post_init_board(GDisplay* g)
dsiAPBCmd.LPDcsShortReadNoP = DSI_LP_DSR0P_DISABLE; dsiAPBCmd.LPDcsShortReadNoP = DSI_LP_DSR0P_DISABLE;
dsiAPBCmd.LPDcsLongWrite = DSI_LP_DLW_DISABLE; dsiAPBCmd.LPDcsLongWrite = DSI_LP_DLW_DISABLE;
HAL_DSI_ConfigCommand(&dsiHandle, &dsiAPBCmd); HAL_DSI_ConfigCommand(&dsiHandle, &dsiAPBCmd);
HAL_DSI_Refresh(&dsiHandle); HAL_DSI_Refresh(&dsiHandle);
} }

View File

@ -23,7 +23,7 @@ ifeq ($(OPT_OS),raw32)
$(GFXLIB)/boards/base/STM32F469i-Discovery/stm32f469i_raw32_ugfx.c \ $(GFXLIB)/boards/base/STM32F469i-Discovery/stm32f469i_raw32_ugfx.c \
$(GFXLIB)/boards/base/STM32F469i-Discovery/stm32f469i_raw32_system.c \ $(GFXLIB)/boards/base/STM32F469i-Discovery/stm32f469i_raw32_system.c \
$(GFXLIB)/boards/base/STM32F469i-Discovery/stm32f469i_raw32_it.c $(GFXLIB)/boards/base/STM32F469i-Discovery/stm32f469i_raw32_it.c
GFXDEFS += GFX_OS_PRE_INIT_FUNCTION=Raw32OSInit GFX_OS_INIT_NO_WARNING=TRUE GFXDEFS += GFX_OS_PRE_INIT_FUNCTION=Raw32OSInit GFX_OS_INIT_NO_WARNING=GFXON
GFXINC += $(CMSIS)/Device/ST/STM32F4xx/Include \ GFXINC += $(CMSIS)/Device/ST/STM32F4xx/Include \
$(CMSIS)/Include $(CMSIS)/Include
LDSCRIPT = $(GFXLIB)/boards/base/STM32F469i-Discovery/STM32_FLASH.ld LDSCRIPT = $(GFXLIB)/boards/base/STM32F469i-Discovery/STM32_FLASH.ld

View File

@ -17,7 +17,7 @@ ifeq ($(OPT_OS),raw32)
$(GFXLIB)/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c \ $(GFXLIB)/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c \
$(GFXLIB)/boards/base/STM32F746-Discovery/stm32f746g_raw32_system.c \ $(GFXLIB)/boards/base/STM32F746-Discovery/stm32f746g_raw32_system.c \
$(GFXLIB)/boards/base/STM32F746-Discovery/stm32f746g_raw32_interrupts.c $(GFXLIB)/boards/base/STM32F746-Discovery/stm32f746g_raw32_interrupts.c
GFXDEFS += GFX_OS_PRE_INIT_FUNCTION=Raw32OSInit GFX_OS_INIT_NO_WARNING=TRUE GFXDEFS += GFX_OS_PRE_INIT_FUNCTION=Raw32OSInit GFX_OS_INIT_NO_WARNING=GFXON
GFXINC += $(CMSIS)/Device/ST/STM32F7xx/Include \ GFXINC += $(CMSIS)/Device/ST/STM32F7xx/Include \
$(CMSIS)/Include $(CMSIS)/Include
LDSCRIPT = $(GFXLIB)/boards/base/STM32F746-Discovery/stm32f746nghx_flash.ld LDSCRIPT = $(GFXLIB)/boards/base/STM32F746-Discovery/stm32f746nghx_flash.ld

View File

@ -11,7 +11,7 @@
#include "stm32f746g_discovery_sdram.h" #include "stm32f746g_discovery_sdram.h"
#ifndef GFX_LTDC_USE_DIRECTIO #ifndef GFX_LTDC_USE_DIRECTIO
#define GFX_LTDC_USE_DIRECTIO TRUE #define GFX_LTDC_USE_DIRECTIO GFXON
#endif #endif
#ifndef GFX_LTDC_TIMING_SET #ifndef GFX_LTDC_TIMING_SET
/* Options are: /* Options are:
@ -36,7 +36,7 @@
#define AFRH AFR[1] #define AFRH AFR[1]
#endif #endif
#define ALLOW_2ND_LAYER TRUE #define ALLOW_2ND_LAYER GFXON
static const ltdcConfig driverCfg = { static const ltdcConfig driverCfg = {
480, 272, // Width, Height (pixels) 480, 272, // Width, Height (pixels)
@ -450,6 +450,7 @@ static GFXINLINE void init_board(GDisplay *g) {
RCC->PLLSAICFGR = ((STM32_PLLSAIP_VALUE/2-1)<<16) | (STM32_PLLSAIN_VALUE << 6) | (STM32_PLLSAIR_VALUE << 28) | (STM32_PLLSAIQ_VALUE << 24); RCC->PLLSAICFGR = ((STM32_PLLSAIP_VALUE/2-1)<<16) | (STM32_PLLSAIN_VALUE << 6) | (STM32_PLLSAIR_VALUE << 28) | (STM32_PLLSAIQ_VALUE << 24);
RCC->DCKCFGR1 = (RCC->DCKCFGR1 & ~RCC_DCKCFGR1_PLLSAIDIVR) | STM32_PLLSAIR_POST; RCC->DCKCFGR1 = (RCC->DCKCFGR1 & ~RCC_DCKCFGR1_PLLSAIDIVR) | STM32_PLLSAIR_POST;
RCC->CR |= RCC_CR_PLLSAION; RCC->CR |= RCC_CR_PLLSAION;
while(!(RCC->CR & RCC_CR_PLLSAIRDY)); // wait for PLLSAI to lock
#endif #endif
// Initialise the SDRAM // Initialise the SDRAM

View File

@ -5,5 +5,5 @@ include $(GFXLIB)/drivers/multiple/Win32/driver.mk
include $(GFXLIB)/drivers/gaudio/Win32/driver.mk include $(GFXLIB)/drivers/gaudio/Win32/driver.mk
ifeq ($(OPT_OS),win32.raw32) ifeq ($(OPT_OS),win32.raw32)
GFXDEFS += GFX_OS_INIT_NO_WARNING=TRUE GFXDEFS += GFX_OS_INIT_NO_WARNING=GFXON
endif endif

View File

@ -1,5 +1,5 @@
GFXINC += $(GFXLIB)/boards/base/eCos-Synthetic-Framebuffer GFXINC += $(GFXLIB)/boards/base/eCos-Synthetic-Framebuffer
GFXSRC += GFXSRC +=
GFXDEFS += -DGFX_USE_OS_ECOS=TRUE GFXDEFS += -DGFX_USE_OS_ECOS=GFXON
include $(GFXLIB)/drivers/gdisp/framebuffer/driver.mk include $(GFXLIB)/drivers/gdisp/framebuffer/driver.mk

View File

@ -20,7 +20,7 @@
#endif #endif
// Uncomment this if your frame buffer device requires flushing ("Synch" in eCos speak) // Uncomment this if your frame buffer device requires flushing ("Synch" in eCos speak)
#define GDISP_HARDWARE_FLUSH TRUE #define GDISP_HARDWARE_FLUSH GFXON
#ifdef GDISP_DRIVER_VMT #ifdef GDISP_DRIVER_VMT

View File

@ -2,6 +2,21 @@
*** Releases *** *** Releases ***
***************************************************************************** *****************************************************************************
*** After Release 2.8 ***
FEATURE: Added config vars GINPUT_TOUCH_CALIBRATION_FONT1 and GINPUT_TOUCH_CALIBRATION_FONT2
FEATURE: Added config vars GINPUT_TOUCH_CALIBRATION_TITLE and GINPUT_TOUCH_CALIBRATION_ERROR
FIX: Fixed ensuring the clock is fully started in STM32LTDC based boards
FIX: Fixed compiler error in ST7735 driver
FIX: Added support for negative baseline_x in fonts
FIX: Fixed some word wrapping issues
FIX: Fixed drawing of 3x3 pixel boxes
FIX: Fixed issue in RTX5/CMSIS2 port which resulted in hanging delays/threads
FEATURE: Added GFX_COMPAT_V2 to maintain source compatibility with V2.x programs. It is turned on by default.
FEATURE: Added GFX_COMPAT_OLDCOLORS to allow V2.x Red, Green, Blue color names. It is turned on by default.
CHANGE: Added GFXRED, GFXBLUE, GFXGREEN etc to replace V2.x Red, Gree, Blue color names
CHANGE: Added GFXON/GFXOFF to replace V2.x TRUE/FALSE for configuration options.
*** Release 2.8 *** *** Release 2.8 ***
FEATURE: Added support for 128x32 SSD1306 based displays FEATURE: Added support for 128x32 SSD1306 based displays
FIX: Fixed recursion bug in console history FIX: Fixed recursion bug in console history

View File

@ -10,33 +10,33 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION FALSE #define GDISP_NEED_VALIDATION GFXOFF
#define GDISP_NEED_CLIP FALSE #define GDISP_NEED_CLIP GFXOFF
#define GDISP_NEED_TEXT FALSE #define GDISP_NEED_TEXT GFXOFF
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_ELLIPSE FALSE #define GDISP_NEED_ELLIPSE GFXOFF
#define GDISP_NEED_ARC FALSE #define GDISP_NEED_ARC GFXOFF
#define GDISP_NEED_SCROLL FALSE #define GDISP_NEED_SCROLL GFXOFF
#define GDISP_NEED_PIXELREAD FALSE #define GDISP_NEED_PIXELREAD GFXOFF
#define GDISP_NEED_CONTROL FALSE #define GDISP_NEED_CONTROL GFXOFF
#define GDISP_NEED_MULTITHREAD FALSE #define GDISP_NEED_MULTITHREAD GFXOFF
#define GDISP_NEED_ASYNC FALSE #define GDISP_NEED_ASYNC GFXOFF
#define GDISP_NEED_MSGAPI FALSE #define GDISP_NEED_MSGAPI GFXOFF
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_FONT_SMALL FALSE #define GDISP_INCLUDE_FONT_SMALL GFXOFF
#define GDISP_INCLUDE_FONT_LARGER FALSE #define GDISP_INCLUDE_FONT_LARGER GFXOFF
#define GDISP_INCLUDE_FONT_UI1 FALSE #define GDISP_INCLUDE_FONT_UI1 GFXOFF
#define GDISP_INCLUDE_FONT_UI2 FALSE #define GDISP_INCLUDE_FONT_UI2 GFXOFF
#define GDISP_INCLUDE_FONT_LARGENUMBERS FALSE #define GDISP_INCLUDE_FONT_LARGENUMBERS GFXOFF
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -10,55 +10,55 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_ELLIPSE FALSE #define GDISP_NEED_ELLIPSE GFXOFF
#define GDISP_NEED_ARC FALSE #define GDISP_NEED_ARC GFXOFF
#define GDISP_NEED_CONVEX_POLYGON FALSE #define GDISP_NEED_CONVEX_POLYGON GFXOFF
#define GDISP_NEED_SCROLL FALSE #define GDISP_NEED_SCROLL GFXOFF
#define GDISP_NEED_PIXELREAD FALSE #define GDISP_NEED_PIXELREAD GFXOFF
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
#define GDISP_NEED_ASYNC FALSE #define GDISP_NEED_ASYNC GFXOFF
#define GDISP_NEED_MSGAPI FALSE #define GDISP_NEED_MSGAPI GFXOFF
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_FONT_SMALL FALSE #define GDISP_INCLUDE_FONT_SMALL GFXOFF
#define GDISP_INCLUDE_FONT_LARGER FALSE #define GDISP_INCLUDE_FONT_LARGER GFXOFF
#define GDISP_INCLUDE_FONT_UI1 FALSE #define GDISP_INCLUDE_FONT_UI1 GFXOFF
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_INCLUDE_FONT_LARGENUMBERS FALSE #define GDISP_INCLUDE_FONT_LARGENUMBERS GFXOFF
/* GDISP image decoders */ /* GDISP image decoders */
#define GDISP_NEED_IMAGE_NATIVE FALSE #define GDISP_NEED_IMAGE_NATIVE GFXOFF
#define GDISP_NEED_IMAGE_GIF TRUE #define GDISP_NEED_IMAGE_GIF GFXON
#define GDISP_NEED_IMAGE_BMP FALSE #define GDISP_NEED_IMAGE_BMP GFXOFF
#define GDISP_NEED_IMAGE_JPG FALSE #define GDISP_NEED_IMAGE_JPG GFXOFF
#define GDISP_NEED_IMAGE_PNG FALSE #define GDISP_NEED_IMAGE_PNG GFXOFF
/* Features for the GWIN sub-system. */ /* Features for the GWIN sub-system. */
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_NEED_SLIDER TRUE #define GWIN_NEED_SLIDER GFXON
/* Features for the GINPUT sub-system. */ /* Features for the GINPUT sub-system. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#define GINPUT_NEED_DIAL FALSE #define GINPUT_NEED_DIAL GFXOFF
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -48,11 +48,11 @@ static gfxThreadHandle thread;
* your processor. * your processor.
* *
* You can modify the implementation of invsqrt() by firstly defining * You can modify the implementation of invsqrt() by firstly defining
* #define GMISC_INVSQRT_MIXED_ENDIAN TRUE * #define GMISC_INVSQRT_MIXED_ENDIAN GFXON
* in your gfxconf.h file. * in your gfxconf.h file.
* *
* If it still doesn't work then instead define * If it still doesn't work then instead define
* #define GMISC_INVSQRT_REAL_SLOW TRUE * #define GMISC_INVSQRT_REAL_SLOW GFXON
* in your gfxconf.h file. This should always work although it will probably be slow. * in your gfxconf.h file. This should always work although it will probably be slow.
*/ */
#define BALLCOLOR1 Red #define BALLCOLOR1 Red

View File

@ -19,109 +19,109 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_CONVEX_POLYGON TRUE #define GDISP_NEED_CONVEX_POLYGON GFXON
//#define GDISP_NEED_SCROLL TRUE //#define GDISP_NEED_SCROLL GFXON
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_STREAMING TRUE #define GDISP_NEED_STREAMING GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_IMAGE_BMP TRUE #define GDISP_NEED_IMAGE_BMP GFXON
#define GDISP_NEED_IMAGE_GIF TRUE #define GDISP_NEED_IMAGE_GIF GFXON
#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_FLASHING TRUE #define GWIN_NEED_FLASHING GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_CONSOLE_USE_HISTORY TRUE #define GWIN_CONSOLE_USE_HISTORY GFXON
#define GWIN_CONSOLE_HISTORY_AVERAGING TRUE #define GWIN_CONSOLE_HISTORY_AVERAGING GFXON
#define GWIN_CONSOLE_HISTORY_ATCREATE TRUE #define GWIN_CONSOLE_HISTORY_ATCREATE GFXON
#define GWIN_NEED_GRAPH TRUE #define GWIN_NEED_GRAPH GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_LABEL TRUE #define GWIN_NEED_LABEL GFXON
#define GWIN_LABEL_ATTRIBUTE TRUE #define GWIN_LABEL_ATTRIBUTE GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
// #define GWIN_BUTTON_LAZY_RELEASE TRUE // #define GWIN_BUTTON_LAZY_RELEASE GFXON
#define GWIN_NEED_SLIDER TRUE #define GWIN_NEED_SLIDER GFXON
#define GWIN_NEED_CHECKBOX TRUE #define GWIN_NEED_CHECKBOX GFXON
#define GWIN_NEED_IMAGE TRUE #define GWIN_NEED_IMAGE GFXON
#define GWIN_NEED_RADIO TRUE #define GWIN_NEED_RADIO GFXON
#define GWIN_NEED_LIST TRUE #define GWIN_NEED_LIST GFXON
#define GWIN_NEED_LIST_IMAGES TRUE #define GWIN_NEED_LIST_IMAGES GFXON
#define GWIN_NEED_PROGRESSBAR TRUE #define GWIN_NEED_PROGRESSBAR GFXON
#define GWIN_PROGRESSBAR_AUTO TRUE #define GWIN_PROGRESSBAR_AUTO GFXON
#define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINERS GFXON
#define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_CONTAINER GFXON
#define GWIN_NEED_TABSET TRUE #define GWIN_NEED_TABSET GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
//#define GINPUT_NEED_TOGGLE TRUE //#define GINPUT_NEED_TOGGLE GFXON
//#define GINPUT_NEED_DIAL TRUE //#define GINPUT_NEED_DIAL GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GFILE // // GFILE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_PRINTG TRUE #define GFILE_NEED_PRINTG GFXON
#define GFILE_NEED_STRINGS TRUE #define GFILE_NEED_STRINGS GFXON
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
//#define GFILE_NEED_NATIVEFS TRUE //#define GFILE_NEED_NATIVEFS GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GMISC // // GMISC //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GMISC TRUE #define GFX_USE_GMISC GFXON
#define GMISC_NEED_INVSQRT TRUE #define GMISC_NEED_INVSQRT GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,15 +31,15 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,30 +31,30 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_FONT_DEJAVUSANS12_AA TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS12_AA GFXON
#define GDISP_INCLUDE_FONT_DEJAVUSANS24_AA TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS24_AA GFXON
#define GDISP_NEED_ANTIALIAS TRUE #define GDISP_NEED_ANTIALIAS GFXON
/* Features for the GINPUT sub-system. */ /* Features for the GINPUT sub-system. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,22 +31,22 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION FALSE #define GDISP_NEED_VALIDATION GFXOFF
#define GDISP_NEED_CLIP FALSE #define GDISP_NEED_CLIP GFXOFF
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -6,4 +6,4 @@ GFXINC += $(DEMODIR) \
GFXSRC += $(DEMODIR)/main.c \ GFXSRC += $(DEMODIR)/main.c \
$(DEMODIR)/jg10.c $(DEMODIR)/jg10.c
DEFS += -DJG10_SHOW_SPLASH=TRUE DEFS += -DJG10_SHOW_SPLASH=GFXON

View File

@ -31,65 +31,65 @@
#define _GFXCONF_H #define _GFXCONF_H
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
#define GFILE_MAX_GFILES 24 #define GFILE_MAX_GFILES 24
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_IMAGE_BMP TRUE #define GDISP_NEED_IMAGE_BMP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_ELLIPSE TRUE #define GDISP_NEED_ELLIPSE GFXON
#define GDISP_NEED_ARC TRUE #define GDISP_NEED_ARC GFXON
#define GDISP_NEED_STARTUP_LOGO FALSE #define GDISP_NEED_STARTUP_LOGO GFXOFF
////////////////// //////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GWIN_REDRAW_IMMEDIATE TRUE #define GWIN_REDRAW_IMMEDIATE GFXON
#define GWIN_REDRAW_SINGLEOP TRUE #define GWIN_REDRAW_SINGLEOP GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
#define GWIN_BUTTON_LAZY_RELEASE FALSE #define GWIN_BUTTON_LAZY_RELEASE GFXOFF
#define GWIN_NEED_SLIDER TRUE #define GWIN_NEED_SLIDER GFXON
#define GWIN_FLAT_STYLING FALSE #define GWIN_FLAT_STYLING GFXOFF
#define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINERS GFXON
#define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_CONTAINER GFXON
#define GWIN_NEED_FRAME FALSE #define GWIN_NEED_FRAME GFXOFF
#define GWIN_NEED_TABSET FALSE #define GWIN_NEED_TABSET GFXOFF
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_CONSOLE_USE_HISTORY TRUE #define GWIN_CONSOLE_USE_HISTORY GFXON
#define GWIN_CONSOLE_HISTORY_AVERAGING TRUE #define GWIN_CONSOLE_HISTORY_AVERAGING GFXON
#define GWIN_CONSOLE_HISTORY_ATCREATE TRUE #define GWIN_CONSOLE_HISTORY_ATCREATE GFXON
#define GWIN_CONSOLE_ESCSEQ TRUE #define GWIN_CONSOLE_ESCSEQ GFXON
#define GWIN_CONSOLE_USE_BASESTREAM TRUE #define GWIN_CONSOLE_USE_BASESTREAM GFXON
#define GWIN_NEED_GRAPH TRUE #define GWIN_NEED_GRAPH GFXON
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_FONT_DEJAVUSANS16 TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS16 GFXON
/* Features for the GINPUT sub-system. */ /* Features for the GINPUT sub-system. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -6,4 +6,4 @@ GFXINC += $(DEMODIR) \
GFXSRC += $(DEMODIR)/main.c \ GFXSRC += $(DEMODIR)/main.c \
$(DEMODIR)/mines.c $(DEMODIR)/mines.c
DEFS += -DMINES_SHOW_SPLASH=TRUE DEFS += -DMINES_SHOW_SPLASH=GFXON

View File

@ -31,35 +31,34 @@
#define _GFXCONF_H #define _GFXCONF_H
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_IMAGE_BMP TRUE #define GDISP_NEED_IMAGE_BMP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_ELLIPSE TRUE #define GDISP_NEED_ELLIPSE GFXON
#define GDISP_NEED_ARC TRUE #define GDISP_NEED_ARC GFXON
#define GDISP_NEED_STARTUP_LOGO FALSE
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_USER_FONTS TRUE #define GDISP_INCLUDE_USER_FONTS GFXON
#define GDISP_INCLUDE_FONT_DEJAVUSANS16 TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS16 GFXON
#define GDISP_INCLUDE_FONT_FIXED_10X20 TRUE #define GDISP_INCLUDE_FONT_FIXED_10X20 GFXON
#define GDISP_INCLUDE_FONT_FIXED_5X8 TRUE #define GDISP_INCLUDE_FONT_FIXED_5X8 GFXON
/* Features for the GINPUT sub-system. */ /* Features for the GINPUT sub-system. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -1,6 +1,6 @@
A demo Minesweeper game using. Various configuration options can be found in mines.h A demo Minesweeper game using. Various configuration options can be found in mines.h
NOTE: You can save FLASH space by disabling the splash-screen, to do that set MINES_SHOW_SPLASH to FALSE. NOTE: You can save FLASH space by disabling the splash-screen, to do that set MINES_SHOW_SPLASH to GFXOFF.
Credits: Credits:
Code: Fleck Code: Fleck

View File

@ -176,7 +176,7 @@ CPPWARN = -Wall -Wextra
# #
# List all default C defines here, like -D_DEBUG=1 # List all default C defines here, like -D_DEBUG=1
DDEFS = -DGFX_USE_OS_CHIBIOS=TRUE DDEFS = -DGFX_USE_OS_CHIBIOS=GFXON
# List all default ASM defines here, like -D_DEBUG=1 # List all default ASM defines here, like -D_DEBUG=1
DADEFS = DADEFS =

View File

@ -31,38 +31,38 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_USE_DMA TRUE #define GDISP_USE_DMA GFXON
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/* Comment these out if it conflicts with your hardware */ /* Comment these out if it conflicts with your hardware */
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_PORTRAIT #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_PORTRAIT
#define GDISP_SCREEN_WIDTH 240 #define GDISP_SCREEN_WIDTH 240
#define GDISP_SCREEN_HEIGHT 320 #define GDISP_SCREEN_HEIGHT 320
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_FONT_DEJAVUSANS12 TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS12 GFXON
#define GDISP_INCLUDE_FONT_DEJAVUSANS16 TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS16 GFXON
#define GDISP_NEED_ANTIALIAS FALSE #define GDISP_NEED_ANTIALIAS GFXOFF
/* Features for the GINPUT sub-system. */ /* Features for the GINPUT sub-system. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -36,27 +36,27 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GADC TRUE #define GFX_USE_GADC GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/* GDISP - builtin fonts */ /* GDISP - builtin fonts */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* Features for the GWIN sub-system. */ /* Features for the GWIN sub-system. */
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -36,23 +36,23 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GAUDIO TRUE #define GFX_USE_GAUDIO GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/* Features for the GAUDIO sub-system */ /* Features for the GAUDIO sub-system */
#define GAUDIO_NEED_RECORD TRUE #define GAUDIO_NEED_RECORD GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -36,27 +36,27 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GAUDIO TRUE #define GFX_USE_GAUDIO GFXON
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* Features for the GAUDIO sub-system */ /* Features for the GAUDIO sub-system */
#define GAUDIO_NEED_PLAY TRUE #define GAUDIO_NEED_PLAY GFXON
/* Features for the GFILE sub-system */ /* Features for the GFILE sub-system */
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -36,27 +36,27 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GAUDIO TRUE #define GFX_USE_GAUDIO GFXON
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* Features for the GAUDIO sub-system */ /* Features for the GAUDIO sub-system */
#define GAUDIO_NEED_PLAY TRUE #define GAUDIO_NEED_PLAY GFXON
/* Features for the GFILE sub-system */ /* Features for the GFILE sub-system */
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,17 +31,17 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP subsystem. */ /* Features for the GDISP subsystem. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_ARCSECTORS TRUE #define GDISP_NEED_ARCSECTORS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,17 +31,17 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,25 +31,25 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GMISC TRUE #define GFX_USE_GMISC GFXON
/* Features for the GDISP subsystem. */ /* Features for the GDISP subsystem. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_ELLIPSE TRUE #define GDISP_NEED_ELLIPSE GFXON
#define GDISP_NEED_ARC TRUE #define GDISP_NEED_ARC GFXON
/* Features for the GMISC subsystem */ /* Features for the GMISC subsystem */
#define GMISC_NEED_FIXEDTRIG TRUE #define GMISC_NEED_FIXEDTRIG GFXON
#define GMISC_NEED_FASTTRIG TRUE #define GMISC_NEED_FASTTRIG GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,41 +31,41 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_ANTIALIAS TRUE #define GDISP_NEED_ANTIALIAS GFXON
/* GDISP - fonts to include */ /* GDISP - fonts to include */
#define GDISP_INCLUDE_USER_FONTS TRUE #define GDISP_INCLUDE_USER_FONTS GFXON
#define GDISP_INCLUDE_FONT_UI1 FALSE #define GDISP_INCLUDE_FONT_UI1 GFXOFF
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_INCLUDE_FONT_LARGENUMBERS FALSE #define GDISP_INCLUDE_FONT_LARGENUMBERS GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS10 FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS10 GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS12 FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS12 GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS16 FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS16 GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS20 FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS20 GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS24 FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS24 GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS32 FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS32 GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANSBOLD12 FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANSBOLD12 GFXOFF
#define GDISP_INCLUDE_FONT_FIXED_10x20 FALSE #define GDISP_INCLUDE_FONT_FIXED_10x20 GFXOFF
#define GDISP_INCLUDE_FONT_FIXED_7x14 FALSE #define GDISP_INCLUDE_FONT_FIXED_7x14 GFXOFF
#define GDISP_INCLUDE_FONT_FIXED_5x8 FALSE #define GDISP_INCLUDE_FONT_FIXED_5x8 GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS12_AA FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS12_AA GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS16_AA FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS16_AA GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS20_AA TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS20_AA GFXON
#define GDISP_INCLUDE_FONT_DEJAVUSANS24_AA FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS24_AA GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANS32_AA FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS32_AA GFXOFF
#define GDISP_INCLUDE_FONT_DEJAVUSANSBOLD12_AA FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANSBOLD12_AA GFXOFF
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,26 +31,26 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX subsystems to turn on */ /* GFX subsystems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP subsystem */ /* Features for the GDISP subsystem */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_ELLIPSE TRUE #define GDISP_NEED_ELLIPSE GFXON
#define GDISP_NEED_ANTIALIAS TRUE #define GDISP_NEED_ANTIALIAS GFXON
#define GDISP_NEED_UTF8 TRUE #define GDISP_NEED_UTF8 GFXON
#define GDISP_NEED_TEXT_KERNING TRUE #define GDISP_NEED_TEXT_KERNING GFXON
/* GDISP - fonts to include */ /* GDISP - fonts to include */
#define GDISP_INCLUDE_USER_FONTS TRUE #define GDISP_INCLUDE_USER_FONTS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,30 +31,30 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_STARTUP_COLOR HTML2COLOR(0xC0C0C0) #define GDISP_STARTUP_COLOR HTML2COLOR(0xC0C0C0)
/* GDISP image decoders */ /* GDISP image decoders */
//#define GDISP_NEED_IMAGE_NATIVE TRUE //#define GDISP_NEED_IMAGE_NATIVE GFXON
//#define GDISP_NEED_IMAGE_GIF TRUE //#define GDISP_NEED_IMAGE_GIF GFXON
#define GDISP_NEED_IMAGE_BMP TRUE #define GDISP_NEED_IMAGE_BMP GFXON
//#define GDISP_NEED_IMAGE_JPG TRUE //#define GDISP_NEED_IMAGE_JPG GFXON
//#define GDISP_NEED_IMAGE_PNG TRUE //#define GDISP_NEED_IMAGE_PNG GFXON
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
//#define GFILE_NEED_NATIVEFS TRUE //#define GFILE_NEED_NATIVEFS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,28 +31,28 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
/* GDISP image decoders */ /* GDISP image decoders */
#define GDISP_NEED_IMAGE_NATIVE FALSE #define GDISP_NEED_IMAGE_NATIVE GFXOFF
#define GDISP_NEED_IMAGE_GIF TRUE #define GDISP_NEED_IMAGE_GIF GFXON
#define GDISP_NEED_IMAGE_BMP FALSE #define GDISP_NEED_IMAGE_BMP GFXOFF
#define GDISP_NEED_IMAGE_JPG FALSE #define GDISP_NEED_IMAGE_JPG GFXOFF
#define GDISP_NEED_IMAGE_PNG FALSE #define GDISP_NEED_IMAGE_PNG GFXOFF
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -36,7 +36,7 @@
* The ROMFS uses the file "romfs_files.h" to describe the set of files in the ROMFS. * The ROMFS uses the file "romfs_files.h" to describe the set of files in the ROMFS.
*/ */
#define USE_IMAGE_CACHE FALSE // Only if you want to get performance at the expense of RAM #define USE_IMAGE_CACHE GFXOFF // Only if you want to get performance at the expense of RAM
#define MY_BG_COLOR RGB2COLOR(220, 220, 255) // Pale blue so we can see the transparent parts #define MY_BG_COLOR RGB2COLOR(220, 220, 255) // Pale blue so we can see the transparent parts
static gdispImage myImage; static gdispImage myImage;

View File

@ -31,30 +31,30 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_STARTUP_COLOR HTML2COLOR(0xC0C0C0) #define GDISP_STARTUP_COLOR HTML2COLOR(0xC0C0C0)
/* GDISP image decoders */ /* GDISP image decoders */
//#define GDISP_NEED_IMAGE_NATIVE TRUE //#define GDISP_NEED_IMAGE_NATIVE GFXON
//#define GDISP_NEED_IMAGE_GIF TRUE //#define GDISP_NEED_IMAGE_GIF GFXON
#define GDISP_NEED_IMAGE_BMP TRUE #define GDISP_NEED_IMAGE_BMP GFXON
//#define GDISP_NEED_IMAGE_JPG TRUE //#define GDISP_NEED_IMAGE_JPG GFXON
//#define GDISP_NEED_IMAGE_PNG TRUE //#define GDISP_NEED_IMAGE_PNG GFXON
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
//#define GFILE_NEED_NATIVEFS TRUE //#define GFILE_NEED_NATIVEFS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -36,7 +36,7 @@
* the same time there's still just one copy of the image in memory at all times. * the same time there's still just one copy of the image in memory at all times.
*/ */
#define USE_PRINTF TRUE #define USE_PRINTF GFXON
#include "gfx.h" #include "gfx.h"

View File

@ -31,20 +31,20 @@
#define _GFXCONF_H #define _GFXCONF_H
//* The operating system to use. One of these must be defined - preferably in your Makefile */ //* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* You must either define GDISP_TOTAL_DISPLAYS or GDISP_DRIVER_LIST for multiple displays. /* You must either define GDISP_TOTAL_DISPLAYS or GDISP_DRIVER_LIST for multiple displays.
* You cannot define both! * You cannot define both!
@ -66,15 +66,15 @@
* as the program doesn't have to detect the hardware method to use on each call. * as the program doesn't have to detect the hardware method to use on each call.
* *
* Hardware definitions can be set to: * Hardware definitions can be set to:
* - TRUE - all controllers support this routine * - GFXON - all controllers support this routine
* - FALSE - no controllers support this routine * - GFXOFF - no controllers support this routine
* - if not specified then the code auto-detects the hardware. * - if not specified then the code auto-detects the hardware.
* *
* e.g * e.g
* #define GDISP_HARDWARE_STREAM_WRITE FALSE * #define GDISP_HARDWARE_STREAM_WRITE GFXOFF
* #define GDISP_HARDWARE_STREAM_READ FALSE * #define GDISP_HARDWARE_STREAM_READ GFXOFF
* #define GDISP_HARDWARE_DRAWPIXEL TRUE * #define GDISP_HARDWARE_DRAWPIXEL GFXON
* #define GDISP_HARDWARE_FILLS TRUE * #define GDISP_HARDWARE_FILLS GFXON
*/ */
#if GFX_USE_OS_WIN32 || GFX_USE_OS_LINUX || GFX_USE_OS_OSX #if GFX_USE_OS_WIN32 || GFX_USE_OS_LINUX || GFX_USE_OS_OSX
// Emulator // Emulator
@ -90,8 +90,8 @@
/* /*
* The following are needed only for the sprintg() call * The following are needed only for the sprintg() call
*/ */
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_PRINTG TRUE #define GFILE_NEED_PRINTG GFXON
#define GFILE_NEED_STRINGS TRUE #define GFILE_NEED_STRINGS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -41,7 +41,7 @@
* and method 1 for any extra displays. * and method 1 for any extra displays.
*/ */
#define USE_METHOD_1 FALSE #define USE_METHOD_1 GFXOFF
#if USE_METHOD_1 #if USE_METHOD_1
int main(void) { int main(void) {

View File

@ -31,18 +31,18 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_PIXMAP TRUE #define GDISP_NEED_PIXMAP GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,19 +31,19 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GMISC TRUE #define GFX_USE_GMISC GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CONVEX_POLYGON TRUE #define GDISP_NEED_CONVEX_POLYGON GFXON
/* For this demo define either: /* For this demo define either:
* GMISC_NEED_MATRIXFLOAT2D to use floating point math operations * GMISC_NEED_MATRIXFLOAT2D to use floating point math operations
@ -56,11 +56,11 @@
* If you choose fixed point you MUST define GMISC_NEED_FIXEDTRIG for this demo. * If you choose fixed point you MUST define GMISC_NEED_FIXEDTRIG for this demo.
*/ */
//#define GMISC_NEED_FASTTRIG TRUE //#define GMISC_NEED_FASTTRIG GFXON
//#define GMISC_NEED_MATRIXFLOAT2D TRUE //#define GMISC_NEED_MATRIXFLOAT2D GFXON
#define GMISC_NEED_FIXEDTRIG TRUE #define GMISC_NEED_FIXEDTRIG GFXON
#define GMISC_NEED_MATRIXFIXED2D TRUE #define GMISC_NEED_MATRIXFIXED2D GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -10,22 +10,22 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GMISC TRUE #define GFX_USE_GMISC GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_STREAMING TRUE #define GDISP_NEED_STREAMING GFXON
#define GFX_USE_GMISC TRUE #define GFX_USE_GMISC GFXON
#define GMISC_NEED_INVSQRT TRUE #define GMISC_NEED_INVSQRT GFXON
//#define GMISC_INVSQRT_MIXED_ENDIAN TRUE //#define GMISC_INVSQRT_MIXED_ENDIAN GFXON
//#define GMISC_INVSQRT_REAL_SLOW TRUE //#define GMISC_INVSQRT_REAL_SLOW GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -42,11 +42,11 @@
* your processor. * your processor.
* *
* You can modify the implementation of invsqrt() by firstly defining * You can modify the implementation of invsqrt() by firstly defining
* #define GMISC_INVSQRT_MIXED_ENDIAN TRUE * #define GMISC_INVSQRT_MIXED_ENDIAN GFXON
* in your gfxconf.h file. * in your gfxconf.h file.
* *
* If it still doesn't work then instead define * If it still doesn't work then instead define
* #define GMISC_INVSQRT_REAL_SLOW TRUE * #define GMISC_INVSQRT_REAL_SLOW GFXON
* in your gfxconf.h file. This should always work although it will probably be slow. * in your gfxconf.h file. This should always work although it will probably be slow.
*/ */
#define BALLCOLOR1 Red #define BALLCOLOR1 Red

View File

@ -31,17 +31,17 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
/* Features for the GDISP subsystem. */ /* Features for the GDISP subsystem. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_ARC TRUE #define GDISP_NEED_ARC GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -1,10 +1,10 @@
#ifndef _GFXCONF_H #ifndef _GFXCONF_H
#define _GFXCONF_H #define _GFXCONF_H
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_FATFS TRUE #define GFILE_NEED_FATFS GFXON
#define GFILE_NEED_NOAUTOMOUNT TRUE #define GFILE_NEED_NOAUTOMOUNT GFXON
#define GFILE_NEED_PRINTG TRUE #define GFILE_NEED_PRINTG GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,31 +31,31 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
/* Features for the GINPUT subsystem. */ /* Features for the GINPUT subsystem. */
#define GINPUT_NEED_KEYBOARD TRUE #define GINPUT_NEED_KEYBOARD GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -26,15 +26,15 @@
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GOS - One of these must be defined, preferably in your Makefile // // GOS - One of these must be defined, preferably in your Makefile //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_FREERTOS FALSE //#define GFX_USE_OS_FREERTOS GFXOFF
// #define GFX_FREERTOS_USE_TRACE FALSE // #define GFX_FREERTOS_USE_TRACE GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
//#define GFX_USE_OS_ECOS FALSE //#define GFX_USE_OS_ECOS GFXOFF
//#define GFX_USE_OS_RAWRTOS FALSE //#define GFX_USE_OS_RAWRTOS GFXOFF
//#define GFX_USE_OS_RAW32 FALSE //#define GFX_USE_OS_RAW32 GFXOFF
// We define this here in case you are using raw32 or arduino with this demo // We define this here in case you are using raw32 or arduino with this demo
// and have a non-thread-safe C library. // and have a non-thread-safe C library.

View File

@ -33,21 +33,21 @@
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GOS - One of these must be defined, preferably in your Makefile // // GOS - One of these must be defined, preferably in your Makefile //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_FREERTOS FALSE //#define GFX_USE_OS_FREERTOS GFXOFF
// #define GFX_FREERTOS_USE_TRACE FALSE // #define GFX_FREERTOS_USE_TRACE GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
//#define GFX_USE_OS_ECOS FALSE //#define GFX_USE_OS_ECOS GFXOFF
//#define GFX_USE_OS_RAWRTOS FALSE //#define GFX_USE_OS_RAWRTOS GFXOFF
//#define GFX_USE_OS_RAW32 FALSE //#define GFX_USE_OS_RAW32 GFXOFF
// We define this here in case you are using raw32 or arduino with this demo // We define this here in case you are using raw32 or arduino with this demo
// and have a non-thread-safe C library. // and have a non-thread-safe C library.
#define GOS_RAW_HEAP_SIZE 10240 #define GOS_RAW_HEAP_SIZE 10240
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,12 +31,12 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,21 +31,21 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
#define GFX_USE_GTRANS TRUE #define GFX_USE_GTRANS GFXON
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_ANTIALIAS TRUE #define GDISP_NEED_ANTIALIAS GFXON
#define GDISP_NEED_UTF8 TRUE #define GDISP_NEED_UTF8 GFXON
#define GDISP_NEED_TEXT_KERNING TRUE #define GDISP_NEED_TEXT_KERNING GFXON
#define GDISP_INCLUDE_USER_FONTS TRUE #define GDISP_INCLUDE_USER_FONTS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,19 +31,19 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */

View File

@ -31,35 +31,35 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
/* Features for the GINPUT subsystem. */ /* Features for the GINPUT subsystem. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,34 +31,34 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_CHECKBOX TRUE #define GWIN_NEED_CHECKBOX GFXON
/* Features for the GINPUT subsystem. */ /* Features for the GINPUT subsystem. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,31 +31,31 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_INCLUDE_FONT_DEJAVUSANS12 TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS12 GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_CONSOLE_ESCSEQ TRUE #define GWIN_CONSOLE_ESCSEQ GFXON
#define GWIN_CONSOLE_USE_HISTORY TRUE #define GWIN_CONSOLE_USE_HISTORY GFXON
#define GWIN_CONSOLE_HISTORY_AVERAGING TRUE #define GWIN_CONSOLE_HISTORY_AVERAGING GFXON
#define GWIN_CONSOLE_HISTORY_ATCREATE TRUE #define GWIN_CONSOLE_HISTORY_ATCREATE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -19,69 +19,69 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_CONSOLE_USE_HISTORY TRUE #define GWIN_CONSOLE_USE_HISTORY GFXON
#define GWIN_CONSOLE_HISTORY_AVERAGING TRUE #define GWIN_CONSOLE_HISTORY_AVERAGING GFXON
#define GWIN_CONSOLE_HISTORY_ATCREATE TRUE #define GWIN_CONSOLE_HISTORY_ATCREATE GFXON
#define GWIN_CONSOLE_ESCSEQ TRUE #define GWIN_CONSOLE_ESCSEQ GFXON
#define GWIN_CONSOLE_USE_BASESTREAM TRUE #define GWIN_CONSOLE_USE_BASESTREAM GFXON
#define GWIN_NEED_GRAPH TRUE #define GWIN_NEED_GRAPH GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
#define GWIN_BUTTON_LAZY_RELEASE TRUE #define GWIN_BUTTON_LAZY_RELEASE GFXON
#define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINERS GFXON
#define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_CONTAINER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
#define GQUEUE_NEED_GSYNC TRUE #define GQUEUE_NEED_GSYNC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -19,70 +19,70 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_CONSOLE_USE_HISTORY TRUE #define GWIN_CONSOLE_USE_HISTORY GFXON
#define GWIN_CONSOLE_HISTORY_AVERAGING TRUE #define GWIN_CONSOLE_HISTORY_AVERAGING GFXON
#define GWIN_CONSOLE_HISTORY_ATCREATE TRUE #define GWIN_CONSOLE_HISTORY_ATCREATE GFXON
#define GWIN_CONSOLE_ESCSEQ TRUE #define GWIN_CONSOLE_ESCSEQ GFXON
#define GWIN_CONSOLE_USE_BASESTREAM TRUE #define GWIN_CONSOLE_USE_BASESTREAM GFXON
#define GWIN_NEED_GRAPH TRUE #define GWIN_NEED_GRAPH GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
#define GWIN_BUTTON_LAZY_RELEASE TRUE #define GWIN_BUTTON_LAZY_RELEASE GFXON
#define GWIN_NEED_CHECKBOX TRUE #define GWIN_NEED_CHECKBOX GFXON
#define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINERS GFXON
#define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_CONTAINER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
#define GQUEUE_NEED_GSYNC TRUE #define GQUEUE_NEED_GSYNC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -19,62 +19,62 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
// Oops - rand() seems to use malloc() // Oops - rand() seems to use malloc()
#define GFX_EMULATE_MALLOC TRUE #define GFX_EMULATE_MALLOC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
//#define GDISP_NEED_ANTIALIAS TRUE // Not needed for UI2 font //#define GDISP_NEED_ANTIALIAS GFXON // Not needed for UI2 font
//#define GDISP_NEED_TEXT_KERNING TRUE // Not needed for UI2 font //#define GDISP_NEED_TEXT_KERNING GFXON // Not needed for UI2 font
//#define GDISP_NEED_UTF8 TRUE //#define GDISP_NEED_UTF8 GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_LABEL TRUE #define GWIN_NEED_LABEL GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
#define GWIN_NEED_SLIDER TRUE #define GWIN_NEED_SLIDER GFXON
#define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINERS GFXON
#define GWIN_NEED_FRAME TRUE #define GWIN_NEED_FRAME GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,21 +31,21 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_GL3D TRUE #define GWIN_NEED_GL3D GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,21 +31,21 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_GL3D TRUE #define GWIN_NEED_GL3D GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,32 +31,32 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GMISC TRUE #define GFX_USE_GMISC GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_GRAPH TRUE #define GWIN_NEED_GRAPH GFXON
/* Features for the GQUEUE subsystem. */ /* Features for the GQUEUE subsystem. */
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
/* Features for the GMISC subsystem. */ /* Features for the GMISC subsystem. */
#define GMISC_NEED_FASTTRIG TRUE #define GMISC_NEED_FASTTRIG GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -19,72 +19,72 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
//#define GDISP_NEED_AUTOFLUSH FALSE //#define GDISP_NEED_AUTOFLUSH GFXOFF
//#define GDISP_NEED_TIMERFLUSH FALSE //#define GDISP_NEED_TIMERFLUSH GFXOFF
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_IMAGE_GIF TRUE #define GDISP_NEED_IMAGE_GIF GFXON
#define GDISP_NEED_IMAGE_BMP TRUE #define GDISP_NEED_IMAGE_BMP GFXON
#define GDISP_NEED_IMAGE_BMP_24 TRUE #define GDISP_NEED_IMAGE_BMP_24 GFXON
#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_IMAGE TRUE #define GWIN_NEED_IMAGE GFXON
#define GWIN_NEED_IMAGE_ANIMATION TRUE #define GWIN_NEED_IMAGE_ANIMATION GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GFILE // // GFILE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -19,37 +19,37 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
//#define GDISP_NEED_SCROLL TRUE //#define GDISP_NEED_SCROLL GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
//#define GDISP_NEED_CONTROL TRUE //#define GDISP_NEED_CONTROL GFXON
//#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE //#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_KEYBOARD TRUE #define GWIN_NEED_KEYBOARD GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
//#define GINPUT_NEED_KEYBOARD TRUE //#define GINPUT_NEED_KEYBOARD GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -19,59 +19,59 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
//#define GDISP_NEED_AUTOFLUSH FALSE //#define GDISP_NEED_AUTOFLUSH GFXOFF
//#define GDISP_NEED_TIMERFLUSH FALSE //#define GDISP_NEED_TIMERFLUSH GFXOFF
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_ANTIALIAS TRUE #define GDISP_NEED_ANTIALIAS GFXON
#define GDISP_NEED_UTF8 TRUE #define GDISP_NEED_UTF8 GFXON
#define GDISP_NEED_TEXT_KERNING TRUE #define GDISP_NEED_TEXT_KERNING GFXON
#define GDISP_INCLUDE_FONT_DEJAVUSANS12 TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS12 GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_LABEL TRUE #define GWIN_NEED_LABEL GFXON
#define GWIN_LABEL_ATTRIBUTE TRUE #define GWIN_LABEL_ATTRIBUTE GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -17,77 +17,77 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CONVEX_POLYGON TRUE #define GDISP_NEED_CONVEX_POLYGON GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_IMAGE_GIF TRUE #define GDISP_NEED_IMAGE_GIF GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_LABEL TRUE #define GWIN_NEED_LABEL GFXON
#define GWIN_NEED_LIST TRUE #define GWIN_NEED_LIST GFXON
#define GWIN_NEED_LIST_IMAGES FALSE #define GWIN_NEED_LIST_IMAGES GFXOFF
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE FALSE #define GFX_USE_GQUEUE GFXOFF
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GADC // // GADC //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GADC FALSE #define GFX_USE_GADC GFXOFF
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GAUDIN // // GAUDIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GAUDIN FALSE #define GFX_USE_GAUDIN GFXOFF
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GAUDOUT // // GAUDOUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GAUDOUT FALSE #define GFX_USE_GAUDOUT GFXOFF
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GMISC // // GMISC //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GMISC FALSE #define GFX_USE_GMISC GFXOFF
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -29,64 +29,64 @@
#ifndef _GFXCONF_H #ifndef _GFXCONF_H
#define _GFXCONF_H #define _GFXCONF_H
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_ELLIPSE FALSE #define GDISP_NEED_ELLIPSE GFXOFF
#define GDISP_NEED_ARC FALSE #define GDISP_NEED_ARC GFXOFF
#define GDISP_NEED_CONVEX_POLYGON TRUE #define GDISP_NEED_CONVEX_POLYGON GFXON
#define GDISP_NEED_SCROLL TRUE #define GDISP_NEED_SCROLL GFXON
#define GDISP_NEED_PIXELREAD FALSE #define GDISP_NEED_PIXELREAD GFXOFF
#define GDISP_NEED_CONTROL FALSE #define GDISP_NEED_CONTROL GFXOFF
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
#define GDISP_NEED_ASYNC FALSE #define GDISP_NEED_ASYNC GFXOFF
#define GDISP_NEED_MSGAPI FALSE #define GDISP_NEED_MSGAPI GFXOFF
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_ANTIALIAS FALSE #define GDISP_NEED_ANTIALIAS GFXOFF
/* GDISP image decoders */ /* GDISP image decoders */
#define GDISP_NEED_IMAGE_NATIVE FALSE #define GDISP_NEED_IMAGE_NATIVE GFXOFF
#define GDISP_NEED_IMAGE_GIF TRUE #define GDISP_NEED_IMAGE_GIF GFXON
#define GDISP_NEED_IMAGE_BMP FALSE #define GDISP_NEED_IMAGE_BMP GFXOFF
#define GDISP_NEED_IMAGE_JPG FALSE #define GDISP_NEED_IMAGE_JPG GFXOFF
#define GDISP_NEED_IMAGE_PNG FALSE #define GDISP_NEED_IMAGE_PNG GFXOFF
/* Features for the GWIN sub-system. */ /* Features for the GWIN sub-system. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_CONSOLE FALSE #define GWIN_NEED_CONSOLE GFXOFF
#define GWIN_NEED_GRAPH FALSE #define GWIN_NEED_GRAPH GFXOFF
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_BUTTON FALSE #define GWIN_NEED_BUTTON GFXOFF
#define GWIN_NEED_SLIDER FALSE #define GWIN_NEED_SLIDER GFXOFF
#define GWIN_NEED_CHECKBOX FALSE #define GWIN_NEED_CHECKBOX GFXOFF
#define GWIN_NEED_LABEL FALSE #define GWIN_NEED_LABEL GFXOFF
#define GWIN_NEED_IMAGE FALSE #define GWIN_NEED_IMAGE GFXOFF
#define GWIN_NEED_RADIO FALSE #define GWIN_NEED_RADIO GFXOFF
#define GWIN_NEED_LIST FALSE #define GWIN_NEED_LIST GFXOFF
#define GWIN_NEED_IMAGE_ANIMATION FALSE #define GWIN_NEED_IMAGE_ANIMATION GFXOFF
#define GWIN_NEED_LIST_IMAGES FALSE #define GWIN_NEED_LIST_IMAGES GFXOFF
#define GWIN_NEED_PROGRESSBAR TRUE #define GWIN_NEED_PROGRESSBAR GFXON
#define GWIN_PROGRESSBAR_AUTO TRUE #define GWIN_PROGRESSBAR_AUTO GFXON
/* Features for the GINPUT sub-system. */ /* Features for the GINPUT sub-system. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#define GINPUT_NEED_TOGGLE FALSE #define GINPUT_NEED_TOGGLE GFXOFF
#define GINPUT_NEED_DIAL FALSE #define GINPUT_NEED_DIAL GFXOFF
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,34 +31,34 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_RADIO TRUE #define GWIN_NEED_RADIO GFXON
/* Features for the GINPUT subsystem. */ /* Features for the GINPUT subsystem. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,40 +31,40 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_SLIDER TRUE #define GWIN_NEED_SLIDER GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
/* Features for the GINPUT subsystem. */ /* Features for the GINPUT subsystem. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
/* Features for the GQUEUE subsystem. */ /* Features for the GQUEUE subsystem. */
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -17,80 +17,80 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_LABEL TRUE #define GWIN_NEED_LABEL GFXON
#define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINERS GFXON
#define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_CONTAINER GFXON
#define GWIN_NEED_TABSET TRUE #define GWIN_NEED_TABSET GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
#define GQUEUE_NEED_GSYNC TRUE #define GQUEUE_NEED_GSYNC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GADC // // GADC //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GADC FALSE #define GFX_USE_GADC GFXOFF
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GAUDIN // // GAUDIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GAUDIN FALSE #define GFX_USE_GAUDIN GFXOFF
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GAUDOUT // // GAUDOUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GAUDOUT FALSE #define GFX_USE_GAUDOUT GFXOFF
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GMISC // // GMISC //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GMISC FALSE #define GFX_USE_GMISC GFXOFF
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,46 +31,46 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_TEXT_KERNING TRUE #define GDISP_NEED_TEXT_KERNING GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_INCLUDE_FONT_DEJAVUSANS16 TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS16 GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_NEED_TEXTEDIT TRUE #define GWIN_NEED_TEXTEDIT GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
/* Features for the GINPUT subsystem. */ /* Features for the GINPUT subsystem. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
/* One or both of these */ /* One or both of these */
//#define GINPUT_NEED_KEYBOARD TRUE //#define GINPUT_NEED_KEYBOARD GFXON
#define GWIN_NEED_KEYBOARD TRUE #define GWIN_NEED_KEYBOARD GFXON
/* Features for the GQUEUE subsystem. */ /* Features for the GQUEUE subsystem. */
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -31,46 +31,46 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS FALSE //#define GFX_USE_OS_CHIBIOS GFXOFF
//#define GFX_USE_OS_WIN32 FALSE //#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX FALSE //#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX FALSE //#define GFX_USE_OS_OSX GFXOFF
/* GFX sub-systems to turn on */ /* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/* Features for the GDISP sub-system. */ /* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_TEXT_KERNING TRUE #define GDISP_NEED_TEXT_KERNING GFXON
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/* GDISP fonts to include */ /* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_INCLUDE_FONT_DEJAVUSANS16 TRUE #define GDISP_INCLUDE_FONT_DEJAVUSANS16 GFXON
/* Features for the GWIN subsystem. */ /* Features for the GWIN subsystem. */
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_NEED_TEXTEDIT TRUE #define GWIN_NEED_TEXTEDIT GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
/* Features for the GINPUT subsystem. */ /* Features for the GINPUT subsystem. */
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
/* One or both of these */ /* One or both of these */
#define GINPUT_NEED_KEYBOARD FALSE #define GINPUT_NEED_KEYBOARD GFXOFF
#define GWIN_NEED_KEYBOARD TRUE #define GWIN_NEED_KEYBOARD GFXON
/* Features for the GQUEUE subsystem. */ /* Features for the GQUEUE subsystem. */
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

View File

@ -19,100 +19,100 @@
#define _GFXCONF_H #define _GFXCONF_H
/* The operating system to use. One of these must be defined - preferably in your Makefile */ /* The operating system to use. One of these must be defined - preferably in your Makefile */
//#define GFX_USE_OS_CHIBIOS TRUE //#define GFX_USE_OS_CHIBIOS GFXON
//#define GFX_USE_OS_WIN32 TRUE //#define GFX_USE_OS_WIN32 GFXON
//#define GFX_USE_OS_LINUX TRUE //#define GFX_USE_OS_LINUX GFXON
//#define GFX_USE_OS_OSX TRUE //#define GFX_USE_OS_OSX GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GDISP // // GDISP //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GDISP TRUE #define GFX_USE_GDISP GFXON
#define GDISP_NEED_VALIDATION TRUE #define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP TRUE #define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE TRUE #define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_CONVEX_POLYGON TRUE #define GDISP_NEED_CONVEX_POLYGON GFXON
//#define GDISP_NEED_SCROLL TRUE //#define GDISP_NEED_SCROLL GFXON
#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_CONTROL GFXON
#define GDISP_NEED_TEXT TRUE #define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 TRUE #define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_IMAGE TRUE #define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_IMAGE_GIF TRUE #define GDISP_NEED_IMAGE_GIF GFXON
#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
#define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_MULTITHREAD GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GWIN // // GWIN //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GWIN TRUE #define GFX_USE_GWIN GFXON
#define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_FLASHING TRUE #define GWIN_NEED_FLASHING GFXON
#define GWIN_NEED_CONSOLE TRUE #define GWIN_NEED_CONSOLE GFXON
#define GWIN_CONSOLE_USE_HISTORY TRUE #define GWIN_CONSOLE_USE_HISTORY GFXON
#define GWIN_CONSOLE_HISTORY_AVERAGING TRUE #define GWIN_CONSOLE_HISTORY_AVERAGING GFXON
#define GWIN_CONSOLE_HISTORY_ATCREATE TRUE #define GWIN_CONSOLE_HISTORY_ATCREATE GFXON
#define GWIN_NEED_GRAPH TRUE #define GWIN_NEED_GRAPH GFXON
#define GWIN_NEED_WIDGET TRUE #define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_LABEL TRUE #define GWIN_NEED_LABEL GFXON
#define GWIN_LABEL_ATTRIBUTE TRUE #define GWIN_LABEL_ATTRIBUTE GFXON
#define GWIN_NEED_BUTTON TRUE #define GWIN_NEED_BUTTON GFXON
// #define GWIN_BUTTON_LAZY_RELEASE TRUE // #define GWIN_BUTTON_LAZY_RELEASE GFXON
#define GWIN_NEED_SLIDER TRUE #define GWIN_NEED_SLIDER GFXON
#define GWIN_NEED_CHECKBOX TRUE #define GWIN_NEED_CHECKBOX GFXON
#define GWIN_NEED_IMAGE TRUE #define GWIN_NEED_IMAGE GFXON
#define GWIN_NEED_RADIO TRUE #define GWIN_NEED_RADIO GFXON
#define GWIN_NEED_LIST TRUE #define GWIN_NEED_LIST GFXON
#define GWIN_NEED_LIST_IMAGES TRUE #define GWIN_NEED_LIST_IMAGES GFXON
#define GWIN_NEED_PROGRESSBAR TRUE #define GWIN_NEED_PROGRESSBAR GFXON
#define GWIN_PROGRESSBAR_AUTO TRUE #define GWIN_PROGRESSBAR_AUTO GFXON
#define GWIN_NEED_CONTAINERS TRUE #define GWIN_NEED_CONTAINERS GFXON
#define GWIN_NEED_CONTAINER TRUE #define GWIN_NEED_CONTAINER GFXON
#define GWIN_NEED_TABSET TRUE #define GWIN_NEED_TABSET GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GEVENT // // GEVENT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GEVENT TRUE #define GFX_USE_GEVENT GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GTIMER // // GTIMER //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GTIMER TRUE #define GFX_USE_GTIMER GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GQUEUE // // GQUEUE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GQUEUE TRUE #define GFX_USE_GQUEUE GFXON
#define GQUEUE_NEED_ASYNC TRUE #define GQUEUE_NEED_ASYNC GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GINPUT // // GINPUT //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GINPUT TRUE #define GFX_USE_GINPUT GFXON
#define GINPUT_NEED_MOUSE TRUE #define GINPUT_NEED_MOUSE GFXON
//#define GINPUT_NEED_TOGGLE TRUE //#define GINPUT_NEED_TOGGLE GFXON
//#define GINPUT_NEED_DIAL TRUE //#define GINPUT_NEED_DIAL GFXON
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// GFILE // // GFILE //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#define GFX_USE_GFILE TRUE #define GFX_USE_GFILE GFXON
#define GFILE_NEED_PRINTG TRUE #define GFILE_NEED_PRINTG GFXON
#define GFILE_NEED_STRINGS TRUE #define GFILE_NEED_STRINGS GFXON
#define GFILE_NEED_ROMFS TRUE #define GFILE_NEED_ROMFS GFXON
//#define GFILE_NEED_NATIVEFS TRUE //#define GFILE_NEED_NATIVEFS GFXON
#endif /* _GFXCONF_H */ #endif /* _GFXCONF_H */

Some files were not shown because too many files have changed in this diff Show More