~ubuntu-branches/debian/sid/x42-plugins/sid

« back to all changes in this revision

Viewing changes to robtk/robtk.h

  • Committer: Package Import Robot
  • Author(s): Jaromír Mikeš
  • Date: 2014-01-18 17:04:40 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20140118170440-g38hz8mttoobqdla
Tags: 20140115-1
* Imported Upstream version 20140115.
* Added libjack-dev as build dep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        bool redraw_pending; // queue_draw_*() failed (during init or top-levelresize)
112
112
        bool resized; // full-redraw --containers after resize
113
113
        bool hidden; // don't display, skip in layout and events
 
114
        int  packing_opts;
114
115
#endif
115
116
        float xalign, yalign; // unused in GTK
116
117
        cairo_rectangle_t area; // allocated pos + size
202
203
        dest->y = dest_y;
203
204
}
204
205
 
 
206
static float rtk_hue2rgb(const float p, const float q, float t) {
 
207
        if(t < 0.f) t += 1.f;
 
208
        if(t > 1.f) t -= 1.f;
 
209
        if(t < 1.f/6.f) return p + (q - p) * 6.f * t;
 
210
        if(t < 1.f/2.f) return q;
 
211
        if(t < 2.f/3.f) return p + (q - p) * (2.f/3.f - t) * 6.f;
 
212
        return p;
 
213
}
 
214
 
205
215
#include "rtk/style.h"
206
216
#include "rtk/common.h"
207
217
 
219
229
#endif
220
230
 
221
231
#include "widgets/robtk_checkbutton.h"
 
232
#include "widgets/robtk_multibutton.h"
222
233
#include "widgets/robtk_dial.h"
223
234
#include "widgets/robtk_label.h"
224
235
#include "widgets/robtk_pushbutton.h"
228
239
#include "widgets/robtk_spinner.h"
229
240
#include "widgets/robtk_xyplot.h"
230
241
#include "widgets/robtk_selector.h"
 
242
#include "widgets/robtk_image.h"
 
243
#include "widgets/robtk_drawingarea.h"
231
244
 
232
245
#endif