util/gfx/wtk_progress_bar.c File Reference

Progress bar widget implementation. More...

#include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include <membag.h>
#include <string.h>
#include <gfx/wtk.h>

Go to the source code of this file.

Data Structures

struct  wtk_progress_bar
 Progress bar control struct. More...

Functions

struct win_windowwtk_progress_bar_as_child (struct wtk_progress_bar *bar)
 Get pointer to progress bar window.
bool wtk_progress_bar_set_value (struct wtk_progress_bar *bar, uint8_t value)
 Set new progress bar value.
uint8_t wtk_progress_bar_get_value (struct wtk_progress_bar *bar)
 Get progress bar value.
void wtk_progress_bar_set_colors (struct wtk_progress_bar *bar, gfx_color_t fill_color, gfx_color_t background_color)
 Set new progress bar colors.
static bool wtk_progress_bar_handler (struct win_window *win, enum win_event_type type, void const *data)
 Progress bar event handler.
struct wtk_progress_barwtk_progress_bar_create (struct win_window *parent, struct win_area const *area, uint8_t maximum, uint8_t value, gfx_color_t fill_color, gfx_color_t background_color, uint8_t option)
 Create a new progress bar widget.

Detailed Description

Progress bar widget implementation.

Copyright (C) 2009 - 2010 Atmel Corporation. All rights reserved.

Definition in file wtk_progress_bar.c.

Generated on Thu Apr 29 14:09:58 2010 for display-demo by  doxygen 1.6.3