Changeset 35
- Timestamp:
- Jun 2, 2006, 5:07:25 PM (15 years ago)
- Location:
- trunk/Lucide/SOURCE
- Files:
-
- 42 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Lucide/SOURCE/gui/Lucide_res.H
r34 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __LUCIDE_RES_H 2 36 #define __LUCIDE_RES_H -
trunk/Lucide/SOURCE/gui/aboutDlg.cpp
r30 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_DOS 2 36 #define INCL_WIN -
trunk/Lucide/SOURCE/gui/clipbrd.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_WIN 2 36 #define INCL_DOS -
trunk/Lucide/SOURCE/gui/docInfoDlg.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_WIN 2 36 #include <os2.h> -
trunk/Lucide/SOURCE/gui/docInfoDlg.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __DOCINFODLG_H 2 36 #define __DOCINFODLG_H -
trunk/Lucide/SOURCE/gui/docViewer.cpp
r33 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_DOS 2 36 #define INCL_WIN … … 265 299 { 266 300 currentpage = page; 301 sVscrollPos = 0; 267 302 if ( doc != NULL ) { 268 303 drawPage(); -
trunk/Lucide/SOURCE/gui/docViewer.h
r27 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __DOCVIEWER_H 2 36 #define __DOCVIEWER_H -
trunk/Lucide/SOURCE/gui/findDlg.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_WIN 2 36 #include <os2.h> -
trunk/Lucide/SOURCE/gui/findDlg.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __FINDDLG_H 2 36 #define __FINDDLG_H -
trunk/Lucide/SOURCE/gui/fontsInfoDlg.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_WIN 2 36 #include <os2.h> -
trunk/Lucide/SOURCE/gui/fontsInfoDlg.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __FONTSINFODLG_H 2 36 #define __FONTSINFODLG_H -
trunk/Lucide/SOURCE/gui/indexWindow.cpp
r34 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_WIN 2 36 #include <os2.h> -
trunk/Lucide/SOURCE/gui/indexWindow.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __INDEXWINDOW_H 2 36 #define __INDEXWINDOW_H -
trunk/Lucide/SOURCE/gui/intern.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_DOS 2 36 #define INCL_WIN -
trunk/Lucide/SOURCE/gui/linklab.c
r2 r35 1 1 /* 2 * Transfer a label into link. 3 * by Eugene Romanenko 2 4 * 3 * Copyrights? Public domain, nah! 4 * 5 * This code is in the public domain and has no copyright. 5 6 */ 6 7 -
trunk/Lucide/SOURCE/gui/lucide.cpp
r34 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_WIN 2 36 #define INCL_DOS -
trunk/Lucide/SOURCE/gui/lucide.h
r34 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __LUCIDE_H 2 36 #define __LUCIDE_H -
trunk/Lucide/SOURCE/gui/luutils.cpp
r24 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_DOS 2 36 #define INCL_WIN -
trunk/Lucide/SOURCE/gui/luutils.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __LUUTILS_H 2 36 #define __LUUTILS_H -
trunk/Lucide/SOURCE/gui/messages.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #include "messages.h" 2 36 -
trunk/Lucide/SOURCE/gui/messages.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __MESSAGES_H 2 36 #define __MESSAGES_H -
trunk/Lucide/SOURCE/gui/pluginViewDlg.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_WIN 2 36 #include <os2.h> -
trunk/Lucide/SOURCE/gui/pluginViewDlg.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __PLUGINVIEWDLG_H 2 36 #define __PLUGINVIEWDLG_H -
trunk/Lucide/SOURCE/gui/pluginman.cpp
r25 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_DOS 2 36 #include <os2.h> -
trunk/Lucide/SOURCE/gui/pluginman.h
r25 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __PLUGINMAN_H 2 36 #define __PLUGINMAN_H -
trunk/Lucide/SOURCE/gui/pmsplitter.cpp
r26 r35 1 1 /* 2 * PM Splitter implementation. 3 * by Eugene Romanenko 2 4 * 3 * Copyrights? Public domain, nah! 4 * 5 * This code is in the public domain and has no copyright. 5 6 */ 6 7 -
trunk/Lucide/SOURCE/gui/pmtoolbar.cpp
r2 r35 1 1 /* 2 * PM Toolbar implementation. 3 * by Eugene Romanenko 2 4 * 3 * Copyrights? Public domain, nah! 4 * 5 * This code is in the public domain and has no copyright. 5 6 */ 6 7 -
trunk/Lucide/SOURCE/gui/progressDlg.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_GPI 2 36 #define INCL_WIN -
trunk/Lucide/SOURCE/gui/progressDlg.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __PROGRESSDLG_H 2 36 #define __PROGRESSDLG_H -
trunk/Lucide/SOURCE/gui/tb_spl.h
r26 r35 1 1 #ifndef __TB_SPL_H 2 2 #define __TB_SPL_H 3 4 /* 5 * PM Splitter and Toolbar interface. 6 * by Eugene Romanenko 7 * 8 * This code is in the public domain and has no copyright. 9 */ 3 10 4 11 // Toolbar and splitter definitions -
trunk/Lucide/SOURCE/gui/toolbar.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #define INCL_WIN 2 36 #include <os2.h> -
trunk/Lucide/SOURCE/gui/wwbtn.c
r2 r35 1 1 /* 2 * Transfer a labels and buttons into multi-line with word-wrap. 3 * Useful for internationalization. 4 * by Eugene Romanenko 2 5 * 3 * Copyrights? Public domain, nah! 4 * 6 * This code is in the public domain and has no copyright. 5 7 */ 6 8 -
trunk/Lucide/SOURCE/gui/wwbtn.h
r2 r35 3 3 4 4 /* 5 * wwbtn interface. 6 * by Eugene Romanenko 5 7 * 6 * Copyrights? Public domain, nah! 7 * 8 * This code is in the public domain and has no copyright. 8 9 */ 9 10 -
trunk/Lucide/SOURCE/plugins/ludjvu/ludjvu.cpp
r27 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 2 36 /* … … 22 56 23 57 24 #define SCALE_FACTOR0.258 #define DJVU_SCALE 0.2 25 59 26 60 … … 120 154 121 155 if ( width != NULL ) { 122 *width = info.width * SCALE_FACTOR;156 *width = info.width * DJVU_SCALE; 123 157 } 124 158 if ( height != NULL ) { 125 *height = info.height * SCALE_FACTOR;159 *height = info.height * DJVU_SCALE; 126 160 } 127 161 } … … 153 187 } 154 188 155 page_width = ddjvu_page_get_width( d_page ) * scale * SCALE_FACTOR;156 page_height = ddjvu_page_get_height( d_page ) * scale * SCALE_FACTOR;189 page_width = ddjvu_page_get_width( d_page ) * scale * DJVU_SCALE; 190 page_height = ddjvu_page_get_height( d_page ) * scale * DJVU_SCALE; 157 191 158 192 prect.x = 0; -
trunk/Lucide/SOURCE/plugins/ludoc/cpconv.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #include <os2.h> 2 36 … … 142 176 size_t retval = 0; 143 177 144 /* The caller wish to initate the conversion state and/or write initial 145 shift prefix (or something like that) to the output buffer. */ 146 if (!in || !*in) 147 { 148 if (!out || !*out || !out_left || !*out_left) 149 /* do nothing since we don't have any shift state in the iconv_t. */ 178 if (!in || !*in) { 150 179 return 0; 151 152 /** @todo We don't have any shift state I or so, so what to do now? 153 * Let's do nothing till we have anyone complaining about his DBCS 154 * stuff not working 100%, and accept patches for that guy. 155 * Perhaps try call UniUconvFromUcs(conv->to, and some empty input buffer or so... 156 */ 157 return 0; 158 } 159 160 sl = *in_left; 161 ucs = (UniChar *) alloca (sl * sizeof (UniChar)); 162 orig_ucs = ucs; 163 164 rc = UniUconvToUcs (objtoucs, (void **)in, in_left, &ucs, &sl, &retval); 165 if (rc) 166 goto error; 167 sl = ucs - orig_ucs; 168 ucs = orig_ucs; 169 /* UniUconvFromUcs will stop at first null byte (huh? indeed?) 170 while we want ALL the bytes converted. */ 171 #if 1 172 rc = UniUconvFromUcs (objfromucs, &ucs, &sl, (void **)out, out_left, &nonid); 173 if (rc) 174 goto error; 175 retval += nonid; 176 #else 177 while (sl) 178 { 179 size_t usl = 0; 180 while (sl && (ucs[usl] != 0)) 181 usl++, sl--; 182 rc = UniUconvFromUcs (objfromucs, &ucs, &usl, (void **)out, out_left, &nonid); 183 if (rc) 180 } 181 182 sl = *in_left; 183 ucs = (UniChar *) alloca(sl * sizeof(UniChar)); 184 orig_ucs = ucs; 185 186 rc = UniUconvToUcs(objtoucs, (void **)in, in_left, &ucs, &sl, &retval); 187 if (rc) { 184 188 goto error; 185 retval += nonid; 186 if (sl && *out_left) 187 { 188 *(*out)++ = 0; 189 (*out_left)--; 190 ucs++; sl--; 191 } 192 } 193 #endif 194 return 0; 189 } 190 sl = ucs - orig_ucs; 191 ucs = orig_ucs; 192 rc = UniUconvFromUcs(objfromucs, &ucs, &sl, (void **)out, out_left, &nonid); 193 if (rc) { 194 goto error; 195 } 196 retval += nonid; 197 return 0; 195 198 196 199 error: 197 200 err = 1; 198 return -1;201 return -1; 199 202 } 200 203 … … 245 248 *uni++; 246 249 } 247 //printf( "\n" ); 250 //printf( "\n" ); 248 251 } 249 252 … … 307 310 /*void main() 308 311 { 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 312 const char *testutf8 = "test UTF-8 ¥áâ! ஢¥àª !"; 313 char buf[ 100 ]; 314 memset( buf, 0, sizeof( buf ) ); 315 char *bufsav = buf; 316 char *buf1 = buf; 317 unsigned in_len = strlen( testutf8 ); 318 unsigned out_len = sizeof( buf ); 319 320 cnvUTF8ToUCS4( &testutf8, &in_len, &buf1, &out_len ); 321 322 for ( int i = 0; i<100; i++ ) 323 { 324 printf( ":%d:", (int)bufsav[i] ); 325 } 326 printf( "\n" ); 324 327 } 325 328 */ -
trunk/Lucide/SOURCE/plugins/ludoc/cpconv.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef __cpconv_h 2 36 #define __cpconv_h -
trunk/Lucide/SOURCE/plugins/ludoc/ludoc.cpp
r27 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 2 36 /* -
trunk/Lucide/SOURCE/plugins/ludoc/luinode.cpp
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 2 36 /* -
trunk/Lucide/SOURCE/plugins/ludoc/lupixbuf.cpp
r27 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 2 36 /* -
trunk/Lucide/SOURCE/plugins/ludoc/lutypes.h
r2 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 #ifndef lutypes_h 2 36 #define lutypes_h -
trunk/Lucide/SOURCE/plugins/lujpeg/lujpeg.cpp
r27 r35 1 /* ***** BEGIN LICENSE BLOCK ***** 2 * Version: CDDL 1.0/LGPL 2.1 3 * 4 * The contents of this file are subject to the COMMON DEVELOPMENT AND 5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use 6 * this file except in compliance with the License. You may obtain a copy of 7 * the License at http://www.sun.com/cddl/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Initial Developer of the Original Code is 15 * Eugene Romanenko, netlabs.org. 16 * Portions created by the Initial Developer are Copyright (C) 2006 17 * the Initial Developer. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * Alternatively, the contents of this file may be used under the terms of 22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 23 * in which case the provisions of the LGPL are applicable instead of those 24 * above. If you wish to allow use of your version of this file only under the 25 * terms of the LGPL, and not to allow others to use your version of this file 26 * under the terms of the CDDL, indicate your decision by deleting the 27 * provisions above and replace them with the notice and other provisions 28 * required by the LGPL. If you do not delete the provisions above, a recipient 29 * may use your version of this file under the terms of any one of the CDDL 30 * or the LGPL. 31 * 32 * ***** END LICENSE BLOCK ***** */ 33 34 1 35 2 36 /* -
trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.cpp
r31 r35 1 /* 2 * Copyright (c) 2006, Eugene Romanenko, netlabs.org 3 * 4 *---------------------------------------------------------------------- 5 * This file is part of poppler plugin for Lucide (lupoppler). 6 * 7 * lupoppler is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * lupoppler is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with gtk-gnutella; if not, write to the Free Software 19 * Foundation, Inc.: 20 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 *---------------------------------------------------------------------- 22 */ 1 23 2 24 /*
Note: See TracChangeset
for help on using the changeset viewer.