winbookmarks.h
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:1k
源码类别:

OpenGL

开发平台:

Visual C++

  1. // winbookmarks.h
  2. // 
  3. // Copyright (C) 2002, Chris Laurel <claurel@shatters.net>
  4. //
  5. // Miscellaneous utilities for Locations UI implementation.
  6. //
  7. // This program is free software; you can redistribute it and/or
  8. // modify it under the terms of the GNU General Public License
  9. // as published by the Free Software Foundation; either version 2
  10. // of the License, or (at your option) any later version.
  11. #ifndef _CELESTIA_WINBOOKMARKS_H_
  12. #define _CELESTIA_WINBOOKMARKS_H_
  13. #include <windows.h>
  14. #include <commctrl.h>
  15. #include "favorites.h"
  16. #include "celestiacore.h"
  17. #include "odmenu.h"
  18. void BuildFavoritesMenu(HMENU, CelestiaCore*, HINSTANCE, ODMenu*);
  19. HTREEITEM PopulateBookmarkFolders(HWND, CelestiaCore*, HINSTANCE);
  20. HTREEITEM PopulateBookmarksTree(HWND, CelestiaCore*, HINSTANCE);
  21. void AddNewBookmarkFolderInTree(HWND, CelestiaCore*, char*);
  22. void SyncTreeFoldersWithFavoriteFolders(HWND, CelestiaCore*);
  23. void InsertBookmarkInFavorites(HWND, char*, CelestiaCore*);
  24. void DeleteBookmarkFromFavorites(HWND, CelestiaCore*);
  25. void RenameBookmarkInFavorites(HWND, char*, CelestiaCore*);
  26. void MoveBookmarkInFavorites(HWND, CelestiaCore*);
  27. bool isOrganizeBookmarksDragDropActive();
  28. void OrganizeBookmarksOnBeginDrag(HWND, LPNMTREEVIEW);
  29. void OrganizeBookmarksOnMouseMove(HWND, LONG, LONG);
  30. void OrganizeBookmarksOnLButtonUp(HWND);
  31. void DragDropAutoScroll(HWND);
  32. //HTREEITEM GetTreeViewItemHandle(HWND, char*, HTREEITEM);
  33. #endif // _CELESTIA_WINBOOKMARKS_H_