source: mainline/uspace/lib/ui/meson.build@ fdf55a3

ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since fdf55a3 was 11662bd, checked in by Jiri Svoboda <jiri@…>, 3 years ago

File list control

File dialogs now allow browsing files/directories using the new
file list control. This is essentialy a copy of the Panel class
from Navigator, modified and extended to work in graphics mode as well.
Later Panel should be re-implemented using file list to prevent
duplication.

Note that this is not 100% done, it needs, for example, a scrollbar
(instead of scrolling by clicking the edges).

  • Property mode set to 100644
File size: 2.4 KB
Line 
1#
2# Copyright (c) 2022 Jiri Svoboda
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8#
9# - Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# - Redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the distribution.
14# - The name of the author may not be used to endorse or promote products
15# derived from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27#
28
29deps = [ 'gfx', 'gfxfont', 'memgfx', 'display', 'congfx' ]
30src = files(
31 'src/accel.c',
32 'src/checkbox.c',
33 'src/clickmatic.c',
34 'src/control.c',
35 'src/dummygc.c',
36 'src/entry.c',
37 'src/filedialog.c',
38 'src/filelist.c',
39 'src/fixed.c',
40 'src/image.c',
41 'src/label.c',
42 'src/menu.c',
43 'src/menubar.c',
44 'src/menuentry.c',
45 'src/msgdialog.c',
46 'src/paint.c',
47 'src/pbutton.c',
48 'src/popup.c',
49 'src/promptdialog.c',
50 'src/rbutton.c',
51 'src/resource.c',
52 'src/scrollbar.c',
53 'src/slider.c',
54 'src/ui.c',
55 'src/wdecor.c',
56 'src/window.c',
57)
58
59test_src = files(
60 'test/accel.c',
61 'test/checkbox.c',
62 'test/clickmatic.c',
63 'test/control.c',
64 'test/entry.c',
65 'test/filedialog.c',
66 'test/filelist.c',
67 'test/fixed.c',
68 'test/image.c',
69 'test/label.c',
70 'test/main.c',
71 'test/menu.c',
72 'test/menubar.c',
73 'test/menuentry.c',
74 'test/msgdialog.c',
75 'test/paint.c',
76 'test/pbutton.c',
77 'test/popup.c',
78 'test/promptdialog.c',
79 'test/rbutton.c',
80 'test/resource.c',
81 'test/scrollbar.c',
82 'test/slider.c',
83 'test/ui.c',
84 'test/wdecor.c',
85 'test/window.c',
86)
Note: See TracBrowser for help on using the repository browser.