fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / vcl / lstbox.h
blob1d9dd30c809b9ac868dc28bf94c462a1e694b915
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _SV_LSTBOX_H
21 #define _SV_LSTBOX_H
23 #define LISTBOX_APPEND ((sal_uInt16)0xFFFF)
24 #define LISTBOX_ENTRY_NOTFOUND ((sal_uInt16)0xFFFF)
25 #define LISTBOX_ERROR ((sal_uInt16)0xFFFF)
27 // --------------------------------------------------------------------
29 // the following defines can be used for the SetEntryFlags()
30 // and GetEntryFlags() methods
32 // !! Do not use these flags for user data as they are reserved !!
33 // !! to change the internal behaviour of the ListBox implementation !!
34 // !! for specific entries. !!
36 /** this flag disables a selection of an entry completely. It is not
37 possible to select such entries either from the user interface
38 nor from the ListBox methods. Cursor traveling is handled correctly.
39 This flag can be used to add titles to a ListBox.
41 #define LISTBOX_ENTRY_FLAG_DISABLE_SELECTION 0x0000001
43 /** this flag can be used to make an entry multine capable
44 A normal entry is single line and will therefore be clipped
45 at the right listbox border. Setting this flag enables
46 word breaks for the entry text.
48 #define LISTBOX_ENTRY_FLAG_MULTILINE 0x0000002
50 /** this flags lets the item be drawn disabled (e.g. in grey text)
51 usage only guaranteed with LISTBOX_ENTRY_FLAG_DISABLE_SELECTION
53 #define LISTBOX_ENTRY_FLAG_DRAW_DISABLED 0x0000004
55 #endif // _SV_LSTBOX_H
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */