File: rmenu_animation.cpp

package info (click to toggle)
rafkill 1.2.2-3.3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 13,268 kB
  • sloc: cpp: 13,508; makefile: 64; sh: 14
file content (34 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "rmenu.h"
#include "rmenu_animation.h"
#include "animation.h"
#include "rfield.h"
#include "bitmap.h"

RMenuAnimation::RMenuAnimation( const Bitmap & intr, int x, int y, int height, int c1, int c2, int c3, Animation * ani ):
RMenu( intr, x, y, height, c1, c2, c3 ) {
	show_case = ani;
}


void RMenuAnimation::Draw( const Bitmap & work, int x, int * yval, int * yshade, int min, int max ) {

	show_case->Next( work );

	RMenu::Draw( work, x, yval, yshade, min, max );

	/*
	RField * junk = head->Next();
	for ( int q = min; q <= max; q++ ) {
		while( junk->Place() != q ) junk=junk->Next();
		if ( junk->Title() )
			junk->Draw( work, x, yval[q-min], t_color );
		else
			junk->Draw( work, x, yval[q-min], shade_opt_color[yshade[junk->Place()]] );
	}
	*/

}


RMenuAnimation::~RMenuAnimation() {
}