]>
cygwin.com Git - cygwin-apps/setup.git/blob - PickPackageLine.h
2 * Copyright (c) 2002 Robert Collins.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <robertc@hotmail.com>
16 #ifndef _PICKPACKAGELINE_H_
17 #define _PICKPACKAGELINE_H_
20 #include "package_meta.h"
23 class PickPackageLine
:public PickLine
26 PickPackageLine (PickView
&aView
, packagemeta
& apkg
):PickLine (apkg
.key
), pkg (apkg
), theView (aView
)
29 virtual void paint (HDC hdc
, int x
, int y
, int row
, int show_cat
);
30 virtual int click (int const myrow
, int const ClickedRow
, int const x
);
31 virtual int itemcount () const
35 virtual bool IsContainer (void) const
39 virtual void insert (PickLine
&)
42 virtual int set_action (packagemeta::_actions
);
46 // XXX make checked an enum or tri-valued class of its own
47 void DrawCheck (int const checked
, HDC hdc
, int const column
, HRGN
const clip
, int const x
, int const by
);
50 #endif // _PICKPACKAGELINE_H_
This page took 0.043447 seconds and 6 git commands to generate.