aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/extantz/extantz.c108
1 files changed, 86 insertions, 22 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c
index ed92753..bb67e62 100644
--- a/src/extantz/extantz.c
+++ b/src/extantz/extantz.c
@@ -649,31 +649,95 @@ EAPI_MAIN int elm_main(int argc, char **argv)
649 evas_object_event_callback_add(ourGlobals.win, EVAS_CALLBACK_RESIZE, _on_resize, &ourGlobals); 649 evas_object_event_callback_add(ourGlobals.win, EVAS_CALLBACK_RESIZE, _on_resize, &ourGlobals);
650 650
651 651
652 /* Our "layers". TODO - This is out of date, I should update it. 652 /* Our various layers and such.
653
654 ELM_WIN_SPLASH Only opened very quickly at the start, to see what the screen size is.
655 Should never actually see this.
656
657 winFang main window
658 ELM_WIN_BASIC
659 ELM_LAYOUT_CLASS WF_LAYOUT
660 winFang.edc
661 IMAGE background - semi transparent dark purple image.
662? SWALLOW underlay
663 SWALLOW title
664 Details change if it's internal.
665 BOX box
666 Details change if it's internal.
667? SWALLOW content
668? ELM_GRID_CLASS WF_SWALLOW
669
670? ELM_BG_CLASS Sky background image.
671
672 Extra stuff added here by init_evas_gl() if we are doing gears or Irrlicht.
673? Elm glview Irrlicht / gears target GLView.
674 Also, doFrame animator added here.
675
676 Ephysics objects
677
678 GUI timer added, Elm loop run.
679 Purkle
680 Lua started up.
681 require skang by default
682 LSLGuiMess
683 Lua started up.
684 require skang by default
685 require skang
686? require purkle
687 files.c
688 winFang A normally hidden window with a file requestor, and other Elm widgets.
689 scenriAdd()
690 3D scene and node stuff
691 ELM_IMAGE_CLASS Evas_3D render target.
692 Attached to the main window, not it's layout.
693 Also used to catch mouse moves and clicks.
694? Actually, it's internal EVAS_IMAGE_CLASS is used for that.
695 Lua started up.
696 require skang by default
697 require scenriLua
698 require skang
699 Ecore idler added to handle scene loading.
700 woMan
701 winFang World manager internal window, with it's own menu and toolbar stuff.
702 Uses the same menu code as the main menus below.
703 But with added pager stuff.
704 love
705 main menus
706 makeMainMenu()
707 ELM_TOOLBAR_CLASS Holder toolbar.
708 menuAdd()
709? various calls to various object creation functions, TODO - which maybe I can replace with EO stuff?
710 elm_toolbar_item_append()
711 elm_menu_item_add()
712 makeMainMenuFinish()
713? elm_layout_box_append(win->win, WF_BOX, tb);
714
715
716
717 Internal windows are -
718
719 winFang internal window
720 Built on the parent window.
721 ELM_LAYOUT_CLASS WF_LAYOUT
722 This layout becomes our window object.
723 winFang.edc
724 IMAGE background - semi transparent dark purple image.
725 SWALLOW underlay
726 SWALLOW title
727 Details change if it's internal.
728 BOX box
729 Details change if it's internal.
730 SWALLOW content
731 "isInternal" signal sent.
732 EVAS_RECTANGLE_CLASS Invisible click catcher, for moving windows.
733 WF_UNDERLAY
734 EVAS_IMAGE_CLASS Corner "handles" x 4.
735 ELM_LABEL_CLASS Window title.
736 ELM_GRID_CLASS WF_SWALLOW
653 737
654 Elm win - our real main window
655 These have some sort of inlined image if they are internal.
656 Elm image - purple shaded sky image
657 Elm box - so everyone gets a freebie
658
659 Elm glview - added by init_evas_gl() if this is Irrlicht
660
661 Elm image - added by Evas_3D_Demo_add() -> scenriAdd()
662 Evas image is extracted to pass to Evas_3d functions,
663 to catch hovers and clicks
664 and to catch input for the camera
665
666// Elm win - added by overlay_add()
667// Evas rectangle added, a fully transparent one to catch clicks
668// added to evas_object_evas_get(gld->winwin)
669
670 The various internal windows.
671
672 Elm toolbar
673
674 Ephysics objects
675 */ 738 */
676 739
740
677 // Create the background image 741 // Create the background image
678#if 1 742#if 1
679 snprintf(buf, sizeof(buf), "%s/sky_03.jpg", prefix_data_get()); 743 snprintf(buf, sizeof(buf), "%s/sky_03.jpg", prefix_data_get());