CMakeSetupGUI.cxx 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. // generated by Fast Light User Interface Designer (fluid) version 1.0009
  2. #include "CMakeSetupGUI.h"
  3. inline void CMakeSetupGUI::cb_dialogWindow_i(Fl_Window*, void*) {
  4. recentSourceDirectoriesBrowser->hide();
  5. recentBinaryDirectoriesBrowser->hide();
  6. }
  7. void CMakeSetupGUI::cb_dialogWindow(Fl_Window* o, void* v) {
  8. ((CMakeSetupGUI*)(o->user_data()))->cb_dialogWindow_i(o,v);
  9. }
  10. inline void CMakeSetupGUI::cb_sourcePathTextInput_i(Fl_Input*, void*) {
  11. SetSourcePath( sourcePathTextInput->value() );
  12. }
  13. void CMakeSetupGUI::cb_sourcePathTextInput(Fl_Input* o, void* v) {
  14. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_sourcePathTextInput_i(o,v);
  15. }
  16. inline void CMakeSetupGUI::cb_Browse_i(Fl_Button*, void*) {
  17. BrowseForSourcePath();
  18. }
  19. void CMakeSetupGUI::cb_Browse(Fl_Button* o, void* v) {
  20. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_Browse_i(o,v);
  21. }
  22. inline void CMakeSetupGUI::cb_binaryPathTextInput_i(Fl_Input*, void*) {
  23. SetBinaryPath( binaryPathTextInput->value() );
  24. }
  25. void CMakeSetupGUI::cb_binaryPathTextInput(Fl_Input* o, void* v) {
  26. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_binaryPathTextInput_i(o,v);
  27. }
  28. inline void CMakeSetupGUI::cb_Browse1_i(Fl_Button*, void*) {
  29. BrowseForBinaryPath();
  30. }
  31. void CMakeSetupGUI::cb_Browse1(Fl_Button* o, void* v) {
  32. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_Browse1_i(o,v);
  33. }
  34. inline void CMakeSetupGUI::cb_m_CancelButton_i(Fl_Button*, void*) {
  35. ClickOnCancel();
  36. }
  37. void CMakeSetupGUI::cb_m_CancelButton(Fl_Button* o, void* v) {
  38. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_m_CancelButton_i(o,v);
  39. }
  40. inline void CMakeSetupGUI::cb_m_ConfigureButton_i(Fl_Button*, void*) {
  41. ClickOnConfigure();
  42. }
  43. void CMakeSetupGUI::cb_m_ConfigureButton(Fl_Button* o, void* v) {
  44. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_m_ConfigureButton_i(o,v);
  45. }
  46. inline void CMakeSetupGUI::cb_2_i(Fl_Button*, void*) {
  47. ShowRecentSourceDirectories();
  48. }
  49. void CMakeSetupGUI::cb_2(Fl_Button* o, void* v) {
  50. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_2_i(o,v);
  51. }
  52. inline void CMakeSetupGUI::cb_21_i(Fl_Button*, void*) {
  53. ShowRecentBinaryDirectories();
  54. }
  55. void CMakeSetupGUI::cb_21(Fl_Button* o, void* v) {
  56. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_21_i(o,v);
  57. }
  58. inline void CMakeSetupGUI::cb_recentSourceDirectoriesBrowser_i(Fl_Browser*, void*) {
  59. SelectOneRecentSourceDirectory();
  60. }
  61. void CMakeSetupGUI::cb_recentSourceDirectoriesBrowser(Fl_Browser* o, void* v) {
  62. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_recentSourceDirectoriesBrowser_i(o,v);
  63. }
  64. inline void CMakeSetupGUI::cb_recentBinaryDirectoriesBrowser_i(Fl_Browser*, void*) {
  65. SelectOneRecentBinaryDirectory();
  66. }
  67. void CMakeSetupGUI::cb_recentBinaryDirectoriesBrowser(Fl_Browser* o, void* v) {
  68. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_recentBinaryDirectoriesBrowser_i(o,v);
  69. }
  70. inline void CMakeSetupGUI::cb_m_OKButton_i(Fl_Button*, void*) {
  71. ClickOnOK();
  72. }
  73. void CMakeSetupGUI::cb_m_OKButton(Fl_Button* o, void* v) {
  74. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_m_OKButton_i(o,v);
  75. }
  76. CMakeSetupGUI::CMakeSetupGUI() {
  77. Fl_Window* w;
  78. { Fl_Window* o = dialogWindow = new Fl_Window(562, 373, "CMakeSetupDialog");
  79. w = o;
  80. o->callback((Fl_Callback*)cb_dialogWindow, (void*)(this));
  81. { Fl_Input* o = sourcePathTextInput = new Fl_Input(219, 15, 200, 20, "Where is the source code: ");
  82. o->labelsize(11);
  83. o->textsize(11);
  84. o->callback((Fl_Callback*)cb_sourcePathTextInput);
  85. o->when(FL_WHEN_ENTER_KEY);
  86. }
  87. { Fl_Button* o = new Fl_Button(453, 14, 65, 22, "Browse...");
  88. o->shortcut(0x80073);
  89. o->labelsize(11);
  90. o->callback((Fl_Callback*)cb_Browse);
  91. }
  92. { Fl_Input* o = binaryPathTextInput = new Fl_Input(219, 50, 200, 20, "Where do you want to build the binaries: ");
  93. o->labelsize(11);
  94. o->textsize(11);
  95. o->callback((Fl_Callback*)cb_binaryPathTextInput);
  96. o->when(FL_WHEN_ENTER_KEY);
  97. }
  98. { Fl_Button* o = new Fl_Button(453, 49, 65, 22, "Browse...");
  99. o->shortcut(0x80062);
  100. o->labelsize(11);
  101. o->callback((Fl_Callback*)cb_Browse1);
  102. }
  103. { Fl_Button* o = m_CancelButton = new Fl_Button(435, 331, 77, 23, "Quit");
  104. o->shortcut(0x80071);
  105. o->labelsize(11);
  106. o->callback((Fl_Callback*)cb_m_CancelButton);
  107. }
  108. { Fl_Button* o = m_ConfigureButton = new Fl_Button(50, 332, 120, 23, "Configure Only");
  109. o->shortcut(0x8006d);
  110. o->labelsize(11);
  111. o->callback((Fl_Callback*)cb_m_ConfigureButton);
  112. }
  113. { Fl_Group* o = new Fl_Group(25, 80, 515, 222);
  114. o->box(FL_ENGRAVED_BOX);
  115. o->labelsize(11);
  116. o->align(FL_ALIGN_CENTER);
  117. { Fl_Scroll* o = cacheValuesScroll = new Fl_Scroll(40, 98, 485, 190, "Cache Values");
  118. o->type(7);
  119. o->box(FL_DOWN_FRAME);
  120. o->labelsize(11);
  121. o->align(FL_ALIGN_TOP_LEFT);
  122. o->when(FL_WHEN_CHANGED);
  123. { Fl_Pack* o = propertyListPack = new Fl_Pack(40, 99, 485, 185);
  124. o->end();
  125. Fl_Group::current()->resizable(o);
  126. }
  127. o->end();
  128. Fl_Group::current()->resizable(o);
  129. }
  130. o->end();
  131. Fl_Group::current()->resizable(o);
  132. }
  133. { Fl_Box* o = new Fl_Box(160, 305, 275, 25, "Right click on cache entries for additional options");
  134. o->labelsize(11);
  135. }
  136. { Fl_Button* o = new Fl_Button(420, 15, 22, 21, "@#2>");
  137. o->labeltype(FL_SYMBOL_LABEL);
  138. o->callback((Fl_Callback*)cb_2);
  139. }
  140. { Fl_Button* o = new Fl_Button(420, 50, 22, 21, "@#2>");
  141. o->labeltype(FL_SYMBOL_LABEL);
  142. o->callback((Fl_Callback*)cb_21);
  143. }
  144. { Fl_Browser* o = recentSourceDirectoriesBrowser = new Fl_Browser(15, 35, 535, 115);
  145. o->type(2);
  146. o->box(FL_BORDER_BOX);
  147. o->callback((Fl_Callback*)cb_recentSourceDirectoriesBrowser);
  148. o->hide();
  149. }
  150. { Fl_Browser* o = recentBinaryDirectoriesBrowser = new Fl_Browser(15, 70, 535, 115);
  151. o->type(2);
  152. o->box(FL_BORDER_BOX);
  153. o->callback((Fl_Callback*)cb_recentBinaryDirectoriesBrowser);
  154. o->hide();
  155. }
  156. { Fl_Button* o = m_OKButton = new Fl_Button(210, 332, 190, 23, "Configure and Generate Makefiles");
  157. o->shortcut(0x8006d);
  158. o->labelsize(11);
  159. o->callback((Fl_Callback*)cb_m_OKButton);
  160. }
  161. o->end();
  162. }
  163. }
  164. CMakeSetupGUI::~CMakeSetupGUI() {
  165. }
  166. void CMakeSetupGUI::Close(void) {
  167. }
  168. void CMakeSetupGUI::BrowseForSourcePath(void) {
  169. }
  170. void CMakeSetupGUI::BrowseForBinaryPath(void) {
  171. }
  172. void CMakeSetupGUI::Show(void) {
  173. }
  174. bool CMakeSetupGUI::SetBinaryPath(const char *) {
  175. }
  176. bool CMakeSetupGUI::SetSourcePath(const char *) {
  177. }
  178. void CMakeSetupGUI::ShowRecentBinaryDirectories(void) {
  179. }
  180. void CMakeSetupGUI::ShowRecentSourceDirectories(void) {
  181. }
  182. void CMakeSetupGUI::SelectOneRecentBinaryDirectory(void) {
  183. }
  184. void CMakeSetupGUI::SelectOneRecentSourceDirectory(void) {
  185. }
  186. void CMakeSetupGUI::ClickOnConfigure(void) {
  187. }
  188. void CMakeSetupGUI::ClickOnOK(void) {
  189. }
  190. void CMakeSetupGUI::ClickOnCancel(void) {
  191. }