mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
When defining enums as types instead of simple enums allows to use these types at the places where the corresponding enum values are expected, then allowing the compiler to check that, potentially reporting incorrect use of values to the user. This patch adds types for the configuration fields in the RContextAttributes structure. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
31 lines
917 B
C
31 lines
917 B
C
/*
|
|
* Raster graphics library
|
|
*
|
|
* Copyright (c) 2014 Window Maker Team
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library.
|
|
*/
|
|
|
|
#ifndef WRASTER_SCALE_H
|
|
#define WRASTER_SCALE_H
|
|
|
|
|
|
/*
|
|
* Function to change the smoothing filter used for image scaling (RSmoothScaleImage)
|
|
*/
|
|
void wraster_change_filter(RScalingFilter type);
|
|
|
|
|
|
#endif
|