Libmacro  0.2
Libmacro is an extensible macro and hotkey library.
scroll.h
Go to the documentation of this file.
1 /* Libmacro - A multi-platform, extendable macro and hotkey C library
2  Copyright (C) 2013 Jonathan Pelletier, New Paradigm Software
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Lesser General Public
6  License as published by the Free Software Foundation; either
7  version 2.1 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Lesser General Public License for more details.
13 
14  You should have received a copy of the GNU Lesser General Public
15  License along with this library; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 
23 #ifndef MCR_STANDARD_SCROLL_H_
24 #define MCR_STANDARD_SCROLL_H_
25 
26 #include "mcr/base/base.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
33 struct mcr_Scroll {
36 };
37 
43 MCR_API int mcr_Scroll_send(struct mcr_Signal *signalPt);
45 MCR_API int mcr_Scroll_send_member(struct mcr_Scroll *dataPt, struct mcr_context *ctx);
46 /* Default allocate, deallocate, init, deinit, compare, copy */
47 
49 MCR_API struct mcr_ISignal *mcr_iScroll(struct mcr_context *ctx);
51 #define mcr_Scroll_data(sigPt) \
52 mcr_castpt(struct mcr_Scroll, mcr_Signal_data(sigPt))
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif
mcr_SpacePosition mcr_Dimensions
Definition: types.h:178
MCR_API struct mcr_ISignal * mcr_iScroll(struct mcr_context *ctx)
MCR_API int mcr_Scroll_send(struct mcr_Signal *signalPt)
Scroll through visible area.
Base module implements mcr_base - Libmacro first module.
MCR_API int mcr_Scroll_send_member(struct mcr_Scroll *dataPt, struct mcr_context *ctx)
mcr_Dimensions dimensions
Definition: scroll.h:35